]> granicus.if.org Git - clang/commit
DebugInfo: Canonicalize namespaces to avoid emitting multiple namespaces with the...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 16 Aug 2013 22:52:07 +0000 (22:52 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 16 Aug 2013 22:52:07 +0000 (22:52 +0000)
commit8863e6baaa760c2a0f4541fc6c0ca7993979a4b3
tree875582418fdfc664036706a0cf86a84d6f172ef5
parenta1da6b24327b2c311f3e4689d45427c11fc73398
DebugInfo: Canonicalize namespaces to avoid emitting multiple namespaces with the same name but different lines

Updated test case to not rely on line numbers in more cases (it's hard
to use the @ check syntax for debug info test cases (due to the
interesting ordering of metadata) and this case in particular (given the
hash-line directive)) - left a few in there to cover the line number
information for these.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188585 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/CodeGenCXX/debug-info-namespace.cpp