/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DIEHash.cpp | 30 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) { in getDIEStringAttr() 95 for (const DIE *Die : llvm::reverse(Parents)) { in addParentContext() local 111 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) { in collectAttributes() 347 void DIEHash::addAttributes(const DIE &Die) { in addAttributes() 353 void DIEHash::hashNestedType(const DIE &Die, StringRef Name) { in hashNestedType() 368 void DIEHash::computeHash(const DIE &Die) { in computeHash() 399 uint64_t DIEHash::computeCUSignature(StringRef DWOName, const DIE &Die) { in computeCUSignature() 422 uint64_t DIEHash::computeTypeSignature(const DIE &Die) { in computeTypeSignature()
|
H A D | DwarfUnit.cpp | 214 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) { in addFlag() argument 221 void DwarfUnit::addUInt(DIEValueList &Die, dwarf::Attribute Attribute, in addUInt() argument 235 void DwarfUnit::addSInt(DIEValueList &Die, dwarf::Attribute Attribute, in addSInt() argument 242 void DwarfUnit::addSInt(DIELoc &Die, std::optional<dwarf::Form> Form, in addSInt() argument 247 void DwarfUnit::addString(DIE &Die, dwar argument 280 addLabel(DIEValueList & Die,dwarf::Attribute Attribute,dwarf::Form Form,const MCSymbol * Label) addLabel() argument 285 addLabel(DIELoc & Die,dwarf::Form Form,const MCSymbol * Label) addLabel() argument 289 addSectionOffset(DIE & Die,dwarf::Attribute Attribute,uint64_t Integer) addSectionOffset() argument 307 addPoolOpAddress(DIEValueList & Die,const MCSymbol * Label) addPoolOpAddress() argument 332 addOpAddress(DIELoc & Die,const MCSymbol * Sym) addOpAddress() argument 347 addLabelDelta(DIEValueList & Die,dwarf::Attribute Attribute,const MCSymbol * Hi,const MCSymbol * Lo) addLabelDelta() argument 353 addDIEEntry(DIE & Die,dwarf::Attribute Attribute,DIE & Entry) addDIEEntry() argument 357 addDIETypeSignature(DIE & Die,uint64_t Signature) addDIETypeSignature() argument 368 addDIEEntry(DIE & Die,dwarf::Attribute Attribute,DIEEntry Entry) addDIEEntry() argument 385 DIE &Die = Parent.addChild(DIE::get(DIEValueAllocator, Tag)); createAndAddDIE() local 391 addBlock(DIE & Die,dwarf::Attribute Attribute,DIELoc * Loc) addBlock() argument 397 addBlock(DIE & Die,dwarf::Attribute Attribute,dwarf::Form Form,DIEBlock * Block) addBlock() argument 404 addBlock(DIE & Die,dwarf::Attribute Attribute,DIEBlock * Block) addBlock() argument 409 addSourceLine(DIE & Die,unsigned Line,const DIFile * File) addSourceLine() argument 418 addSourceLine(DIE & Die,const DILocalVariable * V) addSourceLine() argument 424 addSourceLine(DIE & Die,const DIGlobalVariable * G) addSourceLine() argument 430 addSourceLine(DIE & Die,const DISubprogram * SP) addSourceLine() argument 436 addSourceLine(DIE & Die,const DILabel * L) addSourceLine() argument 442 addSourceLine(DIE & Die,const DIType * Ty) addSourceLine() argument 448 addSourceLine(DIE & Die,const DIObjCProperty * Ty) addSourceLine() argument 454 addConstantFPValue(DIE & Die,const ConstantFP * CFP) addConstantFPValue() argument 459 addConstantValue(DIE & Die,const ConstantInt * CI,const DIType * Ty) addConstantValue() argument 464 addConstantValue(DIE & Die,uint64_t Val,const DIType * Ty) addConstantValue() argument 468 addConstantValue(DIE & Die,bool Unsigned,uint64_t Val) addConstantValue() argument 475 addConstantValue(DIE & Die,const APInt & Val,const DIType * Ty) addConstantValue() argument 479 addConstantValue(DIE & Die,const APInt & Val,bool Unsigned) addConstantValue() argument 508 addLinkageName(DIE & Die,StringRef LinkageName) addLinkageName() argument 527 addThrownTypes(DIE & Die,DINodeArray ThrownTypes) addThrownTypes() argument 534 addAccess(DIE & Die,DINode::DIFlags Flags) addAccess() argument 1837 addSectionDelta(DIE & Die,dwarf::Attribute Attribute,const MCSymbol * Hi,const MCSymbol * Lo) addSectionDelta() argument 1843 addSectionLabel(DIE & Die,dwarf::Attribute Attribute,const MCSymbol * Label,const MCSymbol * Sec) addSectionLabel() argument 1857 addGlobalName(StringRef Name,const DIE & Die,const DIScope * Context) addGlobalName() argument 1862 addGlobalTypeImpl(const DIType * Ty,const DIE & Die,const DIScope * Context) addGlobalTypeImpl() argument [all...] |
H A D | DwarfCompileUnit.cpp | 123 addAttribute(Die, Attribute, dwarf::DW_FORM_LLVM_addrx_offset, in addLocalLabelAddress() argument 83 addLabelAddress(DIE & Die,dwarf::Attribute Attribute,const MCSymbol * Label) addLabelAddress() argument 155 if (DIE *Die = getDIE(GV)) getOrCreateGlobalVariableDIE() local 653 attachRangesOrLowHighPC(DIE & Die,SmallVector<RangeSpan,2> Ranges) attachRangesOrLowHighPC() argument 668 attachRangesOrLowHighPC(DIE & Die,const SmallVectorImpl<InsnRange> & Ranges) attachRangesOrLowHighPC() argument 1405 if (DIE *Die = getDIE(IE)) getOrCreateImportedEntityDIE() local 1433 auto *Die = Entity->getDIE(); finishEntityDefinition() local 1521 addGlobalName(StringRef Name,const DIE & Die,const DIScope * Context) addGlobalName() argument 1542 addGlobalTypeImpl(const DIType * Ty,const DIE & Die,const DIScope * Context) addGlobalTypeImpl() argument 1562 addVariableAddress(const DbgVariable & DV,DIE & Die,MachineLocation Location) addVariableAddress() argument 1572 addAddress(DIE & Die,dwarf::Attribute Attribute,const MachineLocation & Location) addAddress() argument 1597 addComplexAddress(const DIExpression * DIExpr,DIE & Die,dwarf::Attribute Attribute,const MachineLocation & Location) addComplexAddress() argument 1624 addLocationList(DIE & Die,dwarf::Attribute Attribute,unsigned Index) addLocationList() argument 1661 addExpr(DIELoc & Die,dwarf::Form Form,const MCExpr * Expr) addExpr() argument 1696 addBaseTypeRef(DIEValueList & Die,int64_t Idx) addBaseTypeRef() argument 1707 DIE &Die = getUnitDie().addChildFront( createBaseTypeDIEs() local [all...] |
H A D | DwarfFile.cpp | 92 unsigned DwarfFile::computeSizeAndOffset(DIE &Die, unsigned Offset) { in computeSizeAndOffset() argument
|
/llvm-project/llvm/lib/DWARFLinker/Classic/ |
H A D | DWARFLinkerCompileUnit.cpp | 138 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, in noteForwardReference() 175 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { in noteRangeAttribute() 188 void CompileUnit::addNamespaceAccelerator(const DIE *Die, in addNamespaceAccelerator() 193 void CompileUnit::addObjCAccelerator(const DIE *Die, in addObjCAccelerator() 199 void CompileUnit::addNameAccelerator(const DIE *Die, in addNameAccelerator() 205 void CompileUnit::addTypeAccelerator(const DIE *Die, in addTypeAccelerator()
|
H A D | DWARFLinker.cpp | 145 getDIENames(const DWARFDie & Die,AttributesInfo & Info,OffsetsStringPool & StringPool,bool StripTemplate) getDIENames() argument 239 DWARFDie Die; global() member 260 updatePruning(const DWARFDie & Die,CompileUnit & CU,uint64_t ModulesEndOffset) updatePruning() argument 282 updateChildPruning(const DWARFDie & Die,CompileUnit & CU,CompileUnit::DIEInfo & ChildInfo) updateChildPruning() argument 640 updateChildIncompleteness(const DWARFDie & Die,CompileUnit & CU,CompileUnit::DIEInfo & ChildInfo) updateChildIncompleteness() argument 660 updateRefIncompleteness(const DWARFDie & Die,CompileUnit & CU,CompileUnit::DIEInfo & RefInfo) updateRefIncompleteness() argument 685 lookForChildDIEsToKeep(const DWARFDie & Die,CompileUnit & CU,unsigned Flags,SmallVectorImpl<WorklistItem> & Worklist) lookForChildDIEsToKeep() argument 712 isODRCanonicalCandidate(const DWARFDie & Die,CompileUnit & CU) isODRCanonicalCandidate() argument 724 markODRCanonicalDie(const DWARFDie & Die,CompileUnit & CU) markODRCanonicalDie() argument 736 lookForRefDIEsToKeep(const DWARFDie & Die,CompileUnit & CU,unsigned Flags,const UnitListTy & Units,const DWARFFile & File,SmallVectorImpl<WorklistItem> & Worklist) lookForRefDIEsToKeep() argument 842 lookForDIEsToKeep(AddressesMap & AddressesMap,const UnitListTy & Units,const DWARFDie & Die,const DWARFFile & File,CompileUnit & Cu,unsigned Flags) lookForDIEsToKeep() argument 1026 cloneStringAttribute(DIE & Die,AttributeSpec AttrSpec,const DWARFFormValue & Val,const DWARFUnit & U,AttributesInfo & Info) cloneStringAttribute() argument 1072 cloneDieReferenceAttribute(DIE & Die,const DWARFDie & InputDIE,AttributeSpec AttrSpec,unsigned AttrSize,const DWARFFormValue & Val,const DWARFFile & File,CompileUnit & Unit) cloneDieReferenceAttribute() argument 1265 cloneBlockAttribute(DIE & Die,const DWARFDie & InputDIE,const DWARFFile & File,CompileUnit & Unit,AttributeSpec AttrSpec,const DWARFFormValue & Val,bool IsLittleEndian) cloneBlockAttribute() argument 1331 cloneAddressAttribute(DIE & Die,const DWARFDie & InputDIE,AttributeSpec AttrSpec,unsigned AttrSize,const DWARFFormValue & Val,const CompileUnit & Unit,AttributesInfo & Info) cloneAddressAttribute() argument 1396 cloneScalarAttribute(DIE & Die,const DWARFDie & InputDIE,const DWARFFile & File,CompileUnit & Unit,AttributeSpec AttrSpec,const DWARFFormValue & Val,unsigned AttrSize,AttributesInfo & Info) cloneScalarAttribute() argument 1548 cloneAttribute(DIE & Die,const DWARFDie & InputDIE,const DWARFFile & File,CompileUnit & Unit,const DWARFFormValue & Val,const AttributeSpec AttrSpec,unsigned AttrSize,AttributesInfo & Info,bool IsLittleEndian) cloneAttribute() argument 1610 addObjCAccelerator(CompileUnit & Unit,const DIE * Die,DwarfStringPoolEntryRef Name,OffsetsStringPool & StringPool,bool SkipPubSection) addObjCAccelerator() argument 1669 cloneDIE(const DWARFDie & InputDIE,const DWARFFile & File,CompileUnit & Unit,int64_t PCOffset,uint32_t OutOffset,unsigned Flags,bool IsLittleEndian,DIE * Die) cloneDIE() argument 2023 patchAddrBase(DIE & Die,DIEInteger Offset) patchAddrBase() argument 2085 patchStmtList(DIE & Die,DIEInteger Offset) patchStmtList() argument 2394 DWARFDie Die = OrigUnit->getDIEAtIndex(CU->getInfo(Idx).ParentIdx); hashFullyQualifiedName() local [all...] |
H A D | DWARFLinkerDeclContext.cpp | 34 bool DeclContext::setLastSeenDIE(CompileUnit &U, const DWARFDie &Die) { in setLastSeenDIE()
|
/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
H A D | DWARFDieTest.cpp | 75 DWARFDie Die = CU->getUnitDIE(); TEST() local 177 DWARFDie Die = CU->getUnitDIE(/*ExtractUnitDIEOnly=*/false); TEST() local 283 DWARFDie Die = CU->getUnitDIE(/*ExtractUnitDIEOnly=*/false); TEST() local 388 DWARFDie Die = CU->getUnitDIE(/*ExtractUnitDIEOnly=*/false); TEST() local 510 DWARFDie Die = CU->getUnitDIE(/*ExtractUnitDIEOnly=*/false); TEST() local 632 DWARFDie Die = CU->getUnitDIE(/*ExtractUnitDIEOnly=*/false); TEST() local [all...] |
H A D | DWARFDieManualExtractTest.cpp | 60 DWARFDie Die(CU, &DieInfo); in TEST() local
|
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDie.h | 44 const DWARFDebugInfoEntry *Die = nullptr; variable 304 DWARFDie Die; global() variable 356 DWARFDie Die; global() variable [all...] |
H A D | DWARFVerifier.h | 52 DWARFDie Die; member [all...] |
/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
H A D | DWARFLinkerCompileUnit.h | 303 DIEInfo &getDIEInfo(const DWARFDie &Die) { in getDIEInfo() 309 const DIEInfo &getDIEInfo(const DWARFDie &Die) const { in getDIEInfo() 459 getFirstChildEntry(const DWARFDebugInfoEntry *Die) const { in getFirstChildEntry() 465 getSiblingEntry(const DWARFDebugInfoEntry *Die) const { in getSiblingEntry() 470 DWARFDie getParent(const DWARFDebugInfoEntry *Die) { in getParent() 490 DWARFDie getDIE(const DWARFDebugInfoEntry *Die) { in getDIE() 495 uint32_t getDIEIndex(const DWARFDebugInfoEntry *Die) const { in getDIEIndex() 500 uint32_t getDIEIndex(const DWARFDie &Die) const { in getDIEIndex() 511 std::optional<DWARFFormValue> find(const DWARFDebugInfoEntry *Die, in find()
|
H A D | OutputSections.cpp | 38 DIE *Die, in DebugType2TypeDieRefPatch() 44 DebugTypeStrPatch::DebugTypeStrPatch(uint64_t PatchOffset, DIE *Die, in DebugTypeStrPatch() 49 DebugTypeLineStrPatch::DebugTypeLineStrPatch(uint64_t PatchOffset, DIE *Die, in DebugTypeLineStrPatch() 55 DebugTypeDeclFilePatch::DebugTypeDeclFilePatch(DIE *Die, TypeEntry *TypeName, in DebugTypeDeclFilePatch()
|
H A D | OutputSections.h | 108 DIE *Die = nullptr; member 117 DIE *Die = nullptr; member 126 DIE *Die = nullptr; member 135 DIE *Die = nullptr; member
|
H A D | DWARFEmitterImpl.cpp | 155 emitDIE(DIE & Die) emitDIE() argument
|
H A D | TypePool.h | 59 std::atomic<DIE *> Die = {nullptr}; variable
|
/llvm-project/bolt/include/bolt/Core/ |
H A D | DIEBuilder.h | 47 DIE *Die; member 92 DIE &Die; member 354 addValue(DIEValueList * Die,const DIEValue & V) addValue() argument 359 addValue(DIEValueList * Die,dwarf::Attribute Attribute,dwarf::Form Form,T && Value) addValue() argument 367 replaceValue(DIEValueList * Die,dwarf::Attribute Attribute,dwarf::Form Form,T && NewValue) replaceValue() argument 374 replaceValue(DIEValueList * Die,dwarf::Attribute Attribute,dwarf::Attribute NewAttribute,dwarf::Form Form,T && NewValue) replaceValue() argument 381 replaceValue(DIEValueList * Die,dwarf::Attribute Attribute,dwarf::Form Form,DIEValue & NewValue) replaceValue() argument 386 deleteValue(DIEValueList * Die,dwarf::Attribute Attribute) deleteValue() argument [all...] |
/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | DwarfTransformer.cpp | 44 DWARFDie Die = CU->getUnitDIE(); CUInfo() local 89 GetParentDeclContextDIE(DWARFDie & Die) GetParentDeclContextDIE() argument 135 getQualifiedNameIndex(DWARFDie & Die,uint64_t Language,GsymCreator & Gsym) getQualifiedNameIndex() argument 189 hasInlineInfo(DWARFDie Die,uint32_t Depth) hasInlineInfo() argument 221 parseInlineInfo(GsymCreator & Gsym,OutputAggregator & Out,CUInfo & CUI,DWARFDie Die,uint32_t Depth,FunctionInfo & FI,InlineInfo & Parent,const AddressRanges & AllParentRanges,bool & WarnIfEmpty) parseInlineInfo() argument 314 convertFunctionLineTable(OutputAggregator & Out,CUInfo & CUI,DWARFDie Die,GsymCreator & Gsym,FunctionInfo & FI) convertFunctionLineTable() argument 448 handleDie(OutputAggregator & Out,CUInfo & CUI,DWARFDie Die) handleDie() argument 587 DWARFDie Die = getDie(*CU); convert() local 612 DWARFDie Die = getDie(*CU); convert() local [all...] |
/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFVerifier.cpp | 219 verifyName(const DWARFDie & Die) verifyName() argument 250 auto Die = Unit.getDIEAtIndex(I); verifyUnitContents() local 275 DWARFDie Die = Unit.getUnitDIE(/* ExtractUnitDIEOnly = */ false); verifyUnitContents() local 318 verifyDebugInfoCallSite(const DWARFDie & Die) verifyDebugInfoCallSite() argument 550 verifyDieRanges(const DWARFDie & Die,DieRangeInfo & ParentRI) verifyDieRanges() argument 656 verifyDebugInfoAttribute(const DWARFDie & Die,DWARFAttribute & AttrValue) verifyDebugInfoAttribute() argument 825 verifyDebugInfoForm(const DWARFDie & Die,DWARFAttribute & AttrValue,ReferenceMap & LocalReferences,ReferenceMap & CrossUnitReferences) verifyDebugInfoForm() argument 934 auto Die = CU->getUnitDIE(); verifyDebugLineStmtOffsets() local 980 auto Die = CU->getUnitDIE(); verifyDebugLineRows() local 1186 auto Die = DCtx.getDIEForOffset(Offset); verifyAppleAccelTable() local 1681 isVariableIndexable(const DWARFDie & Die,DWARFContext & DCtx) isVariableIndexable() argument 1707 verifyNameIndexCompleteness(const DWARFDie & Die,const DWARFDebugNames::NameIndex & NI) verifyNameIndexCompleteness() argument 1853 for (const DWARFDebugInfoEntry &Die : CU->dies()) verifyDebugNames() local 2071 dump(const DWARFDie & Die,unsigned indent) const dump() argument [all...] |
H A D | DWARFUnit.cpp | 732 void DWARFUnit::updateAddressDieMap(DWARFDie Die) { in updateAddressDieMap() 777 void DWARFUnit::updateVariableDieMap(DWARFDie Die) { in updateVariableDieMap() 901 DWARFDie DWARFUnit::getParent(const DWARFDebugInfoEntry *Die) { in getParent() 923 DWARFDie DWARFUnit::getSibling(const DWARFDebugInfoEntry *Die) { in getSibling() 945 DWARFDie DWARFUnit::getPreviousSibling(const DWARFDebugInfoEntry *Die) { in getPreviousSibling() 984 DWARFDie DWARFUnit::getFirstChild(const DWARFDebugInfoEntry *Die) { in getFirstChild() 1009 DWARFDie DWARFUnit::getLastChild(const DWARFDebugInfoEntry *Die) { in getLastChild()
|
H A D | DWARFDie.cpp | 110 dumpAttribute(raw_ostream & OS,const DWARFDie & Die,const DWARFAttribute & AttrValue,unsigned Indent,DIDumpOptions DumpOpts) dumpAttribute() argument 286 DWARFDie Die = Worklist.pop_back_val(); findRecursively() local 494 getTypeSizeImpl(DWARFDie Die,uint64_t PointerSize,SmallPtrSetImpl<const DWARFDebugInfoEntry * > & Visited) getTypeSizeImpl() argument 566 dumpParentChain(DWARFDie Die,raw_ostream & OS,unsigned Indent,DIDumpOptions DumpOpts,unsigned Depth=0) dumpParentChain() argument [all...] |
/llvm-project/llvm/tools/llvm-dwarfdump/ |
H A D | llvm-dwarfdump.cpp | 398 const StringSet<> &Names, DWARFDie Die, StringRef NameRef, raw_ostream &OS, in filterByName() argument 433 DWARFDie Die = {Unit, &Entry}; in filterByName() local 458 if (DWARFDie Die in getDies() local 488 if (DWARFDie Die = toDie(Entry, DICtx)) getDies() local 509 for (DWARFDie Die : Dies) filterByAccelName() local 523 DWARFDie Die = DICtx.getDIEForOffset(*Off); findAllApple() local 539 for (DWARFDie Die : Dies) findAllApple() local [all...] |
/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_termination.cpp | 50 void NORETURN Die() { in Die() function
|
/llvm-project/bolt/lib/Core/ |
H A D | DebugNames.cpp | 118 static bool shouldIncludeVariable(const DWARFUnit &Unit, const DIE &Die) { in shouldIncludeVariable() argument 151 canProcess(const DWARFUnit & Unit,const DIE & Die,std::string & NameToUse,const bool TagsOnly) canProcess() argument 191 canGenerateEntryWithCrossCUReference(const DWARFUnit & Unit,const DIE & Die,const DWARFAbbreviationDeclaration::AttributeSpec & AttrSpec) canGenerateEntryWithCrossCUReference() argument 226 addAccelTableEntry(DWARFUnit & Unit,const DIE & Die,const std::optional<uint64_t> & DWOID,const uint32_t NumberParentsInChain,std::optional<BOLTDWARF5AccelTableData * > & Parent) addAccelTableEntry() argument [all...] |
/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
H A D | DWARFLinker.h | 357 DWARFDie Die; member 368 : Die(Die), Type(T), CU(CU), Flags(Flags), AncestorIdx(0) {} in Die() function 372 : Die(Die), Type(T), CU(CU), Flags(0), OtherInfo(OtherInfo) {} in Die() function
|