Home
last modified time | relevance | path

Searched refs:DIE (Results 1 – 25 of 90) sorted by relevance

1234

/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h80 DIE &UnitDie;
93 DIE *IndexTyDie;
97 DenseMap<const MDNode *, DIE *> MDNodeToDieMap;
108 DenseMap<DIE *, const DINode *> ContainingTypeMap;
116 bool applySubprogramDefinitionAttributes(const DISubprogram *SP, DIE &SPDie);
133 DIE &getUnitDie() { return UnitDie; } in getUnitDie()
151 virtual void addGlobalName(StringRef Name, DIE &Die, const DIScope *Context) { in addGlobalName()
155 virtual void addGlobalType(const DIType *Ty, const DIE &Die, in addGlobalType()
163 DIE *getDIE(const DINode *D) const;
173 void insertDIE(const DINode *Desc, DIE *D);
[all …]
DDwarfCompileUnit.h25 class DIE; variable
34 DIE::value_iterator StmtListValue;
49 StringMap<const DIE *> GlobalNames;
52 StringMap<const DIE *> GlobalTypes;
67 DIE *constructVariableDIEImpl(const DbgVariable &DV, bool Abstract);
84 void applyStmtList(DIE &D);
87 DIE *getOrCreateGlobalVariableDIE(const DIGlobalVariable *GV);
91 void addLabelAddress(DIE &Die, dwarf::Attribute Attribute,
96 void addLocalLabelAddress(DIE &Die, dwarf::Attribute Attribute,
100 DIE::value_iterator addSectionDelta(DIE &Die, dwarf::Attribute Attribute,
[all …]
DDwarfCompileUnit.cpp30 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute, in addLabelAddress()
49 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die, in addLocalLabelAddress()
103 DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE( in getOrCreateGlobalVariableDIE()
106 if (DIE *Die = getDIE(GV)) in getOrCreateGlobalVariableDIE()
116 DIE *ContextDIE = getOrCreateContextDIE(GVContext); in getOrCreateGlobalVariableDIE()
119 DIE *VariableDIE = &createAndAddDIE(GV->getTag(), *ContextDIE, GV); in getOrCreateGlobalVariableDIE()
126 DIE *VariableSpecDIE = getOrCreateStaticMemberDIE(SDMDecl); in getOrCreateGlobalVariableDIE()
236 DIE::value_iterator
237 DwarfCompileUnit::addSectionLabel(DIE &Die, dwarf::Attribute Attribute, in addSectionLabel()
263 void DwarfCompileUnit::applyStmtList(DIE &D) { in applyStmtList()
[all …]
DDwarfUnit.cpp48 DIELoc &DIE) in DIEDwarfExpression() argument
51 AP(AP), DU(DU), DIE(DIE) {} in DIEDwarfExpression()
54 DU.addUInt(DIE, dwarf::DW_FORM_data1, Op); in EmitOp()
57 DU.addSInt(DIE, dwarf::DW_FORM_sdata, Value); in EmitSigned()
60 DU.addUInt(DIE, dwarf::DW_FORM_udata, Value); in EmitUnsigned()
70 UnitDie(*DIE::get(DIEValueAllocator, UnitTag)), DebugInfoOffset(0), in DwarfUnit()
172 DIE *DwarfUnit::getDIE(const DINode *D) const { in getDIE()
178 void DwarfUnit::insertDIE(const DINode *Desc, DIE *D) { in insertDIE()
186 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) { in addFlag()
219 void DwarfUnit::addString(DIE &Die, dwarf::Attribute Attribute, in addString()
[all …]
DDIEHash.h88 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);
128 void hashBlockData(const DIE::const_value_range &Values);
138 const DIE &Entry);
143 void hashShallowTypeReference(dwarf::Attribute Attribute, const DIE &Entry,
150 void hashNestedType(const DIE &Die, StringRef Name);
[all …]
DDwarfFile.h30 class DIE; variable
57 DenseMap<const MDNode *, DIE *> AbstractSPDies;
62 DenseMap<const MDNode *, DIE *> DITypeNodeToDieMap;
72 unsigned computeSizeAndOffset(DIE &Die, unsigned Offset);
81 DIEAbbrev &assignAbbrevNumber(DIE &Die);
106 DenseMap<const MDNode *, DIE *> &getAbstractSPDies() { in getAbstractSPDies()
110 void insertDIE(const MDNode *TypeMD, DIE *Die) { in insertDIE()
113 DIE *getDIE(const MDNode *TypeMD) { in getDIE()
DDIEHash.cpp33 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) { in getDIEStringAttr()
81 void DIEHash::addParentContext(const DIE &Parent) { in addParentContext()
87 SmallVector<const DIE *, 1> Parents; in addParentContext()
88 const DIE *Cur = &Parent; in addParentContext()
98 for (SmallVectorImpl<const DIE *>::reverse_iterator I = Parents.rbegin(), in addParentContext()
101 const DIE &Die = **I; in addParentContext()
118 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) { in collectAttributes()
185 const DIE &Entry, StringRef Name) { in hashShallowTypeReference()
193 if (const DIE *Parent = Entry.getParent()) in hashShallowTypeReference()
224 const DIE &Entry) { in hashDIEEntry()
[all …]
DDwarfDebug.h68 DIE *TheDIE = nullptr; /// Variable DIE.
114 void setDIE(DIE &D) { TheDIE = &D; } in setDIE()
115 DIE *getDIE() const { return TheDIE; } in getDIE()
208 DenseMap<const DIE *, DwarfCompileUnit *> CUDieMap;
398 const StringMap<const DIE *> &(DwarfCompileUnit::*Accessor)() const);
418 void initSkeletonUnit(const DwarfUnit &U, DIE &Die,
439 void addGnuPubAttributes(DwarfUnit &U, DIE &D) const;
515 DIE &Die, const DICompositeType *CTy);
581 DwarfCompileUnit *lookupUnit(const DIE *CU) const { in lookupUnit()
585 void addSubprogramNames(const DISubprogram *SP, DIE &Die);
[all …]
DDIE.cpp111 DIEAbbrev DIE::generateAbbrev() const { in generateAbbrev()
120 const DIE *DIE::getUnit() const { in getUnit()
121 const DIE *Cu = getUnitOrNull(); in getUnit()
128 const DIE *DIE::getUnitOrNull() const { in getUnitOrNull()
129 const DIE *p = this; in getUnitOrNull()
139 DIEValue DIE::findAttribute(dwarf::Attribute Attribute) const { in findAttribute()
165 void DIE::print(raw_ostream &O, unsigned IndentCount) const { in print()
190 void DIE::dump() { in dump()
DDwarfFile.cpp30 DIEAbbrev &DwarfFile::assignAbbrevNumber(DIE &Die) { in assignAbbrevNumber()
61 DIE &Die = TheU->getUnitDie(); in emitUnits()
93 unsigned DwarfFile::computeSizeAndOffset(DIE &Die, unsigned Offset) { in computeSizeAndOffset()
DDwarfAccelTable.h168 const DIE *Die; // Offsets
171 HashDataContents(const DIE *D, char Flags) : Die(D), Flags(Flags) {} in HashDataContents()
247 void AddName(DwarfStringPoolEntryRef Name, const DIE *Die, char Flags = 0);
/external/llvm/unittests/CodeGen/
DDIEHashTest.cpp41 DIE &Die = *DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
50 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
65 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
79 DIE &CU = *DIE::get(Alloc, dwarf::DW_TAG_compile_unit); in TEST_F()
81 auto Space = DIE::get(Alloc, dwarf::DW_TAG_namespace); in TEST_F()
90 auto Foo = DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
95 DIE &N = *Foo; in TEST_F()
107 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type); in TEST_F()
111 DIE &Int = *DIE::get(Alloc, dwarf::DW_TAG_base_type); in TEST_F()
120 auto Member = DIE::get(Alloc, dwarf::DW_TAG_member); in TEST_F()
[all …]
/external/llvm/include/llvm/CodeGen/
DDIE.h223 class DIE; variable
225 DIE *Entry;
230 explicit DIEEntry(DIE &E) : Entry(&E) {} in DIEEntry()
232 DIE &getEntry() const { return *Entry; } in getEntry()
344 destruct<DIE##T>(); in destroyVal()
348 destruct<const DIE##T *>(); in destroyVal()
365 construct<DIE##T>(*X.get<DIE##T>()); \ in copyVal()
369 construct<const DIE##T *>(*X.get<const DIE##T *>()); \ in copyVal()
391 DIEValue(dwarf::Attribute Attribute, dwarf::Form Form, const DIE##T &V) \
393 construct<DIE##T>(V); \
[all …]
/external/llvm/lib/DebugInfo/DWARF/
DDWARFUnit.cpp164 for (auto &DIE : DieArray) { in setDIERelations() local
166 SiblingChain->setSibling(&DIE); in setDIERelations()
169 DIE.getAbbreviationDeclarationPtr()) { in setDIERelations()
172 ParentChain.push_back(&DIE); in setDIERelations()
175 SiblingChain = &DIE; in setDIERelations()
197 DWARFDebugInfoEntryMinimal DIE; in extractDIEsToVector() local
201 while (DIEOffset < NextCUOffset && DIE.extractFast(this, &DIEOffset)) { in extractDIEsToVector()
204 Dies.push_back(DIE); in extractDIEsToVector()
213 Dies.push_back(DIE); in extractDIEsToVector()
217 DIE.getAbbreviationDeclarationPtr()) { in extractDIEsToVector()
[all …]
DDWARFDebugInfoEntry.cpp29 static const DWARFUnit *findUnitAndExtractFast(DWARFDebugInfoEntryMinimal &DIE, in findUnitAndExtractFast() argument
33 return (Unit && DIE.extractFast(Unit, Offset)) ? Unit : nullptr; in findUnitAndExtractFast()
168 DWARFDebugInfoEntryMinimal DIE; in dumpAttribute() local
169 if (const DWARFUnit *RefU = findUnitAndExtractFast(DIE, u, &RefOffset)) in dumpAttribute()
170 if (const char *Name = DIE.getName(RefU, DINameKind::LinkageName)) in dumpAttribute()
440 for (const DWARFDebugInfoEntryMinimal *DIE = this; DIE; ) { in getInlinedChainForAddress() local
443 if (DIE->isSubroutineDIE()) { in getInlinedChainForAddress()
444 InlinedChain.DIEs.push_back(*DIE); in getInlinedChainForAddress()
447 const DWARFDebugInfoEntryMinimal *Child = DIE->getFirstChild(); in getInlinedChainForAddress()
455 DIE = Child; in getInlinedChainForAddress()
/external/libxml2/
Dautogen.sh9 DIE=0
16 DIE=1
24 DIE=1
29 DIE=1
35 if test "$DIE" -eq 1; then
/external/clang/test/Parser/
Dcxx-decl.cpp165 struct DIE {
169 void test (DIE die, DIE *Die, DIE INT, DIE *FLOAT) {
170 DIE.foo(); // expected-error {{cannot use dot operator on a type}}
173 DIE->foo(); // expected-error {{cannot use arrow operator on a type}}
/external/elfutils/tests/
Drun-readelf-aranges.sh154 [0] start: 0x080482f0, length: 52, CU DIE offset: 11
155 [1] start: 0x08048330, length: 11, CU DIE offset: 321
156 [2] start: 0x08048340, length: 11, CU DIE offset: 476
157 [3] start: 0x08048440, length: 18, CU DIE offset: 321
158 [4] start: 0x08048460, length: 92, CU DIE offset: 476
/external/dbus/
Dautogen.sh14 DIE=0
27 DIE=1
47 DIE=1
59 DIE=1
62 if test "$DIE" -eq 1; then
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp58 DIE::value_iterator I;
61 PatchLocation(DIE::value_iterator I) : I(I) {} in PatchLocation()
176 const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &Unit,
191 DIE *Clone; ///< Cloned version of that DIE.
227 DIE *getOutputUnitDIE() const { return CUDie; } in getOutputUnitDIE()
228 void setOutputUnitDIE(DIE *Die) { CUDie = Die; } in setOutputUnitDIE()
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);
[all …]
/external/libmicrohttpd/src/spdy2http/
Dproxy.c137 #define DIE(msg) do{\ macro
378 DIE("no memory"); in new_session_cb()
492 DIE("bug in cleanup"); in cleanup()
566 DIE("no response"); in curl_header_cb()
604 DIE("error on parsing headers"); in curl_header_cb()
606 DIE("No memory"); in curl_header_cb()
612 DIE("No memory"); in curl_header_cb()
621 DIE("No memory"); in curl_header_cb()
632 DIE("No memory"); in curl_header_cb()
646 DIE("SPDY_name_value_add failed"); in curl_header_cb()
[all …]
/external/libvorbis/
Dautogen.sh14 DIE=0
22 DIE=1
103 DIE=1
106 if test "$DIE" -eq 1; then
/external/libmicrohttpd/src/examples/
Dmhd2spdy.c96 DIE("Regexp compilation failed"); in run_everything()
102 DIE("spdy_parse_uri failed"); in run_everything()
122 DIE("MHD_start_daemon failed"); in run_everything()
308 DIE("default from getopt"); in main()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnit.h237 uint32_t getDIEIndex(const DWARFDebugInfoEntryMinimal *DIE) { in getDIEIndex() argument
238 assert(!DieArray.empty() && DIE >= &DieArray[0] && in getDIEIndex()
239 DIE < &DieArray[0] + DieArray.size()); in getDIEIndex()
240 return DIE - &DieArray[0]; in getDIEIndex()
/external/vboot_reference/futility/
Dfutility.h82 #ifndef DIE
83 #define DIE do { \ macro

1234