diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-05-27 18:37:38 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-05-27 18:37:38 +0000 |
commit | 7f91686f07df6adfe101b8835d01aa8e32128c6c (patch) | |
tree | af530bf4638128c1fd99978ede92d1873bf6840b /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | |
parent | 0c1c3113e80a30ac86a0d061e8e5fb860e5b0aff (diff) | |
download | bcm5719-llvm-7f91686f07df6adfe101b8835d01aa8e32128c6c.tar.gz bcm5719-llvm-7f91686f07df6adfe101b8835d01aa8e32128c6c.zip |
DebugInfo: Separate out the addition of subprogram attribute additions so that they can be added later depending on whether or not the function is inlined.
llvm-svn: 209673
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h index e44f256c3a3..7025b712f0e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h @@ -401,6 +401,8 @@ public: /// getOrCreateSubprogramDIE - Create new DIE using SP. DIE *getOrCreateSubprogramDIE(DISubprogram SP); + void applySubprogramAttributes(DISubprogram SP, DIE &SPDie); + /// getOrCreateTypeDIE - Find existing DIE or create new DIE for the /// given DIType. DIE *getOrCreateTypeDIE(const MDNode *N); |