Searched refs:Die (Results 1 - 25 of 99) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h105 virtual void addGlobalName(StringRef Name, const DIE &Die,
109 virtual void addGlobalType(const DIType *Ty, const DIE &Die,
132 void addFlag(DIE &Die, dwarf::Attribute Attribute);
135 void addUInt(DIEValueList &Die, dwarf::Attribute Attribute,
141 void addSInt(DIEValueList &Die, dwarf::Attribute Attribute,
144 void addSInt(DIELoc &Die, Optional<dwarf::Form> Form, int64_t Integer);
152 void addString(DIE &Die, dwarf::Attribute Attribute, StringRef Str);
155 DIEValueList::value_iterator addLabel(DIEValueList &Die,
160 void addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label);
163 void addSectionOffset(DIE &Die, dwar
[all...]
H A DDIEHash.h37 uint64_t computeCUSignature(StringRef DWOName, const DIE &Die);
40 uint64_t computeTypeSignature(const DIE &Die);
47 /// Adds the attributes of \param Die to the hash.
48 void addAttributes(const DIE &Die);
51 void computeHash(const DIE &Die);
68 /// Collects the attributes of DIE \param Die into the \param Attrs
70 void collectAttributes(const DIE &Die, DIEAttrs &Attrs);
99 void hashNestedType(const DIE &Die, StringRef Name);
H A DDIEHash.cpp30 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) { argument
33 for (const auto &V : Die.values())
98 const DIE &Die = **I; local
104 addULEB128(Die.getTag());
107 StringRef Name = getDIEStringAttr(Die, dwarf::DW_AT_name);
115 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) { argument
117 for (const auto &V : Die.values()) {
329 // Add all of the attributes for \param Die to the hash.
330 void DIEHash::addAttributes(const DIE &Die) { argument
332 collectAttributes(Die, Attr
336 hashNestedType(const DIE &Die, StringRef Name) argument
351 computeHash(const DIE &Die) argument
382 computeCUSignature(StringRef DWOName, const DIE &Die) argument
405 computeTypeSignature(const DIE &Die) argument
[all...]
H A DAsmPrinterDwarf.cpp256 void AsmPrinter::emitDwarfDIE(const DIE &Die) const {
259 OutStreamer->AddComment("Abbrev [" + Twine(Die.getAbbrevNumber()) + "] 0x" +
260 Twine::utohexstr(Die.getOffset()) + ":0x" +
261 Twine::utohexstr(Die.getSize()) + " " +
262 dwarf::TagString(Die.getTag()));
263 emitULEB128(Die.getAbbrevNumber());
266 for (const auto &V : Die.values()) {
282 if (Die.hasChildren()) {
283 for (auto &Child : Die.children())
H A DDwarfCompileUnit.h140 DIE *Die = nullptr; member in struct:llvm::final::BaseTypeRef
158 void addLabelAddress(DIE &Die, dwarf::Attribute Attribute,
163 void addLocalLabelAddress(DIE &Die, dwarf::Attribute Attribute,
309 void addGlobalName(StringRef Name, const DIE &Die,
316 void addGlobalType(const DIType *Ty, const DIE &Die,
327 void addVariableAddress(const DbgVariable &DV, DIE &Die,
330 void addAddress(DIE &Die, dwarf::Attribute Attribute,
337 void addComplexAddress(const DbgVariable &DV, DIE &Die,
342 void addLocationList(DIE &Die, dwarf::Attribute Attribute, unsigned Index);
346 void addExpr(DIELoc &Die, dwar
[all...]
H A DDwarfUnit.cpp222 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) { argument
224 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag_present,
227 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag,
231 void DwarfUnit::addUInt(DIEValueList &Die, dwarf::Attribute Attribute, argument
237 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer));
245 void DwarfUnit::addSInt(DIEValueList &Die, dwarf::Attribute Attribute, argument
249 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer));
252 void DwarfUnit::addSInt(DIELoc &Die, Optional<dwarf::Form> Form, argument
254 addSInt(Die, (dwarf::Attribute)0, Form, Integer);
257 void DwarfUnit::addString(DIE &Die, dwar argument
291 addLabel(DIEValueList &Die, dwarf::Attribute Attribute, dwarf::Form Form, const MCSymbol *Label) argument
298 addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label) argument
302 addSectionOffset(DIE &Die, dwarf::Attribute Attribute, uint64_t Integer) argument
341 addOpAddress(DIELoc &Die, const MCSymbol *Sym) argument
359 addLabelDelta(DIE &Die, dwarf::Attribute Attribute, const MCSymbol *Hi, const MCSymbol *Lo) argument
365 addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIE &Entry) argument
369 addDIETypeSignature(DIE &Die, uint64_t Signature) argument
380 addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIEEntry Entry) argument
395 DIE &Die = Parent.addChild(DIE::get(DIEValueAllocator, (dwarf::Tag)Tag)); local
401 addBlock(DIE &Die, dwarf::Attribute Attribute, DIELoc *Loc) argument
408 addBlock(DIE &Die, dwarf::Attribute Attribute, DIEBlock *Block) argument
415 addSourceLine(DIE &Die, unsigned Line, const DIFile *File) argument
424 addSourceLine(DIE &Die, const DILocalVariable *V) argument
430 addSourceLine(DIE &Die, const DIGlobalVariable *G) argument
436 addSourceLine(DIE &Die, const DISubprogram *SP) argument
442 addSourceLine(DIE &Die, const DILabel *L) argument
448 addSourceLine(DIE &Die, const DIType *Ty) argument
454 addSourceLine(DIE &Die, const DIObjCProperty *Ty) argument
509 addConstantFPValue(DIE &Die, const MachineOperand &MO) argument
531 addConstantFPValue(DIE &Die, const ConstantFP *CFP) argument
536 addConstantValue(DIE &Die, const ConstantInt *CI, const DIType *Ty) argument
541 addConstantValue(DIE &Die, const MachineOperand &MO, const DIType *Ty) argument
548 addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty) argument
552 addConstantValue(DIE &Die, bool Unsigned, uint64_t Val) argument
559 addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) argument
563 addConstantValue(DIE &Die, const APInt &Val, bool Unsigned) argument
592 addLinkageName(DIE &Die, StringRef LinkageName) argument
611 addThrownTypes(DIE &Die, DINodeArray ThrownTypes) argument
1721 addSectionDelta(DIE &Die, dwarf::Attribute Attribute, const MCSymbol *Hi, const MCSymbol *Lo) argument
1730 addSectionLabel(DIE &Die, dwarf::Attribute Attribute, const MCSymbol *Label, const MCSymbol *Sec) argument
1746 addGlobalName(StringRef Name, const DIE &Die, const DIScope *Context) argument
1751 addGlobalType(const DIType *Ty, const DIE &Die, const DIScope *Context) argument
[all...]
H A DDwarfDebug.h457 StringRef Name, const DIE &Die);
537 void initSkeletonUnit(const DwarfUnit &U, DIE &Die,
643 DIE &Die, const DICompositeType *CTy);
745 DIE &Die);
749 void addAccelName(const DICompileUnit &CU, StringRef Name, const DIE &Die);
751 void addAccelObjC(const DICompileUnit &CU, StringRef Name, const DIE &Die);
754 const DIE &Die);
756 void addAccelType(const DICompileUnit &CU, StringRef Name, const DIE &Die,
766 DwarfCompileUnit *lookupCU(const DIE *Die) { return CUDieMap.lookup(Die); } argument
[all...]
H A DDwarfFile.h113 unsigned computeSizeAndOffset(DIE &Die, unsigned Offset);
172 void insertDIE(const MDNode *TypeMD, DIE *Die) { argument
173 DITypeNodeToDieMap.insert(std::make_pair(TypeMD, Die));
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDie.h45 const DWARFDebugInfoEntry *Die = nullptr; member in class:llvm::DWARFDie
49 DWARFDie(DWARFUnit *Unit, const DWARFDebugInfoEntry *D) : U(Unit), Die(D) {}
51 bool isValid() const { return U && Die; }
53 const DWARFDebugInfoEntry *getDebugInfoEntry() const { return Die; }
61 return Die->getAbbreviationDeclarationPtr();
69 return Die->getOffset();
81 return Die->hasChildren();
303 DWARFDie Die; member in class:llvm::DWARFDie::attribute_iterator
306 /// The attribute index within the abbreviation declaration in Die.
355 DWARFDie Die; member in class:llvm::DWARFDie::iterator
414 llvm::DWARFDie Die; member in class:std::reverse_iterator
[all...]
H A DDWARFVerifier.h40 DWARFDie Die; member in struct:llvm::DWARFVerifier::DieRangeInfo
49 DieRangeInfo(DWARFDie Die) : Die(Die) {} argument
109 raw_ostream &dump(const DWARFDie &Die, unsigned indent = 0) const;
178 unsigned verifyDebugInfoCallSite(const DWARFDie &Die);
180 /// Verify that all Die ranges are valid.
186 unsigned verifyDieRanges(const DWARFDie &Die, DieRangeInfo &ParentRI);
194 /// \param Die The DWARF DIE that owns the attribute value
199 unsigned verifyDebugInfoAttribute(const DWARFDie &Die,
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_report.cpp51 Die();
63 Die();
73 Die();
83 Die();
101 Die();
115 Die();
125 Die();
134 Die();
H A Dsanitizer_openbsd.cpp58 Die();
81 Die();
85 Die();
89 Die();
93 Die();
H A Dsanitizer_termination.cpp9 /// This file contains the Sanitizer termination functions CheckFailed and Die,
50 void NORETURN Die() { function in namespace:__sanitizer
82 Die();
H A Dsanitizer_libignore.cpp29 Die();
70 Die();
94 Die();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerCompileUnit.cpp82 /// to \p Die that lives in \p RefUnit.
83 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, argument
85 ForwardDIEReferences.emplace_back(Die, RefUnit, Ctxt, Attr);
117 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { argument
118 if (Die.getTag() != dwarf::DW_TAG_compile_unit)
128 void CompileUnit::addNamespaceAccelerator(const DIE *Die, argument
130 Namespaces.emplace_back(Name, Die);
133 void CompileUnit::addObjCAccelerator(const DIE *Die, argument
136 ObjC.emplace_back(Name, Die, SkipPubSection);
139 void CompileUnit::addNameAccelerator(const DIE *Die, argument
145 addTypeAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name, bool ObjcClassImplementation, uint32_t QualifiedNameHash) argument
[all...]
H A DDWARFLinker.cpp170 bool DWARFLinker::DIECloner::getDIENames(const DWARFDie &Die, argument
177 if (Die.getTag() == dwarf::DW_TAG_lexical_block)
181 if (const char *MangledName = Die.getLinkageName())
185 if (const char *Name = Die.getShortName())
515 static void updateChildIncompleteness(const DWARFDie &Die, CompileUnit &CU, argument
517 switch (Die.getTag()) {
525 unsigned Idx = CU.getOrigUnit().getDIEIndex(Die);
535 static void updateRefIncompleteness(const DWARFDie &Die, CompileUnit &CU, argument
537 switch (Die.getTag()) {
548 unsigned Idx = CU.getOrigUnit().getDIEIndex(Die);
560 lookForChildDIEsToKeep( const DWARFDie &Die, CompileUnit &CU, unsigned Flags, SmallVectorImpl<WorklistItem> &Worklist) argument
591 lookForRefDIEsToKeep( const DWARFDie &Die, CompileUnit &CU, unsigned Flags, const UnitListTy &Units, const DwarfFile &File, SmallVectorImpl<WorklistItem> &Worklist) argument
701 lookForDIEsToKeep(AddressesMap &AddressesMap, RangesTy &Ranges, const UnitListTy &Units, const DWARFDie &Die, const DwarfFile &File, CompileUnit &Cu, unsigned Flags) argument
819 cloneStringAttribute( DIE &Die, AttributeSpec AttrSpec, const DWARFFormValue &Val, const DWARFUnit &U, OffsetsStringPool &StringPool, AttributesInfo &Info) argument
839 cloneDieReferenceAttribute( DIE &Die, const DWARFDie &InputDIE, AttributeSpec AttrSpec, unsigned AttrSize, const DWARFFormValue &Val, const DwarfFile &File, CompileUnit &Unit) argument
977 cloneBlockAttribute( DIE &Die, const DwarfFile &File, CompileUnit &Unit, AttributeSpec AttrSpec, const DWARFFormValue &Val, unsigned AttrSize, bool IsLittleEndian) argument
1032 cloneAddressAttribute( DIE &Die, AttributeSpec AttrSpec, const DWARFFormValue &Val, const CompileUnit &Unit, AttributesInfo &Info) argument
1089 cloneScalarAttribute( DIE &Die, const DWARFDie &InputDIE, const DwarfFile &File, CompileUnit &Unit, AttributeSpec AttrSpec, const DWARFFormValue &Val, unsigned AttrSize, AttributesInfo &Info) argument
1157 cloneAttribute( DIE &Die, const DWARFDie &InputDIE, const DwarfFile &File, CompileUnit &Unit, OffsetsStringPool &StringPool, const DWARFFormValue &Val, const AttributeSpec AttrSpec, unsigned AttrSize, AttributesInfo &Info, bool IsLittleEndian) argument
1209 addObjCAccelerator(CompileUnit &Unit, const DIE *Die, DwarfStringPoolEntryRef Name, OffsetsStringPool &StringPool, bool SkipPubSection) argument
1275 cloneDIE(const DWARFDie &InputDIE, const DwarfFile &File, CompileUnit &Unit, OffsetsStringPool &StringPool, int64_t PCOffset, uint32_t OutOffset, unsigned Flags, bool IsLittleEndian, DIE *Die) argument
1578 patchStmtList(DIE &Die, DIEInteger Offset) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp40 DWARFDie Die = CU->getUnitDIE(); local
41 Language = dwarf::toUnsigned(Die.find(dwarf::DW_AT_language), 0);
85 static DWARFDie GetParentDeclContextDIE(DWARFDie &Die) { argument
87 Die.getAttributeValueAsReferencedDie(dwarf::DW_AT_specification)) {
92 Die.getAttributeValueAsReferencedDie(dwarf::DW_AT_abstract_origin)) {
100 if (Die.getTag() == dwarf::DW_TAG_inlined_subroutine)
103 DWARFDie ParentDie = Die.getParent();
130 static Optional<uint32_t> getQualifiedNameIndex(DWARFDie &Die, argument
135 dwarf::toString(Die.findRecursively({dwarf::DW_AT_MIPS_linkage_name,
140 StringRef ShortName(Die
186 hasInlineInfo(DWARFDie Die, uint32_t Depth) argument
207 parseInlineInfo(GsymCreator &Gsym, CUInfo &CUI, DWARFDie Die, uint32_t Depth, FunctionInfo &FI, InlineInfo &parent) argument
249 convertFunctionLineTable(raw_ostream &Log, CUInfo &CUI, DWARFDie Die, GsymCreator &Gsym, FunctionInfo &FI) argument
351 handleDie(raw_ostream &OS, CUInfo &CUI, DWARFDie Die) argument
431 DWARFDie Die = CU->getUnitDIE(false); local
456 DWARFDie Die = CU->getUnitDIE(false /*CUDieOnly*/); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp165 auto Die = Unit.getDIEAtIndex(I); local
167 if (Die.getTag() == DW_TAG_null)
170 for (auto AttrValue : Die.attributes()) {
171 NumUnitErrors += verifyDebugInfoAttribute(Die, AttrValue);
172 NumUnitErrors += verifyDebugInfoForm(Die, AttrValue);
175 NumUnitErrors += verifyDebugInfoCallSite(Die);
178 DWARFDie Die = Unit.getUnitDIE(/* ExtractUnitDIEOnly = */ false); local
179 if (!Die) {
185 if (!dwarf::isUnitType(Die.getTag())) {
187 << dwarf::TagString(Die
213 verifyDebugInfoCallSite(const DWARFDie &Die) argument
362 verifyDieRanges(const DWARFDie &Die, DieRangeInfo &ParentRI) argument
455 verifyDebugInfoAttribute(const DWARFDie &Die, DWARFAttribute &AttrValue) argument
547 verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue) argument
677 auto Die = CU->getUnitDIE(); local
719 auto Die = CU->getUnitDIE(); local
897 auto Die = DCtx.getDIEForOffset(Offset); local
1297 isVariableIndexable(const DWARFDie &Die, DWARFContext &DCtx) argument
1321 verifyNameIndexCompleteness( const DWARFDie &Die, const DWARFDebugNames::NameIndex &NI) argument
1494 dump(const DWARFDie &Die, unsigned indent) const argument
[all...]
H A DDWARFDie.cpp233 static void dumpAttribute(raw_ostream &OS, const DWARFDie &Die,
237 if (!Die.isValid())
247 DWARFUnit *U = Die.getDwarfUnit();
277 if (Die.getLowAndHighPC(LowPC, HighPC, Index))
295 Die.getAttributeValueAsReferencedDie(FormValue).getName(
300 dumpTypeName(OS, Die.getAttributeValueAsReferencedDie(FormValue));
306 const DWARFObject &Obj = Die.getDwarfUnit()->getContext().getDWARFObj();
316 if (auto RangesOrError = Die.getAddressRanges())
371 DWARFDie Die = Worklist.back();
374 if (!Die
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp174 static std::string constructDieID(DWARFDie Die, argument
179 << Die.getName(DINameKind::LinkageName);
185 auto DeclFile = Die.findRecursively(dwarf::DW_AT_decl_file);
188 DWARFUnit *U = Die.getDwarfUnit();
197 << dwarf::toUnsigned(Die.findRecursively(dwarf::DW_AT_decl_line), 0);
202 static void collectStatsForDie(DWARFDie Die, std::string FnPrefix, argument
214 bool IsParam = Die.getTag() == dwarf::DW_TAG_formal_parameter;
215 bool IsLocalVar = Die.getTag() == dwarf::DW_TAG_variable;
216 bool IsConstantMember = Die.getTag() == dwarf::DW_TAG_member &&
217 Die
368 collectStatsRecursive(DWARFDie Die, std::string FnPrefix, std::string VarPrefix, uint64_t BytesInScope, uint32_t InlineDepth, StringMap<PerFunctionStats> &FnStatMap, GlobalStats &GlobalStats, LocationStats &LocStats) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h162 /// Keep track of a forward reference to DIE \p Die in \p RefUnit by \p
164 /// offset of \p Die in the debug_info section or to the canonical offset of
166 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
181 void noteRangeAttribute(const DIE &Die, PatchLocation Attr);
187 /// Add a name accelerator entry for \a Die with \a Name.
188 void addNamespaceAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name);
190 /// Add a name accelerator entry for \a Die with \a Name.
191 void addNameAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name,
194 /// Add various accelerator entries for \p Die with \p Name which is stored
197 void addObjCAccelerator(const DIE *Die, DwarfStringPoolEntryRe
211 const DIE *Die; member in struct:llvm::CompileUnit::AccelInfo
222 AccelInfo(DwarfStringPoolEntryRef Name, const DIE *Die, bool SkipPubSection = false) argument
226 AccelInfo(DwarfStringPoolEntryRef Name, const DIE *Die, uint32_t QualifiedNameHash, bool ObjCClassIsImplementation) argument
[all...]
H A DDWARFLinker.h99 virtual void emitPaperTrailWarningsDie(DIE &Die) = 0;
185 /// Recursively emit the DIE tree rooted at \p Die.
186 virtual void emitDIE(DIE &Die) = 0;
357 DWARFDie Die; member in struct:llvm::DWARFLinker::WorklistItem
363 WorklistItem(DWARFDie Die, CompileUnit &CU, unsigned Flags, argument
365 : Type(T), Die(Die), CU(CU), Flags(Flags) {}
367 WorklistItem(DWARFDie Die, CompileUnit &CU, WorklistItemType T, argument
369 : Type(T), Die(Die), C
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_termination.cpp27 void NORETURN Die() { function in namespace:__sanitizer
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_posix.cpp42 Die();
52 Die();
106 Die();
123 Die();
140 Die();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAccelTable.h254 DWARF5AccelTableData(const DIE &Die) : Die(Die) {} argument
260 const DIE &getDie() const { return Die; }
261 uint64_t getDieOffset() const { return Die.getOffset(); }
262 unsigned getDieTag() const { return Die.getTag(); }
265 const DIE &Die; member in class:llvm::DWARF5AccelTableData
267 uint64_t order() const override { return Die.getOffset(); }
323 AppleAccelTableOffsetData(const DIE &D) : Die(D) {}
334 uint64_t order() const override { return Die
336 const DIE &Die; member in class:llvm::AppleAccelTableOffsetData
[all...]

Completed in 283 milliseconds

1234