aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/debug-info-function-context.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-04-23DebugInfo: Adapt to loss of DITypeRef in LLVM r267296Duncan P. N. Exon Smith1-2/+3
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-6/+6
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-6/+6
Update testcases for LLVM change in r231082 to use the new debug info hierarchy. llvm-svn: 231083
2014-12-15IR: Make metadata typeless in assembly, clang sideDuncan P. N. Exon Smith1-4/+4
Match LLVM changes from r224257. llvm-svn: 224259
2014-10-03Revert "Revert "DI: LLVM schema change: fold constants into string""Duncan P. N. Exon Smith1-4/+4
This reverts commit r218917, effectively reapplying r218913. Original commit message follows. -- Update debug info testcases for an LLVM metadata schema change to fold metadata constant operands into a single `MDString`. Part of PR17891. llvm-svn: 219011
2014-10-02Revert "DI: LLVM schema change: fold constants into string"Duncan P. N. Exon Smith1-4/+4
This reverts commit r218913 while I investigate some bots. llvm-svn: 218917
2014-10-02DI: LLVM schema change: fold constants into stringDuncan P. N. Exon Smith1-4/+4
Update debug info testcases for an LLVM metadata schema change to fold metadata constant operands into a single `MDString`. Part of PR17891. llvm-svn: 218913
2014-05-07Fixing tests to account for LLVM r208159.David Blaikie1-4/+4
llvm-svn: 208160
2014-03-27Revert "Just call getContextDescriptor to get the context for subprograms"Eric Christopher1-4/+6
while I investigate as it seems to be causing issues with the gdb bot. This reverts commit r204874. llvm-svn: 204896
2014-03-26Just call getContextDescriptor to get the context for subprogramsEric Christopher1-6/+4
instead of rolling an inefficient version of the function. This changes some order of emission of metadata nodes, fix up those testcases and make them more flexible to some changes. llvm-svn: 204874
2013-10-17Add the context that a function was created in as the context for theEric Christopher1-0/+36
function, not the context of the context. llvm-svn: 192862