summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-07-01 18:07:16 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-07-01 18:07:16 +0000
commitd51dea67b3b75e96c0362eb6c559cded341c0f4d (patch)
tree905c8fd4b16e947a04a56fe04e0dd1174d6ac100 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parent910d5daa4bc5eebe7056391a0571499732d4b7b5 (diff)
downloadbcm5719-llvm-d51dea67b3b75e96c0362eb6c559cded341c0f4d.tar.gz
bcm5719-llvm-d51dea67b3b75e96c0362eb6c559cded341c0f4d.zip
Revert "[DWARF] Fix debug info generation for function static variables, typedefs, and records"
Caused PR24008 This reverts commit 37cb5f1c2db9f42d29f26b215585f56bb64ae4f5. llvm-svn: 241176
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index 132b06885a3..509c9432bcb 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@ -77,11 +77,8 @@ public:
/// Apply the DW_AT_stmt_list from this compile unit to the specified DIE.
void applyStmtList(DIE &D);
- /// Get or create global variable DIE.
- /// \param GV Global Variable Node
- /// \param ContextDIE DIE scope for GV Node, if available.
- DIE *getOrCreateGlobalVariableDIE(const DIGlobalVariable *GV,
- DIE *ContextDIE = nullptr);
+ /// getOrCreateGlobalVariableDIE - get or create global variable DIE.
+ DIE *getOrCreateGlobalVariableDIE(const DIGlobalVariable *GV);
/// addLabelAddress - Add a dwarf label attribute data and value using
/// either DW_FORM_addr or DW_FORM_GNU_addr_index.
OpenPOWER on IntegriCloud