DebugInfo: Emit function definitions within their namespace scope.
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 20 May 2014 03:23:24 +0000 (03:23 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 20 May 2014 03:23:24 +0000 (03:23 +0000)
commit956583e98e57bea245137a7833a4b329edd897cf
tree1110a0d5a762be3ffbcdf00fed484f7f20229e0d
parent53d560e8eb3877d6214dd97f0f1ee07b56730398
DebugInfo: Emit function definitions within their namespace scope.

This workaround (presumably for ancient GDB) doesn't appear to be
required (GDB 7.5 seems to tolerate function definition DIEs in
namespace scope just fine).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209189 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/namespace_function_definition.ll [new file with mode: 0644]