DebugInfo: Use the scope of the function declaration, if any, to name a function...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 6 Jun 2014 22:29:05 +0000 (22:29 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 6 Jun 2014 22:29:05 +0000 (22:29 +0000)
commit3dca59902bfb0a6160bde894401716e4ecc13f38
tree84a2290c197a1b74e2f0da759bc0996bad090afd
parent553eb4a8804314f09990b409c9408de3ab40ae48
DebugInfo: Use the scope of the function declaration, if any, to name a function in DWARF pubnames

This ensures that member functions, for example, are entered into
pubnames with their fully qualified name, rather than inside the global
namespace.

llvm-svn: 210379
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
llvm/test/DebugInfo/X86/dwarf-public-names.ll
llvm/test/DebugInfo/dwarf-public-names.ll