projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sink DwarfDebug::createScopeChildrenDIE down into DwarfCompileUnit.
[oota-llvm.git]
/
lib
/
CodeGen
/
AsmPrinter
/
DwarfCompileUnit.h
diff --git
a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index 9ad503cb8823f6ed2f600d32b4b2c8094362804f..b9a8a5ee1c02d3b889d7defe50090dc613b910c4 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@
-110,6
+110,11
@@
public:
std::unique_ptr<DIE> constructVariableDIE(DbgVariable &DV,
const LexicalScope &Scope,
DIE *&ObjectPointer);
std::unique_ptr<DIE> constructVariableDIE(DbgVariable &DV,
const LexicalScope &Scope,
DIE *&ObjectPointer);
+
+ /// A helper function to create children of a Scope DIE.
+ DIE *createScopeChildrenDIE(LexicalScope *Scope,
+ SmallVectorImpl<std::unique_ptr<DIE>> &Children,
+ unsigned *ChildScopeCount = nullptr);
};
} // end llvm namespace
};
} // end llvm namespace