X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FCodeGen%2FAsmPrinter%2FDwarfCompileUnit.h;fp=lib%2FCodeGen%2FAsmPrinter%2FDwarfCompileUnit.h;h=509c9432bcbf93da33b0f6d4f5b234a94455e16f;hp=132b06885a3551fef96183a9d98fdbb760e7268c;hb=b99e0eb94753b079022a0a125eb09745f90446df;hpb=89ec7f006983ef09854bfc71af8de1efec085c6c diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 132b06885a3..509c9432bcb 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/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.