Searched refs:DIE (Results 1 - 25 of 52) sorted by relevance

123

/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h25 class DIE;
32 /// The attribute index of DW_AT_stmt_list in the compile unit DIE, avoiding
34 DIE::value_iterator StmtListValue;
49 StringMap<const DIE *> GlobalNames;
52 StringMap<const DIE *> GlobalTypes;
65 /// \brief Construct a DIE for the given DbgVariable without initializing the
66 /// DbgVariable's DIE reference.
67 DIE *constructVariableDIEImpl(const DbgVariable &DV, bool Abstract);
83 /// Apply the DW_AT_stmt_list from this compile unit to the specified DIE.
84 void applyStmtList(DIE
[all...]
H A DDwarfUnit.h22 #include "llvm/CodeGen/DIE.h"
80 DIE &UnitDie;
93 DIE *IndexTyDie;
97 DenseMap<const MDNode *, DIE *> MDNodeToDieMap;
106 /// DW_AT_containing_type attribute. This attribute points to a DIE that
107 /// corresponds to the MDNode mapped with the subprogram DIE.
108 DenseMap<DIE *, const DINode *> ContainingTypeMap;
116 bool applySubprogramDefinitionAttributes(const DISubprogram *SP, DIE &SPDie);
133 DIE &getUnitDie() { return UnitDie; }
151 virtual void addGlobalName(StringRef Name, DIE
[all...]
H A DDIEHash.h18 #include "llvm/CodeGen/DIE.h"
27 /// attributes onto a DIE.
29 // Collection of all attributes used in hashing a particular DIE.
88 uint64_t computeCUSignature(const DIE &Die);
91 uint64_t computeTypeSignature(const DIE &Die);
93 // Helper routines to process parts of a DIE.
96 void addParentContext(const DIE &Die);
99 void addAttributes(const DIE &Die);
101 /// \brief Computes the full DWARF4 7.27 hash of the DIE.
102 void computeHash(const DIE
[all...]
H A DDwarfFile.h30 class DIE;
57 DenseMap<const MDNode *, DIE *> AbstractSPDies;
62 DenseMap<const MDNode *, DIE *> DITypeNodeToDieMap;
71 /// \brief Compute the size and offset of a DIE given an incoming Offset.
72 unsigned computeSizeAndOffset(DIE &Die, unsigned Offset);
81 DIEAbbrev &assignAbbrevNumber(DIE &Die);
106 DenseMap<const MDNode *, DIE *> &getAbstractSPDies() {
110 void insertDIE(const MDNode *TypeMD, DIE *Die) {
113 DIE *getDIE(const MDNode *TypeMD) {
H A DDwarfCompileUnit.cpp30 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute,
49 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die,
102 /// getOrCreateGlobalVariableDIE - get or create global variable DIE.
103 DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE(
106 if (DIE *Die = getDIE(GV))
114 // Construct the context before querying for the existence of the DIE in
115 // case such construction creates the DIE.
116 DIE *ContextDIE = getOrCreateContextDIE(GVContext);
119 DIE *VariableDIE = &createAndAddDIE(GV->getTag(), *ContextDIE, GV);
125 // We need the declaration DIE tha
[all...]
H A DDwarfUnit.cpp48 DIELoc &DIE)
51 AP(AP), DU(DU), DIE(DIE) {}
54 DU.addUInt(DIE, dwarf::DW_FORM_data1, Op);
57 DU.addSInt(DIE, dwarf::DW_FORM_sdata, Value);
60 DU.addUInt(DIE, dwarf::DW_FORM_udata, Value);
70 UnitDie(*DIE::get(DIEValueAllocator, UnitTag)), DebugInfoOffset(0),
158 /// Check whether the DIE for this MDNode can be shared across CUs.
160 // When the MDNode can be part of the type system, the DIE can be shared
162 // Combining type units and cross-CU DIE sharin
47 DIEDwarfExpression(const AsmPrinter &AP, DwarfUnit &DU, DIELoc &DIE) argument
[all...]
H A DDIEHash.cpp20 #include "llvm/CodeGen/DIE.h"
33 static StringRef getDIEStringAttr(const DIE &Die, uint16_t Attr) {
81 void DIEHash::addParentContext(const DIE &Parent) {
87 SmallVector<const DIE *, 1> Parents;
88 const DIE *Cur = &Parent;
98 for (SmallVectorImpl<const DIE *>::reverse_iterator I = Parents.rbegin(),
101 const DIE &Die = **I;
117 // Collect all of the attributes for a particular DIE in single structure.
118 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) {
185 const DIE
[all...]
H A DDwarfDebug.h28 #include "llvm/CodeGen/DIE.h"
68 DIE *TheDIE = nullptr; /// Variable DIE.
114 void setDIE(DIE &D) { TheDIE = &D; }
115 DIE *getDIE() const { return TheDIE; }
207 /// Maps a CU DIE with its corresponding DwarfCompileUnit.
208 DenseMap<const DIE *, DwarfCompileUnit *> CUDieMap;
347 /// Construct a DIE for this abstract scope.
398 const StringMap<const DIE *> &(DwarfCompileUnit::*Accessor)() const);
418 void initSkeletonUnit(const DwarfUnit &U, DIE
[all...]
H A DDwarfExpression.h29 /// independently of whether they are emitted into a DIE or into a .debug_loc
125 DIELoc &DIE; member in class:llvm::DIEDwarfExpression
128 DIEDwarfExpression(const AsmPrinter &AP, DwarfUnit &DU, DIELoc &DIE);
H A DDwarfAccelTable.h19 #include "llvm/CodeGen/DIE.h"
168 const DIE *Die; // Offsets
171 HashDataContents(const DIE *D, char Flags) : Die(D), Flags(Flags) {}
247 void AddName(DwarfStringPoolEntryRef Name, const DIE *Die, char Flags = 0);
H A DDwarfFile.cpp30 DIEAbbrev &DwarfFile::assignAbbrevNumber(DIE &Die) {
61 DIE &Die = TheU->getUnitDie();
71 // Compute the size and offset for each DIE.
77 // DIE within each compile unit. All offsets are CU relative.
86 // all of the CU DIE.
91 // Compute the size and offset of a DIE. The offset is relative to start of the
92 // CU. It returns the offset after laying out the DIE.
93 unsigned DwarfFile::computeSizeAndOffset(DIE &Die, unsigned Offset) {
97 // Set DIE offset
103 // Size the DIE attribut
[all...]
H A DAndroid.mk11 DIE.cpp \
/external/libxml2/
H A Dautogen.sh9 DIE=0
16 DIE=1
24 DIE=1
29 DIE=1
35 if test "$DIE" -eq 1; then
/external/llvm/unittests/CodeGen/
H A DDIEHashTest.cpp10 #include "llvm/CodeGen/DIE.h"
41 DIE &Die = *DIE::get(Alloc, dwarf::DW_TAG_base_type);
50 DIE &Unnamed = *DIE::get(Alloc, dwarf::DW_TAG_structure_type);
59 // The exact same hash GCC produces for this DIE.
65 DIE &Foo = *DIE::get(Alloc, dwarf::DW_TAG_structure_type);
73 // The exact same hash GCC produces for this DIE.
79 DIE
[all...]
/external/clang/test/Parser/
H A Dcxx-decl.cpp165 struct DIE { struct
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/dbus/
H A Dautogen.sh14 DIE=0
27 DIE=1
47 DIE=1
59 DIE=1
62 if test "$DIE" -eq 1; then
/external/elfutils/tests/
H A 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/include/llvm/CodeGen/
H A DDIE.h1 //===--- lib/CodeGen/DIE.h - DWARF Info Entries -----------------*- C++ -*-===//
108 /// DIEInteger - An integer value DIE.
148 /// DIEExpr - An expression DIE.
167 /// DIELabel - A label DIE.
186 /// DIEDelta - A simple label difference DIE.
223 class DIE;
225 DIE *Entry;
230 explicit DIEEntry(DIE &E) : Entry(&E) {}
232 DIE &getEntry() const { return *Entry; }
344 destruct<DIE##
610 class DIE : IntrusiveBackListNode, public DIEValueList { class in namespace:llvm
633 explicit DIE(dwarf::Tag Tag) : Offset(0), Size(0), Tag(Tag) {} function in class:llvm::DIE
[all...]
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp164 for (auto &DIE : DieArray) {
166 SiblingChain->setSibling(&DIE);
169 DIE.getAbbreviationDeclarationPtr()) {
170 // Normal DIE.
172 ParentChain.push_back(&DIE);
175 SiblingChain = &DIE;
193 // Set the offset to that of the first DIE and calculate the start of the
197 DWARFDebugInfoEntryMinimal DIE; local
201 while (DIEOffset < NextCUOffset && DIE.extractFast(this, &DIEOffset)) {
204 Dies.push_back(DIE);
[all...]
H A DDWARFDebugInfoEntry.cpp25 // Small helper to extract a DIE pointed by a reference
26 // attribute. It looks up the Unit containing the DIE and calls
27 // DIE.extractFast with the right unit. Returns new unit on success,
29 static const DWARFUnit *findUnitAndExtractFast(DWARFDebugInfoEntryMinimal &DIE, argument
33 return (Unit && DIE.extractFast(Unit, Offset)) ? Unit : nullptr;
58 // Dump all data in the DIE for the attributes.
168 DWARFDebugInfoEntryMinimal DIE;
169 if (const DWARFUnit *RefU = findUnitAndExtractFast(DIE, u, &RefOffset))
170 if (const char *Name = DIE.getName(RefU, DINameKind::LinkageName))
400 // Try to get name from specification DIE
[all...]
/external/libvorbis/
H A Dautogen.sh14 DIE=0
22 DIE=1
103 DIE=1
106 if test "$DIE" -eq 1; then
/external/libmicrohttpd/src/spdy2http/
H A Dproxy.c137 #define DIE(msg) do{\ macro
378 DIE("no memory");
492 DIE("bug in cleanup");
566 DIE("no response");
582 //DIE("no queue");
604 DIE("error on parsing headers");
606 DIE("No memory");
612 DIE("No memory");
621 DIE("No memory");
632 DIE("N
[all...]
/external/libmicrohttpd/src/examples/
H A Dmhd2spdy.c96 DIE("Regexp compilation failed");
102 DIE("spdy_parse_uri failed");
122 DIE("MHD_start_daemon failed");
308 DIE("default from getopt");
/external/vboot_reference/futility/
H A Dfutility.h82 #ifndef DIE
83 #define DIE do { \ macro
/external/llvm/tools/dsymutil/
H A DDwarfLinker.cpp19 #include "llvm/CodeGen/DIE.h"
58 DIE::value_iterator I;
61 PatchLocation(DIE::value_iterator I) : I(I) {}
83 /// need to determine the context of each DIE in an linked object file
166 /// Get the child of \a Context described by \a DIE in \a Unit. The
176 const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &Unit,
184 /// and linked DIE tree.
187 /// \brief Information gathered about a DIE in the object file.
191 DIE *Clone; ///< Cloned version of that DIE
1479 resolveDIEReference( const DwarfLinker &Linker, MutableArrayRef<CompileUnit> Units, const DWARFFormValue &RefValue, const DWARFUnit &Unit, const DWARFDebugInfoEntryMinimal &DIE, CompileUnit *&RefCU) argument
1538 getChildDeclContext( DeclContext &Context, const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &U, NonRelocatableStringpool &StringPool, bool InClangModule) argument
1755 analyzeContextInfo(const DWARFDebugInfoEntryMinimal *DIE, unsigned ParentIdx, CompileUnit &CU, DeclContext *CurrentDeclContext, NonRelocatableStringpool &StringPool, DeclContextTree &Contexts, bool InImportedModule = false) argument
2021 shouldKeepVariableDIE(RelocationManager &RelocMgr, const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo, unsigned Flags) argument
2062 shouldKeepSubprogramDIE( RelocationManager &RelocMgr, const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo, unsigned Flags) argument
2115 shouldKeepDIE(RelocationManager &RelocMgr, const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo, unsigned Flags) argument
[all...]

Completed in 9412 milliseconds

123