aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/debug-lambda-this.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-10-20DebugInfo: pass alignment value only if it was forcedVictor Leschuk1-2/+2
Preparation to implement DW_AT_alignment support: - We pass non-zero align value to DIBuilder only when alignment was forced - Modify tests to match this change Differential Revision: https://reviews.llvm.org/D24426 llvm-svn: 284679
2016-04-23DebugInfo: Adapt to loss of DITypeRef in LLVM r267296Duncan P. N. Exon Smith1-1/+2
LLVM stopped using MDString-based type references, and DIBuilder no longer fills 'retainedTypes:' with every DICompositeType that has an 'identifier:' field. There are just minor changes to keep the same behaviour in CFE. Leaving 'retainedTypes:' unfilled has a dramatic impact on the output order of the IR though. There are a huge number of testcase changes, which were unfortunately not really scriptable. llvm-svn: 267297
2016-04-15Update to match LLVM changes for PR27284.Adrian Prantl1-2/+2
(Reverse the ownership between DICompileUnit and DISubprogram.) http://reviews.llvm.org/D19034 <rdar://problem/25256815> llvm-svn: 266445
2015-10-08Stop messing with the 'g' group of options in CompilerInvocation.Douglas Katzman1-1/+1
With this change, most 'g' options are rejected by CompilerInvocation. They remain only as Driver options. The new way to request debug info from cc1 is with "-debug-info-kind={line-tables-only|limited|standalone}" and "-dwarf-version={2|3|4}". In the absence of a command-line option to specify Dwarf version, the Toolchain decides it, rather than placing Toolchain-specific logic in CompilerInvocation. Also fix a bug in the Windows compatibility argument parsing in which the "rightmost argument wins" principle failed. Differential Revision: http://reviews.llvm.org/D13221 llvm-svn: 249655
2015-04-29DebugInfo: Metadata constructs now start with DI*Duncan P. N. Exon Smith1-2/+2
LLVM r236120 renamed debug info IR constructs to use a `DI` prefix, now that the `DIDescriptor` hierarchy has been gone for about a week. This commit was generated using the rename-md-di-nodes.sh upgrade script attached to PR23080, followed by running clang-format-diff.py on the `lib/` portion of the patch. llvm-svn: 236121
2015-03-03DebugInfo: Move new hierarchy into place (clang)Duncan P. N. Exon Smith1-1/+7
Update testcases for LLVM change in r231082 to use the new debug info hierarchy. llvm-svn: 231083
2014-08-29Debug info: Only emit C++ accessibility specifiers when they are divergingAdrian Prantl1-1/+1
from the default for the containing type. rdar://problem/18154959 llvm-svn: 216800
2013-03-19Simplify/generalize some debug info test casesDavid Blaikie1-1/+1
Mostly, try to depend on the annotation comments more so these tests are more legible, brief, and agnostic to schema changes in the future (sure, they're not agnostic to changes to the comment annotations but since they're easier to read they should be easier to update if that happens). llvm-svn: 177457
2013-02-02Generalize DebugInfo tests by avoiding explicit metadata numbersDavid Blaikie1-1/+1
This addresses several (not all) debug info tests that use explicit metadata numbers. Wherever the same number appeared more than once in a test I used a named match to ensure the same number appeared in all those cases (this may still be overly constraining test cases as they may not have actually cared about that relationship). For one-off numbers I just replaced them with an unnamed regex. This may underconstrain poorly written test cases that were interested in checking that certain metadata nodes were related but didn't actually match on all the related nodes numbers. llvm-svn: 174247
2012-09-19Handle a captured this for the debug information as well.Eric Christopher1-0/+15
llvm-svn: 164253