Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h41 const OwningPtr<DIE> CUDie;
49 DIE *IndexTyDie;
53 DenseMap<const MDNode *, DIE *> MDNodeToDieMap;
61 StringMap<DIE*> Globals;
65 StringMap<DIE*> GlobalTypes;
73 DenseMap<DIE *, const MDNode *> ContainingTypeMap;
76 CompileUnit(unsigned I, DIE *D, AsmPrinter *A, DwarfDebug *DW);
81 DIE* getCUDie() const { return CUDie.get(); } in getCUDie()
82 const StringMap<DIE*> &getGlobals() const { return Globals; } in getGlobals()
83 const StringMap<DIE*> &getGlobalTypes() const { return GlobalTypes; } in getGlobalTypes()
[all …]
DDwarfCompileUnit.cpp33 CompileUnit::CompileUnit(unsigned I, DIE *D, AsmPrinter *A, DwarfDebug *DW) in CompileUnit()
46 DIEEntry *CompileUnit::createDIEEntry(DIE *Entry) { in createDIEEntry()
53 void CompileUnit::addUInt(DIE *Die, unsigned Attribute, in addUInt()
63 void CompileUnit::addSInt(DIE *Die, unsigned Attribute, in addSInt()
72 void CompileUnit::addString(DIE *Die, unsigned Attribute, unsigned Form, in addString()
80 void CompileUnit::addLabel(DIE *Die, unsigned Attribute, unsigned Form, in addLabel()
88 void CompileUnit::addDelta(DIE *Die, unsigned Attribute, unsigned Form, in addDelta()
96 void CompileUnit::addDIEEntry(DIE *Die, unsigned Attribute, unsigned Form, in addDIEEntry()
97 DIE *Entry) { in addDIEEntry()
104 void CompileUnit::addBlock(DIE *Die, unsigned Attribute, unsigned Form, in addBlock()
[all …]
DDwarfDebug.h40 class DIE; variable
126 DIE *TheDIE; // Variable DIE.
139 void setDIE(DIE *D) { TheDIE = D; } in setDIE()
140 DIE *getDIE() const { return TheDIE; } in getDIE()
231 DenseMap<const MDNode *, DIE *> AbstractSPDies;
244 SmallPtrSet<DIE *, 4> InlinedSubprogramDIEs;
248 typedef std::pair<const MCSymbol *, DIE *> InlineInfoLabels;
322 DIE *updateSubprogramScopeDIE(CompileUnit *SPCU, const MDNode *SPNode);
326 DIE *constructLexicalScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
331 DIE *constructInlinedScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
[all …]
DDIE.h114 class DIE {
130 std::vector<DIE *> Children;
132 DIE *Parent;
141 explicit DIE(unsigned Tag) in DIE() function
144 virtual ~DIE();
152 const std::vector<DIE *> &getChildren() const { return Children; } in getChildren()
154 DIE *getParent() const { return Parent; } in getParent()
178 void addChild(DIE *Child) { in addChild()
366 DIE *const Entry;
368 explicit DIEEntry(DIE *E) : DIEValue(isEntry), Entry(E) {} in DIEEntry()
[all …]
DDwarfDebug.cpp185 DIE *DwarfDebug::updateSubprogramScopeDIE(CompileUnit *SPCU, in updateSubprogramScopeDIE()
187 DIE *SPDie = SPCU->getDIE(SPNode); in updateSubprogramScopeDIE()
214 DIE *Arg = new DIE(dwarf::DW_TAG_formal_parameter); in updateSubprogramScopeDIE()
221 DIE *SPDeclDie = SPDie; in updateSubprogramScopeDIE()
222 SPDie = new DIE(dwarf::DW_TAG_subprogram); in updateSubprogramScopeDIE()
229 if (DIE *AbsSPDIE = AbstractSPDies.lookup(SPNode)) { in updateSubprogramScopeDIE()
230 SPDie = new DIE(dwarf::DW_TAG_subprogram); in updateSubprogramScopeDIE()
249 DIE *DwarfDebug::constructLexicalScopeDIE(CompileUnit *TheCU, in constructLexicalScopeDIE()
252 DIE *ScopeDIE = new DIE(dwarf::DW_TAG_lexical_block); in constructLexicalScopeDIE()
295 DIE *DwarfDebug::constructInlinedScopeDIE(CompileUnit *TheCU, in constructInlinedScopeDIE()
[all …]
DDIE.cpp110 DIE::~DIE() { in ~DIE()
117 DIEValue *DIE::addSiblingOffset(BumpPtrAllocator &A) { in addSiblingOffset()
125 void DIE::print(raw_ostream &O, unsigned IncIndent) { in print()
172 void DIE::dump() { in dump()
366 DIE::print(O, 5); in print()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h77 DIE &UnitDie;
87 DIE *IndexTyDie;
91 DenseMap<const MDNode *, DIE *> MDNodeToDieMap;
102 DenseMap<DIE *, const DINode *> ContainingTypeMap;
110 bool applySubprogramDefinitionAttributes(const DISubprogram *SP, DIE &SPDie);
126 DIE &getUnitDie() { return UnitDie; } in getUnitDie()
141 virtual void addGlobalName(StringRef Name, DIE &Die, const DIScope *Context) { in addGlobalName()
145 virtual void addGlobalType(const DIType *Ty, const DIE &Die, in addGlobalType()
153 DIE *getDIE(const DINode *D) const;
163 void insertDIE(const DINode *Desc, DIE *D);
[all …]
DDwarfCompileUnit.h25 class DIE; variable
40 DIE::value_iterator StmtListValue;
58 StringMap<const DIE *> GlobalNames;
61 StringMap<const DIE *> GlobalTypes;
76 DIE *constructVariableDIEImpl(const DbgVariable &DV, bool Abstract);
97 void applyStmtList(DIE &D);
100 DIE *getOrCreateGlobalVariableDIE(const DIGlobalVariable *GV);
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,
[all …]
DDwarfCompileUnit.cpp31 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute, in addLabelAddress()
50 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die, in addLocalLabelAddress()
104 DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE( in getOrCreateGlobalVariableDIE()
107 if (DIE *Die = getDIE(GV)) in getOrCreateGlobalVariableDIE()
117 DIE *ContextDIE = getOrCreateContextDIE(GVContext); in getOrCreateGlobalVariableDIE()
120 DIE *VariableDIE = &createAndAddDIE(GV->getTag(), *ContextDIE, GV); in getOrCreateGlobalVariableDIE()
127 DIE *VariableSpecDIE = getOrCreateStaticMemberDIE(SDMDecl); in getOrCreateGlobalVariableDIE()
248 DIE::value_iterator
249 DwarfCompileUnit::addSectionLabel(DIE &Die, dwarf::Attribute Attribute, in addSectionLabel()
275 void DwarfCompileUnit::applyStmtList(DIE &D) { in applyStmtList()
[all …]
DDwarfUnit.cpp48 DIELoc &DIE) in DIEDwarfExpression() argument
50 DIE(DIE) {} in DIEDwarfExpression()
53 DU.addUInt(DIE, dwarf::DW_FORM_data1, Op); in EmitOp()
56 DU.addSInt(DIE, dwarf::DW_FORM_sdata, Value); in EmitSigned()
59 DU.addUInt(DIE, dwarf::DW_FORM_udata, Value); in EmitUnsigned()
68 : CUNode(Node), UnitDie(*DIE::get(DIEValueAllocator, UnitTag)), Asm(A), in DwarfUnit()
170 DIE *DwarfUnit::getDIE(const DINode *D) const { in getDIE()
176 void DwarfUnit::insertDIE(const DINode *Desc, DIE *D) { in insertDIE()
184 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) { in addFlag()
217 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.h31 class DIE; variable
58 DenseMap<const MDNode *, DIE *> AbstractSPDies;
63 DenseMap<const MDNode *, DIE *> DITypeNodeToDieMap;
75 unsigned computeSizeAndOffset(DIE &Die, unsigned Offset);
88 DIEAbbrev &assignAbbrevNumber(DIE &Die);
116 DenseMap<const MDNode *, DIE *> &getAbstractSPDies() { in getAbstractSPDies()
120 void insertDIE(const MDNode *TypeMD, DIE *Die) { in insertDIE()
123 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.h67 DIE *TheDIE = nullptr; /// Variable DIE.
116 void setDIE(DIE &D) { TheDIE = &D; } in setDIE()
117 DIE *getDIE() const { return TheDIE; } in getDIE()
201 DenseMap<const DIE *, DwarfCompileUnit *> CUDieMap;
374 const StringMap<const DIE *> &(DwarfCompileUnit::*Accessor)() const);
400 void initSkeletonUnit(const DwarfUnit &U, DIE &Die,
421 void addGnuPubAttributes(DwarfUnit &U, DIE &D) const;
480 DIE &Die, const DICompositeType *CTy);
541 DwarfCompileUnit *lookupUnit(const DIE *CU) const { in lookupUnit()
545 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()
/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.h222 class DIE; variable
224 DIE *Entry;
229 explicit DIEEntry(DIE &E) : Entry(&E) {} in DIEEntry()
231 DIE &getEntry() const { return *Entry; } in getEntry()
325 destruct<DIE##T>(); in destroyVal()
329 destruct<const DIE##T *>(); in destroyVal()
346 construct<DIE##T>(*X.get<DIE##T>()); \ in copyVal()
350 construct<const DIE##T *>(*X.get<const DIE##T *>()); \ in copyVal()
372 DIEValue(dwarf::Attribute Attribute, dwarf::Form Form, const DIE##T &V) \
374 construct<DIE##T>(V); \
[all …]
/external/llvm/lib/DebugInfo/DWARF/
DDWARFUnit.cpp165 for (auto &DIE : DieArray) { in setDIERelations() local
167 SiblingChain->setSibling(&DIE); in setDIERelations()
170 DIE.getAbbreviationDeclarationPtr()) { in setDIERelations()
173 ParentChain.push_back(&DIE); in setDIERelations()
176 SiblingChain = &DIE; in setDIERelations()
198 DWARFDebugInfoEntryMinimal DIE; in extractDIEsToVector() local
202 while (DIEOffset < NextCUOffset && DIE.extractFast(this, &DIEOffset)) { in extractDIEsToVector()
205 Dies.push_back(DIE); in extractDIEsToVector()
214 Dies.push_back(DIE); in extractDIEsToVector()
218 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.cpp174 struct DIE {
178 void test (DIE die, DIE *Die, DIE INT, DIE *FLOAT) {
179 DIE.foo(); // expected-error {{cannot use dot operator on a type}}
182 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/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

1234