/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFDie.h | 45 const DWARFDebugInfoEntry *Die = nullptr; variable 49 DWARFDie(DWARFUnit *Unit, const DWARFDebugInfoEntry *D) : U(Unit), Die(D) {} in DWARFDie() 51 bool isValid() const { return U && Die; } in isValid() 53 const DWARFDebugInfoEntry *getDebugInfoEntry() const { return Die; } in getDebugInfoEntry() 61 return Die->getAbbreviationDeclarationPtr(); in getAbbreviationDeclarationPtr() 69 return Die->getOffset(); in getOffset() 81 return Die->hasChildren(); in hasChildren() 286 DWARFDie Die; variable 338 DWARFDie Die; variable 347 explicit iterator(DWARFDie D) : Die(D) {} in iterator() [all …]
|
D | DWARFVerifier.h | 39 DWARFDie Die; member 48 DieRangeInfo(DWARFDie Die) : Die(Die) {} in DieRangeInfo() 163 unsigned verifyDieRanges(const DWARFDie &Die, DieRangeInfo &ParentRI); 176 unsigned verifyDebugInfoAttribute(const DWARFDie &Die, 191 unsigned verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue); 246 unsigned verifyNameIndexCompleteness(const DWARFDie &Die, 311 return std::tie(LHS.Ranges, LHS.Die) < std::tie(RHS.Ranges, RHS.Die);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfUnit.h | 130 virtual void addGlobalName(StringRef Name, const DIE &Die, 134 virtual void addGlobalType(const DIType *Ty, const DIE &Die, 155 void addFlag(DIE &Die, dwarf::Attribute Attribute); 158 void addUInt(DIEValueList &Die, dwarf::Attribute Attribute, 164 void addSInt(DIEValueList &Die, dwarf::Attribute Attribute, 167 void addSInt(DIELoc &Die, Optional<dwarf::Form> Form, int64_t Integer); 175 void addString(DIE &Die, dwarf::Attribute Attribute, StringRef Str); 178 DIEValueList::value_iterator addLabel(DIEValueList &Die, 183 void addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label); 186 void addSectionOffset(DIE &Die, dwarf::Attribute Attribute, uint64_t Integer); [all …]
|
D | DIEHash.cpp | 33 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) { in getDIEStringAttr() argument 36 for (const auto &V : Die.values()) in getDIEStringAttr() 101 const DIE &Die = **I; in addParentContext() local 107 addULEB128(Die.getTag()); in addParentContext() 110 StringRef Name = getDIEStringAttr(Die, dwarf::DW_AT_name); in addParentContext() 118 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) { in collectAttributes() argument 120 for (const auto &V : Die.values()) { in collectAttributes() 331 void DIEHash::addAttributes(const DIE &Die) { in addAttributes() argument 333 collectAttributes(Die, Attrs); in addAttributes() 334 hashAttributes(Attrs, Die.getTag()); in addAttributes() [all …]
|
D | DwarfUnit.cpp | 200 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) { in addFlag() argument 202 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag_present, in addFlag() 205 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag, in addFlag() 209 void DwarfUnit::addUInt(DIEValueList &Die, dwarf::Attribute Attribute, in addUInt() argument 215 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer)); in addUInt() 223 void DwarfUnit::addSInt(DIEValueList &Die, dwarf::Attribute Attribute, in addSInt() argument 227 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer)); in addSInt() 230 void DwarfUnit::addSInt(DIELoc &Die, Optional<dwarf::Form> Form, in addSInt() argument 232 addSInt(Die, (dwarf::Attribute)0, Form, Integer); in addSInt() 235 void DwarfUnit::addString(DIE &Die, dwarf::Attribute Attribute, in addString() argument [all …]
|
D | DIEHash.h | 39 uint64_t computeCUSignature(StringRef DWOName, const DIE &Die); 42 uint64_t computeTypeSignature(const DIE &Die); 50 void addAttributes(const DIE &Die); 53 void computeHash(const DIE &Die); 72 void collectAttributes(const DIE &Die, DIEAttrs &Attrs); 101 void hashNestedType(const DIE &Die, StringRef Name);
|
D | AsmPrinterDwarf.cpp | 230 void AsmPrinter::emitDwarfDIE(const DIE &Die) const { in emitDwarfDIE() 233 OutStreamer->AddComment("Abbrev [" + Twine(Die.getAbbrevNumber()) + "] 0x" + in emitDwarfDIE() 234 Twine::utohexstr(Die.getOffset()) + ":0x" + in emitDwarfDIE() 235 Twine::utohexstr(Die.getSize()) + " " + in emitDwarfDIE() 236 dwarf::TagString(Die.getTag())); in emitDwarfDIE() 237 EmitULEB128(Die.getAbbrevNumber()); in emitDwarfDIE() 240 for (const auto &V : Die.values()) { in emitDwarfDIE() 256 if (Die.hasChildren()) { in emitDwarfDIE() 257 for (auto &Child : Die.children()) in emitDwarfDIE()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfUnit.h | 141 virtual void addGlobalName(StringRef Name, DIE &Die, const DIScope *Context) { in addGlobalName() argument 145 virtual void addGlobalType(const DIType *Ty, const DIE &Die, in addGlobalType() argument 166 void addFlag(DIE &Die, dwarf::Attribute Attribute); 169 void addUInt(DIEValueList &Die, dwarf::Attribute Attribute, 175 void addSInt(DIEValueList &Die, dwarf::Attribute Attribute, 178 void addSInt(DIELoc &Die, Optional<dwarf::Form> Form, int64_t Integer); 186 void addString(DIE &Die, dwarf::Attribute Attribute, StringRef Str); 189 DIEValueList::value_iterator addLabel(DIEValueList &Die, 194 void addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label); 197 void addSectionOffset(DIE &Die, dwarf::Attribute Attribute, uint64_t Integer); [all …]
|
D | DwarfFile.cpp | 31 DIEAbbrev &DwarfFile::assignAbbrevNumber(DIE &Die) { in assignAbbrevNumber() argument 33 DIEAbbrev Abbrev = Die.generateAbbrev(); in assignAbbrevNumber() 39 Die.setAbbrevNumber(Existing->getNumber()); in assignAbbrevNumber() 47 Die.setAbbrevNumber(Abbreviations.size()); in assignAbbrevNumber() 66 DIE &Die = TheU->getUnitDie(); in emitUnit() local 72 Asm->emitDwarfDIE(Die); in emitUnit() 100 unsigned DwarfFile::computeSizeAndOffset(DIE &Die, unsigned Offset) { in computeSizeAndOffset() argument 102 const DIEAbbrev &Abbrev = assignAbbrevNumber(Die); in computeSizeAndOffset() 105 Die.setOffset(Offset); in computeSizeAndOffset() 108 Offset += getULEB128Size(Die.getAbbrevNumber()); in computeSizeAndOffset() [all …]
|
D | DIEHash.cpp | 33 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) { in getDIEStringAttr() argument 36 for (const auto &V : Die.values()) in getDIEStringAttr() 101 const DIE &Die = **I; in addParentContext() local 107 addULEB128(Die.getTag()); in addParentContext() 110 StringRef Name = getDIEStringAttr(Die, dwarf::DW_AT_name); in addParentContext() 118 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) { in collectAttributes() argument 124 for (const auto &V : Die.values()) { in collectAttributes() 423 void DIEHash::addAttributes(const DIE &Die) { in addAttributes() argument 425 collectAttributes(Die, Attrs); in addAttributes() 426 hashAttributes(Attrs, Die.getTag()); in addAttributes() [all …]
|
D | DwarfUnit.cpp | 184 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) { in addFlag() argument 186 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag_present, in addFlag() 189 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag, in addFlag() 193 void DwarfUnit::addUInt(DIEValueList &Die, dwarf::Attribute Attribute, in addUInt() argument 197 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer)); in addUInt() 205 void DwarfUnit::addSInt(DIEValueList &Die, dwarf::Attribute Attribute, in addSInt() argument 209 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer)); in addSInt() 212 void DwarfUnit::addSInt(DIELoc &Die, Optional<dwarf::Form> Form, in addSInt() argument 214 addSInt(Die, (dwarf::Attribute)0, Form, Integer); in addSInt() 217 void DwarfUnit::addString(DIE &Die, dwarf::Attribute Attribute, in addString() argument [all …]
|
D | DwarfCompileUnit.cpp | 31 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute, in addLabelAddress() argument 40 return addLocalLabelAddress(Die, Attribute, Label); in addLabelAddress() 46 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_GNU_addr_index, in addLabelAddress() 50 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die, in addLocalLabelAddress() argument 57 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_addr, in addLocalLabelAddress() 60 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_addr, in addLocalLabelAddress() 107 if (DIE *Die = getDIE(GV)) in getOrCreateGlobalVariableDIE() local 108 return Die; in getOrCreateGlobalVariableDIE() 249 DwarfCompileUnit::addSectionLabel(DIE &Die, dwarf::Attribute Attribute, in addSectionLabel() argument 252 return addLabel(Die, Attribute, in addSectionLabel() [all …]
|
D | DwarfCompileUnit.h | 104 void addLabelAddress(DIE &Die, dwarf::Attribute Attribute, 109 void addLocalLabelAddress(DIE &Die, dwarf::Attribute Attribute, 113 DIE::value_iterator addSectionDelta(DIE &Die, dwarf::Attribute Attribute, 138 DIE::value_iterator addSectionLabel(DIE &Die, dwarf::Attribute Attribute, 215 void addGlobalName(StringRef Name, DIE &Die, const DIScope *Context) override; 218 void addGlobalType(const DIType *Ty, const DIE &Die, 226 void addVariableAddress(const DbgVariable &DV, DIE &Die, 229 void addAddress(DIE &Die, dwarf::Attribute Attribute, 236 void addComplexAddress(const DbgVariable &DV, DIE &Die, 241 void addLocationList(DIE &Die, dwarf::Attribute Attribute, unsigned Index); [all …]
|
D | DIEHash.h | 88 uint64_t computeCUSignature(const DIE &Die); 91 uint64_t computeTypeSignature(const DIE &Die); 96 void addParentContext(const DIE &Die); 99 void addAttributes(const DIE &Die); 102 void computeHash(const DIE &Die); 121 void collectAttributes(const DIE &Die, DIEAttrs &Attrs); 150 void hashNestedType(const DIE &Die, StringRef Name);
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/ |
D | Statistics.cpp | 36 static uint64_t getLowPC(DWARFDie Die) { in getLowPC() argument 37 auto RangesOrError = Die.getAddressRanges(); in getLowPC() 45 return dwarf::toAddress(Die.find(dwarf::DW_AT_low_pc), 0); in getLowPC() 49 static void collectStatsForDie(DWARFDie Die, std::string Prefix, in collectStatsForDie() argument 56 if (Die.find(dwarf::DW_AT_const_value)) { in collectStatsForDie() 60 } else if (Die.getTag() == dwarf::DW_TAG_variable || in collectStatsForDie() 61 Die.getTag() == dwarf::DW_TAG_formal_parameter) { in collectStatsForDie() 63 auto FormValue = Die.find(dwarf::DW_AT_location); in collectStatsForDie() 68 auto *DebugLoc = Die.getDwarfUnit()->getContext().getDebugLoc(); in collectStatsForDie() 74 uint64_t UnitOfs = getLowPC(Die.getDwarfUnit()->getUnitDIE()); in collectStatsForDie() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
D | DwarfCompileUnit.h | 91 void addGlobal(StringRef Name, DIE *Die) { Globals[Name] = Die; } in addGlobal() argument 145 void addUInt(DIE *Die, unsigned Attribute, unsigned Form, uint64_t Integer); 149 void addSInt(DIE *Die, unsigned Attribute, unsigned Form, int64_t Integer); 153 void addString(DIE *Die, unsigned Attribute, unsigned Form, 158 void addLabel(DIE *Die, unsigned Attribute, unsigned Form, 163 void addDelta(DIE *Die, unsigned Attribute, unsigned Form, 168 void addDIEEntry(DIE *Die, unsigned Attribute, unsigned Form, DIE *Entry); 172 void addBlock(DIE *Die, unsigned Attribute, unsigned Form, DIEBlock *Block); 176 void addSourceLine(DIE *Die, DIVariable V); 177 void addSourceLine(DIE *Die, DIGlobalVariable G); [all …]
|
D | DwarfCompileUnit.cpp | 53 void CompileUnit::addUInt(DIE *Die, unsigned Attribute, in addUInt() argument 58 Die->addValue(Attribute, Form, Value); in addUInt() 63 void CompileUnit::addSInt(DIE *Die, unsigned Attribute, in addSInt() argument 67 Die->addValue(Attribute, Form, Value); in addSInt() 72 void CompileUnit::addString(DIE *Die, unsigned Attribute, unsigned Form, in addString() argument 75 Die->addValue(Attribute, Form, Value); in addString() 80 void CompileUnit::addLabel(DIE *Die, unsigned Attribute, unsigned Form, in addLabel() argument 83 Die->addValue(Attribute, Form, Value); in addLabel() 88 void CompileUnit::addDelta(DIE *Die, unsigned Attribute, unsigned Form, in addDelta() argument 91 Die->addValue(Attribute, Form, Value); in addDelta() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFVerifier.cpp | 178 auto Die = Unit.getDIEAtIndex(I); in verifyUnitContents() local 179 if (Die.getTag() == DW_TAG_null) in verifyUnitContents() 181 for (auto AttrValue : Die.attributes()) { in verifyUnitContents() 182 NumUnitErrors += verifyDebugInfoAttribute(Die, AttrValue); in verifyUnitContents() 183 NumUnitErrors += verifyDebugInfoForm(Die, AttrValue); in verifyUnitContents() 187 DWARFDie Die = Unit.getUnitDIE(/* ExtractUnitDIEOnly = */ false); in verifyUnitContents() local 188 if (!Die) { in verifyUnitContents() 194 if (!dwarf::isUnitType(Die.getTag())) { in verifyUnitContents() 196 << dwarf::TagString(Die.getTag()) << ".\n"; in verifyUnitContents() 201 !DWARFUnit::isMatchingUnitTypeAndTag(UnitType, Die.getTag())) { in verifyUnitContents() [all …]
|
D | DWARFDie.cpp | 138 static void dumpTypeName(raw_ostream &OS, const DWARFDie &Die) { in dumpTypeName() argument 139 DWARFDie D = Die.getAttributeValueAsReferencedDie(DW_AT_type); in dumpTypeName() 187 static void dumpAttribute(raw_ostream &OS, const DWARFDie &Die, in dumpAttribute() argument 191 if (!Die.isValid()) in dumpAttribute() 201 DWARFUnit *U = Die.getDwarfUnit(); in dumpAttribute() 235 if (Die.getLowAndHighPC(LowPC, HighPC, Index)) in dumpAttribute() 251 if (const char *Name = Die.getAttributeValueAsReferencedDie(Attr).getName( in dumpAttribute() 256 dumpTypeName(OS, Die); in dumpAttribute() 262 const DWARFObject &Obj = Die.getDwarfUnit()->getContext().getDWARFObj(); in dumpAttribute() 265 Optional<DWARFFormValue> Value = Die.find(DW_AT_ranges); in dumpAttribute() [all …]
|
D | DWARFUnit.cpp | 475 void DWARFUnit::updateAddressDieMap(DWARFDie Die) { in updateAddressDieMap() argument 476 if (Die.isSubroutineDIE()) { in updateAddressDieMap() 477 auto DIERangesOrError = Die.getAddressRanges(); in updateAddressDieMap() 492 AddrDieMap[R.LowPC] = std::make_pair(R.HighPC, Die); in updateAddressDieMap() 502 for (DWARFDie Child = Die.getFirstChild(); Child; Child = Child.getSibling()) in updateAddressDieMap() 550 DWARFDie DWARFUnit::getParent(const DWARFDebugInfoEntry *Die) { in getParent() argument 551 if (!Die) in getParent() 553 const uint32_t Depth = Die->getDepth(); in getParent() 562 for (uint32_t I = getDIEIndex(Die) - 1; I > 0; --I) { in getParent() 569 DWARFDie DWARFUnit::getSibling(const DWARFDebugInfoEntry *Die) { in getSibling() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | CompileUnit.cpp | 70 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, in noteForwardReference() argument 72 ForwardDIEReferences.emplace_back(Die, RefUnit, Ctxt, Attr); in noteForwardReference() 100 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { in noteRangeAttribute() argument 101 if (Die.getTag() != dwarf::DW_TAG_compile_unit) in noteRangeAttribute() 111 void CompileUnit::addNamespaceAccelerator(const DIE *Die, in addNamespaceAccelerator() argument 113 Namespaces.emplace_back(Name, Die); in addNamespaceAccelerator() 116 void CompileUnit::addObjCAccelerator(const DIE *Die, in addObjCAccelerator() argument 119 ObjC.emplace_back(Name, Die, SkipPubSection); in addObjCAccelerator() 122 void CompileUnit::addNameAccelerator(const DIE *Die, in addNameAccelerator() argument 125 Pubnames.emplace_back(Name, Die, SkipPubSection); in addNameAccelerator() [all …]
|
D | DwarfLinker.cpp | 158 bool DwarfLinker::DIECloner::getDIENames(const DWARFDie &Die, in getDIENames() argument 165 if (Die.getTag() == dwarf::DW_TAG_lexical_block) in getDIENames() 171 if (const char *MangledName = Die.getName(DINameKind::LinkageName)) in getDIENames() 175 if (const char *Name = Die.getName(DINameKind::ShortName)) in getDIENames() 678 const DWARFDie &Die, CompileUnit::DIEInfo &MyInfo, in keepDIEAndDependencies() argument 684 MyInfo.Incomplete = Die.getTag() != dwarf::DW_TAG_subprogram && in keepDIEAndDependencies() 685 Die.getTag() != dwarf::DW_TAG_member && in keepDIEAndDependencies() 686 dwarf::toUnsigned(Die.find(dwarf::DW_AT_declaration), 0); in keepDIEAndDependencies() 701 const auto *Abbrev = Die.getAbbreviationDeclarationPtr(); in keepDIEAndDependencies() 702 uint32_t Offset = Die.getOffset() + getULEB128Size(Abbrev->getCode()); in keepDIEAndDependencies() [all …]
|
D | CompileUnit.h | 163 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit, 178 void noteRangeAttribute(const DIE &Die, PatchLocation Attr); 185 void addNamespaceAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name); 188 void addNameAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name, 194 void addObjCAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name, 199 void addTypeAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name, 208 const DIE *Die; member 219 AccelInfo(DwarfStringPoolEntryRef Name, const DIE *Die, 221 : Name(Name), Die(Die), SkipPubSection(SkipPubSection) {} in Name() 223 AccelInfo(DwarfStringPoolEntryRef Name, const DIE *Die, in AccelInfo() [all …]
|
/external/freetype/src/tools/ |
D | afblue.pl | 93 sub Die subroutine 326 Die("unbalanced #elif") unless @else_stack; 340 Die("unbalanced #else") unless defined($prev_else); 341 Die("#else already seen") if $prev_else; 356 Die("unbalanced #endif") unless defined($prev_else); 419 Die("strings and blocks can't be mixed in a section") if $have_blocks; 449 Die("strings and blocks can't be mixed in a section") if $have_strings; 466 Die("invalid data after last matching closing brace") 515 Die("syntax error");
|
/external/llvm/tools/dsymutil/ |
D | DwarfLinker.cpp | 128 bool setLastSeenDIE(CompileUnit &U, const DWARFDebugInfoEntryMinimal *Die); 228 void setOutputUnitDIE(DIE *Die) { CUDie = Die; } in setOutputUnitDIE() argument 275 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit, 287 void noteRangeAttribute(const DIE &Die, PatchLocation Attr); 295 void addNameAccelerator(const DIE *Die, const char *Name, uint32_t Offset, 300 void addTypeAccelerator(const DIE *Die, const char *Name, uint32_t Offset); 304 const DIE *Die; ///< DIE this entry describes. member 308 AccelInfo(StringRef Name, const DIE *Die, uint32_t NameOffset, in AccelInfo() 310 : Name(Name), Die(Die), NameOffset(NameOffset), in AccelInfo() 411 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, in noteForwardReference() argument [all …]
|