X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FCodeGen%2FAsmPrinter%2FDwarfCompileUnit.h;h=74c946036c4fcf9da50c8d13d30fc94be05388da;hp=04748baf7220ef57401a0200a5c2667446cb2d52;hb=54a86b37ddf5425deb7fadde898437df9c6c770b;hpb=0c3d37644ac2764b346cf952806d994c079cac3a diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 04748baf722..74c946036c4 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -121,9 +121,15 @@ public: DIE *createAndAddScopeChildren(LexicalScope *Scope, DIE &ScopeDIE); - DIE &constructAbstractSubprogramScopeDIE(LexicalScope *Scope); + void constructAbstractSubprogramScopeDIE(LexicalScope *Scope); + + /// \brief Construct import_module DIE. + std::unique_ptr + constructImportedEntityDIE(const DIImportedEntity &Module); void finishSubprogramDefinition(DISubprogram SP); + + void collectDeadVariables(DISubprogram SP); }; } // end llvm namespace