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)
commit9fdedec489d0fd6e6746b48a1c874cb11d436501
treec880884017c737fb522726285839b7c1badff35a
parentbf4f9ebb9f40857b6afe783f51d6c68a67c90ff6
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.

llvm-svn: 188585
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGenCXX/debug-info-namespace.cpp