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

1234

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h106 virtual void addGlobalName(StringRef Name, const DIE &Die,
110 virtual void addGlobalType(const DIType *Ty, const DIE &Die,
133 void addFlag(DIE &Die, dwarf::Attribute Attribute);
136 void addUInt(DIEValueList &Die, dwarf::Attribute Attribute,
142 void addSInt(DIEValueList &Die, dwarf::Attribute Attribute,
145 void addSInt(DIELoc &Die, Optional<dwarf::Form> Form, int64_t Integer);
153 void addString(DIE &Die, dwarf::Attribute Attribute, StringRef Str);
156 DIEValueList::value_iterator addLabel(DIEValueList &Die,
161 void addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label);
164 void addSectionOffset(DIE &Die, dwar
[all...]
H A DDIEHash.h38 uint64_t computeCUSignature(StringRef DWOName, const DIE &Die);
41 uint64_t computeTypeSignature(const DIE &Die);
48 /// Adds the attributes of \param Die to the hash.
49 void addAttributes(const DIE &Die);
52 void computeHash(const DIE &Die);
69 /// Collects the attributes of DIE \param Die into the \param Attrs
71 void collectAttributes(const DIE &Die, DIEAttrs &Attrs);
100 void hashNestedType(const DIE &Die, StringRef Name);
H A DDIEHash.cpp32 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) { argument
35 for (const auto &V : Die.values())
100 const DIE &Die = **I; local
106 addULEB128(Die.getTag());
109 StringRef Name = getDIEStringAttr(Die, dwarf::DW_AT_name);
117 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) { argument
119 for (const auto &V : Die.values()) {
330 // Add all of the attributes for \param Die to the hash.
331 void DIEHash::addAttributes(const DIE &Die) { argument
333 collectAttributes(Die, Attr
337 hashNestedType(const DIE &Die, StringRef Name) argument
352 computeHash(const DIE &Die) argument
383 computeCUSignature(StringRef DWOName, const DIE &Die) argument
406 computeTypeSignature(const DIE &Die) argument
[all...]
H A DDwarfCompileUnit.h137 DIE *Die = nullptr; member in struct:llvm::final::BaseTypeRef
155 void addLabelAddress(DIE &Die, dwarf::Attribute Attribute,
160 void addLocalLabelAddress(DIE &Die, dwarf::Attribute Attribute,
304 void addGlobalName(StringRef Name, const DIE &Die,
311 void addGlobalType(const DIType *Ty, const DIE &Die,
322 void addVariableAddress(const DbgVariable &DV, DIE &Die,
325 void addAddress(DIE &Die, dwarf::Attribute Attribute,
332 void addComplexAddress(const DbgVariable &DV, DIE &Die,
337 void addLocationList(DIE &Die, dwarf::Attribute Attribute, unsigned Index);
341 void addExpr(DIELoc &Die, dwar
[all...]
H A DAsmPrinterDwarf.cpp252 void AsmPrinter::emitDwarfDIE(const DIE &Die) const {
255 OutStreamer->AddComment("Abbrev [" + Twine(Die.getAbbrevNumber()) + "] 0x" +
256 Twine::utohexstr(Die.getOffset()) + ":0x" +
257 Twine::utohexstr(Die.getSize()) + " " +
258 dwarf::TagString(Die.getTag()));
259 EmitULEB128(Die.getAbbrevNumber());
262 for (const auto &V : Die.values()) {
278 if (Die.hasChildren()) {
279 for (auto &Child : Die.children())
H A DDwarfCompileUnit.cpp78 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute, argument
82 return addLocalLabelAddress(Die, Attribute, Label);
88 Die.addValue(DIEValueAllocator, Attribute,
94 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die, argument
101 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_addr,
104 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_addr,
125 if (DIE *Die = getDIE(GV))
126 return Die;
511 DIE &Die, SmallVector<RangeSpan, 2> Ranges) {
515 attachLowHighPC(Die, Fron
510 attachRangesOrLowHighPC( DIE &Die, SmallVector<RangeSpan, 2> Ranges) argument
520 attachRangesOrLowHighPC( DIE &Die, const SmallVectorImpl<InsnRange> &Ranges) argument
1063 auto *Die = Entity->getDIE(); local
1140 addGlobalName(StringRef Name, const DIE &Die, const DIScope *Context) argument
1161 addGlobalType(const DIType *Ty, const DIE &Die, const DIScope *Context) argument
1181 addVariableAddress(const DbgVariable &DV, DIE &Die, MachineLocation Location) argument
1190 addAddress(DIE &Die, dwarf::Attribute Attribute, const MachineLocation &Location) argument
1215 addComplexAddress(const DbgVariable &DV, DIE &Die, dwarf::Attribute Attribute, const MachineLocation &Location) argument
1246 addLocationList(DIE &Die, dwarf::Attribute Attribute, unsigned Index) argument
1283 addExpr(DIELoc &Die, dwarf::Form Form, const MCExpr *Expr) argument
1288 addAddressExpr(DIE &Die, dwarf::Attribute Attribute, const MCExpr *Expr) argument
1324 addBaseTypeRef(DIEValueList &Die, int64_t Idx) argument
1335 DIE &Die = getUnitDie().addChildFront( local
[all...]
H A DDwarfUnit.cpp223 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) { argument
225 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag_present,
228 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag,
232 void DwarfUnit::addUInt(DIEValueList &Die, dwarf::Attribute Attribute, argument
238 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer));
246 void DwarfUnit::addSInt(DIEValueList &Die, dwarf::Attribute Attribute, argument
250 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer));
253 void DwarfUnit::addSInt(DIELoc &Die, Optional<dwarf::Form> Form, argument
255 addSInt(Die, (dwarf::Attribute)0, Form, Integer);
258 void DwarfUnit::addString(DIE &Die, dwar argument
292 addLabel(DIEValueList &Die, dwarf::Attribute Attribute, dwarf::Form Form, const MCSymbol *Label) argument
299 addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label) argument
303 addSectionOffset(DIE &Die, dwarf::Attribute Attribute, uint64_t Integer) argument
342 addOpAddress(DIELoc &Die, const MCSymbol *Sym) argument
360 addLabelDelta(DIE &Die, dwarf::Attribute Attribute, const MCSymbol *Hi, const MCSymbol *Lo) argument
366 addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIE &Entry) argument
370 addDIETypeSignature(DIE &Die, uint64_t Signature) argument
381 addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIEEntry Entry) argument
396 DIE &Die = Parent.addChild(DIE::get(DIEValueAllocator, (dwarf::Tag)Tag)); local
402 addBlock(DIE &Die, dwarf::Attribute Attribute, DIELoc *Loc) argument
409 addBlock(DIE &Die, dwarf::Attribute Attribute, DIEBlock *Block) argument
416 addSourceLine(DIE &Die, unsigned Line, const DIFile *File) argument
425 addSourceLine(DIE &Die, const DILocalVariable *V) argument
431 addSourceLine(DIE &Die, const DIGlobalVariable *G) argument
437 addSourceLine(DIE &Die, const DISubprogram *SP) argument
443 addSourceLine(DIE &Die, const DILabel *L) argument
449 addSourceLine(DIE &Die, const DIType *Ty) argument
455 addSourceLine(DIE &Die, const DIObjCProperty *Ty) argument
510 addConstantFPValue(DIE &Die, const MachineOperand &MO) argument
532 addConstantFPValue(DIE &Die, const ConstantFP *CFP) argument
537 addConstantValue(DIE &Die, const ConstantInt *CI, const DIType *Ty) argument
542 addConstantValue(DIE &Die, const MachineOperand &MO, const DIType *Ty) argument
549 addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty) argument
553 addConstantValue(DIE &Die, bool Unsigned, uint64_t Val) argument
560 addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) argument
564 addConstantValue(DIE &Die, const APInt &Val, bool Unsigned) argument
593 addLinkageName(DIE &Die, StringRef LinkageName) argument
612 addThrownTypes(DIE &Die, DINodeArray ThrownTypes) argument
1673 addSectionDelta(DIE &Die, dwarf::Attribute Attribute, const MCSymbol *Hi, const MCSymbol *Lo) argument
1682 addSectionLabel(DIE &Die, dwarf::Attribute Attribute, const MCSymbol *Label, const MCSymbol *Sec) argument
1698 addGlobalName(StringRef Name, const DIE &Die, const DIScope *Context) argument
1703 addGlobalType(const DIType *Ty, const DIE &Die, const DIScope *Context) argument
[all...]
H A DDwarfDebug.h451 StringRef Name, const DIE &Die);
528 void initSkeletonUnit(const DwarfUnit &U, DIE &Die,
632 DIE &Die, const DICompositeType *CTy);
731 DIE &Die);
735 void addAccelName(const DICompileUnit &CU, StringRef Name, const DIE &Die);
737 void addAccelObjC(const DICompileUnit &CU, StringRef Name, const DIE &Die);
740 const DIE &Die);
742 void addAccelType(const DICompileUnit &CU, StringRef Name, const DIE &Die,
752 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-11-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();
291 DWARFDie Die; member in class:llvm::DWARFDie::attribute_iterator
294 /// The attribute index within the abbreviation declaration in Die.
343 DWARFDie Die; member in class:llvm::DWARFDie::iterator
402 llvm::DWARFDie Die; member in class:std::reverse_iterator
[all...]
H A DDWARFVerifier.h39 DWARFDie Die; member in struct:llvm::DWARFVerifier::DieRangeInfo
48 DieRangeInfo(DWARFDie Die) : Die(Die) {} argument
106 raw_ostream &dump(const DWARFDie &Die, unsigned indent = 0) const;
175 unsigned verifyDebugInfoCallSite(const DWARFDie &Die);
177 /// Verify that all Die ranges are valid.
183 unsigned verifyDieRanges(const DWARFDie &Die, DieRangeInfo &ParentRI);
191 /// \param Die The DWARF DIE that owns the attribute value
196 unsigned verifyDebugInfoAttribute(const DWARFDie &Die,
[all...]
/freebsd-11-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-11-stable/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerCompileUnit.cpp74 /// to \p Die that lives in \p RefUnit.
75 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, argument
77 ForwardDIEReferences.emplace_back(Die, RefUnit, Ctxt, Attr);
109 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { argument
110 if (Die.getTag() != dwarf::DW_TAG_compile_unit)
120 void CompileUnit::addNamespaceAccelerator(const DIE *Die, argument
122 Namespaces.emplace_back(Name, Die);
125 void CompileUnit::addObjCAccelerator(const DIE *Die, argument
128 ObjC.emplace_back(Name, Die, SkipPubSection);
131 void CompileUnit::addNameAccelerator(const DIE *Die, argument
137 addTypeAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name, bool ObjcClassImplementation, uint32_t QualifiedNameHash) argument
[all...]
/freebsd-11-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
447 verifyDebugInfoAttribute(const DWARFDie &Die, DWARFAttribute &AttrValue) argument
532 verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue) argument
662 auto Die = CU->getUnitDIE(); local
704 auto Die = CU->getUnitDIE(); local
882 auto Die = DCtx.getDIEForOffset(Offset); local
1282 isVariableIndexable(const DWARFDie &Die, DWARFContext &DCtx) argument
1305 verifyNameIndexCompleteness( const DWARFDie &Die, const DWARFDebugNames::NameIndex &NI) argument
1480 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())
370 DWARFDie Die = Worklist.back();
373 if (!Die
[all...]
H A DDWARFUnit.cpp691 void DWARFUnit::updateAddressDieMap(DWARFDie Die) { argument
692 if (Die.isSubroutineDIE()) {
693 auto DIERangesOrError = Die.getAddressRanges();
708 AddrDieMap[R.LowPC] = std::make_pair(R.HighPC, Die);
718 for (DWARFDie Child = Die.getFirstChild(); Child; Child = Child.getSibling())
766 DWARFDie DWARFUnit::getParent(const DWARFDebugInfoEntry *Die) { argument
767 if (!Die)
769 const uint32_t Depth = Die->getDepth();
776 // Look for previous DIE with a depth that is one less than the Die's depth.
778 for (uint32_t I = getDIEIndex(Die)
785 getSibling(const DWARFDebugInfoEntry *Die) argument
805 getPreviousSibling(const DWARFDebugInfoEntry *Die) argument
824 getFirstChild(const DWARFDebugInfoEntry *Die) argument
835 getLastChild(const DWARFDebugInfoEntry *Die) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp162 static void collectStatsForDie(DWARFDie Die, std::string FnPrefix, argument
175 bool IsParam = Die.getTag() == dwarf::DW_TAG_formal_parameter;
176 bool IsLocalVar = Die.getTag() == dwarf::DW_TAG_variable;
178 if (Die.getTag() == dwarf::DW_TAG_call_site ||
179 Die.getTag() == dwarf::DW_TAG_GNU_call_site) {
184 if (Die.getTag() == dwarf::DW_TAG_call_site_parameter ||
185 Die.getTag() == dwarf::DW_TAG_GNU_call_site_parameter) {
190 if (!IsParam && !IsLocalVar && Die.getTag() != dwarf::DW_TAG_member) {
195 if (Die.findRecursively(dwarf::DW_AT_decl_file) &&
196 Die
321 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-11-stable/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerCompileUnit.h160 /// Keep track of a forward reference to DIE \p Die in \p RefUnit by \p
162 /// offset of \p Die in the debug_info section or to the canonical offset of
164 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
179 void noteRangeAttribute(const DIE &Die, PatchLocation Attr);
185 /// Add a name accelerator entry for \a Die with \a Name.
186 void addNamespaceAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name);
188 /// Add a name accelerator entry for \a Die with \a Name.
189 void addNameAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name,
192 /// Add various accelerator entries for \p Die with \p Name which is stored
195 void addObjCAccelerator(const DIE *Die, DwarfStringPoolEntryRe
209 const DIE *Die; member in struct:llvm::CompileUnit::AccelInfo
220 AccelInfo(DwarfStringPoolEntryRef Name, const DIE *Die, bool SkipPubSection = false) argument
224 AccelInfo(DwarfStringPoolEntryRef Name, const DIE *Die, uint32_t QualifiedNameHash, bool ObjCClassIsImplementation) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_termination.cpp27 void NORETURN Die() { function in namespace:__sanitizer
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_posix.cpp42 Die();
52 Die();
106 Die();
123 Die();
140 Die();
H A Dtsan_flags.cpp115 Die();
121 Die();
/freebsd-11-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 164 milliseconds

1234