Lines Matching full:die

50 /// instance of the object file or its brand new cloned and generated DIE tree.
126 /// Navigate DWARF tree and set die properties.
154 /// Kinds of placement for the output die.
158 /// Corresponding DIE goes to the type table only.
161 /// Corresponding DIE goes to the plain dwarf only.
164 /// Corresponding DIE goes to type table and to plain dwarf.
180 /// \returns Placement kind for the corresponding die.
185 /// Sets Placement kind for the corresponding die.
193 /// Unsets Placement kind for the corresponding die.
200 /// Sets Placement kind for the corresponding die.
223 /// DIE is a part of the linked output.
226 /// DIE has children which are part of the linked output.
229 /// DIE has children which are part of the type table.
232 /// DIE is in module scope.
235 /// DIE is in function scope.
238 /// DIE is in anonymous namespace scope.
241 /// DIE is available for ODR type deduplication.
244 /// Track liveness for the DIE.
247 /// Track liveness for the DIE.
277 /// \defgroup Group of functions returning DIE info.
281 /// \p Idx index of the DIE.
285 /// \p Idx index of the DIE.
289 /// \p Idx index of the DIE.
295 /// \p Idx index of the DIE.
301 /// \p Die
303 DIEInfo &getDIEInfo(const DWARFDie &Die) { in getDIEInfo() argument
304 return DieInfoArray[getOrigUnit().getDIEIndex(Die)]; in getDIEInfo()
307 /// \p Die
309 const DIEInfo &getDIEInfo(const DWARFDie &Die) const { in getDIEInfo() argument
310 return DieInfoArray[getOrigUnit().getDIEIndex(Die)]; in getDIEInfo()
313 /// \p Idx index of the DIE.
320 /// \p Idx index of the DIE.
343 /// \p Idx index of the DIE.
350 /// \p Idx index of the DIE.
381 /// Resolve the DIE attribute reference that has been extracted in \p
382 /// RefValue. The resulting DIE might be in another CompileUnit.
383 /// \returns referenced die and corresponding compilation unit.
417 // Clone input DIE entry.
418 std::pair<DIE *, TypeEntry *>
459 getFirstChildEntry(const DWARFDebugInfoEntry *Die) const { in getFirstChildEntry() argument
461 return OrigUnit->getFirstChildEntry(Die); in getFirstChildEntry()
465 getSiblingEntry(const DWARFDebugInfoEntry *Die) const { in getSiblingEntry() argument
467 return OrigUnit->getSiblingEntry(Die); in getSiblingEntry()
470 DWARFDie getParent(const DWARFDebugInfoEntry *Die) { in getParent() argument
472 return OrigUnit->getParent(Die); in getParent()
490 DWARFDie getDIE(const DWARFDebugInfoEntry *Die) { in getDIE() argument
492 return DWARFDie(OrigUnit, Die); in getDIE()
495 uint32_t getDIEIndex(const DWARFDebugInfoEntry *Die) const { in getDIEIndex() argument
497 return OrigUnit->getDIEIndex(Die); in getDIEIndex()
500 uint32_t getDIEIndex(const DWARFDie &Die) const { in getDIEIndex() argument
502 return OrigUnit->getDIEIndex(Die); in getDIEIndex()
511 std::optional<DWARFFormValue> find(const DWARFDebugInfoEntry *Die, in find() argument
513 if (!Die) in find()
515 auto AbbrevDecl = Die->getAbbreviationDeclarationPtr(); in find()
518 if (auto Value = AbbrevDecl->getAttributeValue(Die->getOffset(), Attr, in find()
536 void warn(const Twine &Warning, const DWARFDie *DIE = nullptr) {
537 GlobalData.warn(Warning, getUnitName(), DIE);
540 void warn(Error Warning, const DWARFDie *DIE = nullptr) {
542 GlobalData.warn(Info.message(), getUnitName(), DIE);
548 DWARFDie DIE(&getOrigUnit(), DieEntry); in warn()
549 GlobalData.warn(Warning, getUnitName(), &DIE); in warn()
556 void error(const Twine &Err, const DWARFDie *DIE = nullptr) {
557 GlobalData.warn(Err, getUnitName(), DIE);
560 void error(Error Err, const DWARFDie *DIE = nullptr) {
562 GlobalData.error(Info.message(), getUnitName(), DIE);
603 /// Navigate DWARF tree recursively and set die properties.
651 /// Creates DIE which would be placed into the "Plain" compile unit.
652 DIE *createPlainDIEandCloneAttributes(
657 /// Creates DIE which would be placed into the "Type" compile unit.
662 /// Create output DIE inside specified \p TypeDescriptor.
663 DIE *allocateTypeDie(TypeEntryBody *TypeDescriptor,
719 /// DIE info indexed by DIE index.