Home
last modified time | relevance | path

Searched refs:Die (Results 1 – 25 of 73) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
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, dwarf::Attribute Attribute, uint64_t Integer);
[all …]
DDIEHash.cpp32 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) { in getDIEStringAttr() argument
35 for (const auto &V : Die.values()) in getDIEStringAttr()
100 const DIE &Die = **I; in addParentContext() local
106 addULEB128(Die.getTag()); in addParentContext()
109 StringRef Name = getDIEStringAttr(Die, dwarf::DW_AT_name); in addParentContext()
117 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) { in collectAttributes() argument
119 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 …]
DDwarfUnit.cpp223 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) { in addFlag() argument
225 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag_present, in addFlag()
228 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag, in addFlag()
232 void DwarfUnit::addUInt(DIEValueList &Die, dwarf::Attribute Attribute, in addUInt() argument
238 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer)); in addUInt()
246 void DwarfUnit::addSInt(DIEValueList &Die, dwarf::Attribute Attribute, in addSInt() argument
250 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer)); in addSInt()
253 void DwarfUnit::addSInt(DIELoc &Die, Optional<dwarf::Form> Form, in addSInt() argument
255 addSInt(Die, (dwarf::Attribute)0, Form, Integer); in addSInt()
258 void DwarfUnit::addString(DIE &Die, dwarf::Attribute Attribute, in addString() argument
[all …]
DDwarfCompileUnit.cpp78 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute, in addLabelAddress() argument
82 return addLocalLabelAddress(Die, Attribute, Label); in addLabelAddress()
88 Die.addValue(DIEValueAllocator, Attribute, in addLabelAddress()
94 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die, in addLocalLabelAddress() argument
101 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_addr, in addLocalLabelAddress()
104 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_addr, in addLocalLabelAddress()
125 if (DIE *Die = getDIE(GV)) in getOrCreateGlobalVariableDIE() local
126 return Die; in getOrCreateGlobalVariableDIE()
511 DIE &Die, SmallVector<RangeSpan, 2> Ranges) { in attachRangesOrLowHighPC() argument
515 attachLowHighPC(Die, Front.Begin, Back.End); in attachRangesOrLowHighPC()
[all …]
DDwarfCompileUnit.h137 DIE *Die = nullptr; member
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, dwarf::Form Form, const MCExpr *Expr);
[all …]
DDIEHash.h38 uint64_t computeCUSignature(StringRef DWOName, const DIE &Die);
41 uint64_t computeTypeSignature(const DIE &Die);
49 void addAttributes(const DIE &Die);
52 void computeHash(const DIE &Die);
71 void collectAttributes(const DIE &Die, DIEAttrs &Attrs);
100 void hashNestedType(const DIE &Die, StringRef Name);
DAsmPrinterDwarf.cpp252 void AsmPrinter::emitDwarfDIE(const DIE &Die) const { in emitDwarfDIE()
255 OutStreamer->AddComment("Abbrev [" + Twine(Die.getAbbrevNumber()) + "] 0x" + in emitDwarfDIE()
256 Twine::utohexstr(Die.getOffset()) + ":0x" + in emitDwarfDIE()
257 Twine::utohexstr(Die.getSize()) + " " + in emitDwarfDIE()
258 dwarf::TagString(Die.getTag())); in emitDwarfDIE()
259 EmitULEB128(Die.getAbbrevNumber()); in emitDwarfDIE()
262 for (const auto &V : Die.values()) { in emitDwarfDIE()
278 if (Die.hasChildren()) { in emitDwarfDIE()
279 for (auto &Child : Die.children()) in emitDwarfDIE()
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); } in lookupCU() argument
753 const DwarfCompileUnit *lookupCU(const DIE *Die) const { in lookupCU() argument
[all …]
DDwarfDebug.cpp457 const DISubprogram *SP, DIE &Die) { in addSubprogramNames() argument
466 addAccelName(CU, SP->getName(), Die); in addSubprogramNames()
473 addAccelName(CU, SP->getLinkageName(), Die); in addSubprogramNames()
480 addAccelObjC(CU, Class, Die); in addSubprogramNames()
482 addAccelObjC(CU, Category, Die); in addSubprogramNames()
484 addAccelName(CU, getObjCMethodName(SP->getName()), Die); in addSubprogramNames()
817 DIE &Die = NewCU.getUnitDie(); in finishUnitAttributes() local
824 NewCU.addString(Die, dwarf::DW_AT_producer, ProducerWithFlags); in finishUnitAttributes()
826 NewCU.addString(Die, dwarf::DW_AT_producer, Producer); in finishUnitAttributes()
828 NewCU.addUInt(Die, dwarf::DW_AT_language, dwarf::DW_FORM_data2, in finishUnitAttributes()
[all …]
DDwarfFile.h113 unsigned computeSizeAndOffset(DIE &Die, unsigned Offset);
172 void insertDIE(const MDNode *TypeMD, DIE *Die) { in insertDIE() argument
173 DITypeNodeToDieMap.insert(std::make_pair(TypeMD, Die)); in insertDIE()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDie.h45 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()
291 DWARFDie Die; variable
343 DWARFDie Die; variable
352 explicit iterator(DWARFDie D) : Die(D) {} in iterator()
[all …]
DDWARFVerifier.h39 DWARFDie Die; member
48 DieRangeInfo(DWARFDie Die) : Die(Die) {} in DieRangeInfo()
106 raw_ostream &dump(const DWARFDie &Die, unsigned indent = 0) const;
175 unsigned verifyDebugInfoCallSite(const DWARFDie &Die);
183 unsigned verifyDieRanges(const DWARFDie &Die, DieRangeInfo &ParentRI);
196 unsigned verifyDebugInfoAttribute(const DWARFDie &Die,
211 unsigned verifyDebugInfoForm(const DWARFDie &Die, DWARFAttribute &AttrValue);
266 unsigned verifyNameIndexCompleteness(const DWARFDie &Die,
331 return std::tie(LHS.Ranges, LHS.Die) < std::tie(RHS.Ranges, RHS.Die);
DDWARFUnit.h241 uint32_t getDIEIndex(const DWARFDebugInfoEntry *Die) { in getDIEIndex() argument
243 assert(Die >= First && Die < First + DieArray.size()); in getDIEIndex()
244 return Die - First; in getDIEIndex()
305 void updateAddressDieMap(DWARFDie Die);
486 DWARFDie getParent(const DWARFDebugInfoEntry *Die);
487 DWARFDie getSibling(const DWARFDebugInfoEntry *Die);
488 DWARFDie getPreviousSibling(const DWARFDebugInfoEntry *Die);
489 DWARFDie getFirstChild(const DWARFDebugInfoEntry *Die);
490 DWARFDie getLastChild(const DWARFDebugInfoEntry *Die);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFVerifier.cpp165 auto Die = Unit.getDIEAtIndex(I); in verifyUnitContents() local
167 if (Die.getTag() == DW_TAG_null) in verifyUnitContents()
170 for (auto AttrValue : Die.attributes()) { in verifyUnitContents()
171 NumUnitErrors += verifyDebugInfoAttribute(Die, AttrValue); in verifyUnitContents()
172 NumUnitErrors += verifyDebugInfoForm(Die, AttrValue); in verifyUnitContents()
175 NumUnitErrors += verifyDebugInfoCallSite(Die); in verifyUnitContents()
178 DWARFDie Die = Unit.getUnitDIE(/* ExtractUnitDIEOnly = */ false); in verifyUnitContents() local
179 if (!Die) { in verifyUnitContents()
185 if (!dwarf::isUnitType(Die.getTag())) { in verifyUnitContents()
187 << dwarf::TagString(Die.getTag()) << ".\n"; in verifyUnitContents()
[all …]
DDWARFDie.cpp233 static void dumpAttribute(raw_ostream &OS, const DWARFDie &Die, in dumpAttribute() argument
237 if (!Die.isValid()) in dumpAttribute()
247 DWARFUnit *U = Die.getDwarfUnit(); in dumpAttribute()
277 if (Die.getLowAndHighPC(LowPC, HighPC, Index)) in dumpAttribute()
295 Die.getAttributeValueAsReferencedDie(FormValue).getName( in dumpAttribute()
300 dumpTypeName(OS, Die.getAttributeValueAsReferencedDie(FormValue)); in dumpAttribute()
306 const DWARFObject &Obj = Die.getDwarfUnit()->getContext().getDWARFObj(); in dumpAttribute()
316 if (auto RangesOrError = Die.getAddressRanges()) in dumpAttribute()
370 DWARFDie Die = Worklist.back(); in findRecursively() local
373 if (!Die.isValid()) in findRecursively()
[all …]
DDWARFUnit.cpp691 void DWARFUnit::updateAddressDieMap(DWARFDie Die) { in updateAddressDieMap() argument
692 if (Die.isSubroutineDIE()) { in updateAddressDieMap()
693 auto DIERangesOrError = Die.getAddressRanges(); in updateAddressDieMap()
708 AddrDieMap[R.LowPC] = std::make_pair(R.HighPC, Die); in updateAddressDieMap()
718 for (DWARFDie Child = Die.getFirstChild(); Child; Child = Child.getSibling()) in updateAddressDieMap()
766 DWARFDie DWARFUnit::getParent(const DWARFDebugInfoEntry *Die) { in getParent() argument
767 if (!Die) in getParent()
769 const uint32_t Depth = Die->getDepth(); in getParent()
778 for (uint32_t I = getDIEIndex(Die) - 1; I > 0; --I) { in getParent()
785 DWARFDie DWARFUnit::getSibling(const DWARFDebugInfoEntry *Die) { in getSibling() argument
[all …]
DDWARFExpression.cpp265 auto Die = U->getDIEForOffset(U->getOffset() + Operands[Operand]); in print() local
266 if (Die && Die.getTag() == dwarf::DW_TAG_base_type) { in print()
268 if (auto Name = Die.find(dwarf::DW_AT_name)) in print()
327 auto Die = U->getDIEForOffset(U->getOffset() + Operands[Operand]); in verify() local
328 if (!Die || Die.getTag() != dwarf::DW_TAG_base_type) { in verify()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DWARFLinker/
DDWARFLinkerCompileUnit.cpp75 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, in noteForwardReference() argument
77 ForwardDIEReferences.emplace_back(Die, RefUnit, Ctxt, Attr); in noteForwardReference()
109 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { in noteRangeAttribute() argument
110 if (Die.getTag() != dwarf::DW_TAG_compile_unit) in noteRangeAttribute()
120 void CompileUnit::addNamespaceAccelerator(const DIE *Die, in addNamespaceAccelerator() argument
122 Namespaces.emplace_back(Name, Die); in addNamespaceAccelerator()
125 void CompileUnit::addObjCAccelerator(const DIE *Die, in addObjCAccelerator() argument
128 ObjC.emplace_back(Name, Die, SkipPubSection); in addObjCAccelerator()
131 void CompileUnit::addNameAccelerator(const DIE *Die, in addNameAccelerator() argument
134 Pubnames.emplace_back(Name, Die, SkipPubSection); in addNameAccelerator()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
DDWARFLinkerCompileUnit.h164 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
179 void noteRangeAttribute(const DIE &Die, PatchLocation Attr);
186 void addNamespaceAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name);
189 void addNameAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name,
195 void addObjCAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name,
200 void addTypeAccelerator(const DIE *Die, DwarfStringPoolEntryRef Name,
209 const DIE *Die; member
220 AccelInfo(DwarfStringPoolEntryRef Name, const DIE *Die,
222 : Name(Name), Die(Die), SkipPubSection(SkipPubSection) {} in Name()
224 AccelInfo(DwarfStringPoolEntryRef Name, const DIE *Die, in AccelInfo()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/tools/
Dafblue.pl93 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");
/third_party/skia/third_party/externals/freetype/src/tools/
Dafblue.pl93 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");
/third_party/freetype/src/tools/
Dafblue.pl93 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");
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DAccelTable.h254 DWARF5AccelTableData(const DIE &Die) : Die(Die) {} in DWARF5AccelTableData() argument
260 const DIE &getDie() const { return Die; } in getDie()
261 uint64_t getDieOffset() const { return Die.getOffset(); } in getDieOffset()
262 unsigned getDieTag() const { return Die.getTag(); } in getDieTag()
265 const DIE &Die;
267 uint64_t order() const override { return Die.getOffset(); } in order()
323 AppleAccelTableOffsetData(const DIE &D) : Die(D) {} in AppleAccelTableOffsetData()
334 uint64_t order() const override { return Die.getOffset(); } in order()
336 const DIE &Die; variable
/third_party/protobuf/conformance/
Dconformance_objc.m37 static void Die(NSString *format, ...) __dead2; function
42 static void Die(NSString *format, ...) { function
59 Die(@"Failed to read the request length (%d), only got: %@",
150 Die(@"Data not the right size for uint32_t: %@", data);
172 Die(@"Failed to read request");
179 Die(@"Failed to parse the message data: %@", error);
184 Die(@"Failed to make a reply from %@", request);
/third_party/flutter/skia/third_party/externals/angle2/src/tests/deqp_support/
Dangle_deqp_gtest.cpp152 void Die() in Die() function
247 Die(); in initialize()
254 Die(); in initialize()
276 Die(); in initialize()
283 Die(); in initialize()
312 Die(); in initialize()

123