]> granicus.if.org Git - clang/commit
DebugInfo: handle the DI asm printing change to reword '[fwd]' as '[decl]' and add...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 21 Jun 2013 03:41:46 +0000 (03:41 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 21 Jun 2013 03:41:46 +0000 (03:41 +0000)
commit09a5604a1078d29123b76702256c7cb38151466b
treecb8a3c991e61c6484c5fe6d286fdc3d022e62add
parent8a52dce457673cfa90fff5749dc3b797404857f2
DebugInfo: handle the DI asm printing change to reword '[fwd]' as '[decl]' and add '[def]' for non-decl tag types

This is to make test cases looking for definitions more legible by
making the definition explicit rather than just the absence of '[fwd]'.
This allowed the debug-info-record tests to be rephrased - and in the
interests of reducing the number of individual test cases/invocations we
have, I merged them into one file, separated them with namespaces (&
then moved them to C++ because namespaces are great). If they need to
remain 'C' only tests, they can be moved back. (I didn't group them with
'debug-info-class.cpp' because these tests only apply to
-fno-limit-debug-info)

I removed the pieces of code that would cause these tests to pass under
-flimit-debug-info to ensure the tests remain relevant to their fixes
should we ever improve -flimit-debug-info to catch that kind of code.

This commit is version locked with the corresponding change to
DebugInfo.h in LLVM. Except some transient buildbot fallout.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184524 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/debug-info-record.c [deleted file]
test/CodeGen/debug-info-record2.c [deleted file]
test/CodeGenCXX/debug-info-class-nolimit.cpp [new file with mode: 0644]
test/CodeGenCXX/debug-info-enum-class.cpp
test/CodeGenCXX/debug-info-namespace.cpp
test/CodeGenCXX/debug-info-template-quals.cpp
test/CodeGenCXX/debug-info.cpp
test/CodeGenObjC/debug-info-fwddecl.m