Emit DW_AT_object_pointer once, on the declaration, for each function.
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfDebug.h
index d7359a3105ee01de921848973d4e0ed567802d1a..16a314bdb328369c0354cfa554ed5647de849c2c 100644 (file)
@@ -371,7 +371,7 @@ class DwarfDebug : public AsmPrinterHandler {
   std::unique_ptr<DIE> constructScopeDIE(DwarfCompileUnit &TheCU,
                                          LexicalScope *Scope);
   void createAndAddScopeChildren(DwarfCompileUnit &TheCU, LexicalScope *Scope,
-                                 DIE &ScopeDIE);
+                                 DISubprogram Sub, DIE &ScopeDIE);
   /// \brief Construct a DIE for this abstract scope.
   void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
                                            LexicalScope *Scope);