diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-06-06 22:29:05 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-06-06 22:29:05 +0000 |
commit | 3dca59902bfb0a6160bde894401716e4ecc13f38 (patch) | |
tree | 84a2290c197a1b74e2f0da759bc0996bad090afd /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | |
parent | 553eb4a8804314f09990b409c9408de3ab40ae48 (diff) | |
download | bcm5719-llvm-3dca59902bfb0a6160bde894401716e4ecc13f38.tar.gz bcm5719-llvm-3dca59902bfb0a6160bde894401716e4ecc13f38.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index acb75283530..71034442b20 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -400,6 +400,7 @@ public: DIE *getOrCreateSubprogramDIE(DISubprogram SP); void applySubprogramAttributes(DISubprogram SP, DIE &SPDie); + void applySubprogramAttributesToDefinition(DISubprogram SP, DIE &SPDie); /// getOrCreateTypeDIE - Find existing DIE or create new DIE for the /// given DIType. |