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

123

/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h22 #include "llvm/CodeGen/DIE.h"
77 DIE UnitDie;
90 DIE *IndexTyDie;
94 DenseMap<const MDNode *, DIE *> MDNodeToDieMap;
107 /// need DW_AT_containing_type attribute. This attribute points to a DIE that
108 /// corresponds to the MDNode mapped with the subprogram DIE.
109 DenseMap<DIE *, const MDNode *> ContainingTypeMap;
125 void addLocalString(DIE &Die, dwarf::Attribute Attribute, StringRef Str);
127 void addIndexedString(DIE &Die, dwarf::Attribute Attribute, StringRef Str);
129 bool applySubprogramDefinitionAttributes(DISubprogram SP, DIE
[all...]
H A DDwarfCompileUnit.h25 class DIE;
32 /// The attribute index of DW_AT_stmt_list in the compile unit DIE, avoiding
43 StringMap<const DIE *> GlobalNames;
46 StringMap<const DIE *> GlobalTypes;
59 /// \brief Construct a DIE for the given DbgVariable without initializing the
60 /// DbgVariable's DIE reference.
61 std::unique_ptr<DIE> constructVariableDIEImpl(const DbgVariable &DV,
78 /// Apply the DW_AT_stmt_list from this compile unit to the specified DIE.
79 void applyStmtList(DIE &D);
81 /// getOrCreateGlobalVariableDIE - get or create global variable DIE
[all...]
H A DDIEHash.h18 #include "llvm/CodeGen/DIE.h"
27 /// attributes onto a DIE.
36 // Collection of all attributes used in hashing a particular DIE.
95 uint64_t computeDIEODRSignature(const DIE &Die);
98 uint64_t computeCUSignature(const DIE &Die);
101 uint64_t computeTypeSignature(const DIE &Die);
103 // Helper routines to process parts of a DIE.
106 void addParentContext(const DIE &Die);
109 void addAttributes(const DIE &Die);
111 /// \brief Computes the full DWARF4 7.27 hash of the DIE
[all...]
H A DDwarfFile.h30 class DIE;
55 DenseMap<const MDNode *, DIE *> AbstractSPDies;
60 DenseMap<const MDNode *, DIE *> MDTypeNodeToDieMap;
69 /// \brief Compute the size and offset of a DIE given an incoming Offset.
70 unsigned computeSizeAndOffset(DIE &Die, unsigned Offset);
102 DenseMap<const MDNode *, DIE *> &getAbstractSPDies() {
106 void insertDIE(const MDNode *TypeMD, DIE *Die) {
109 DIE *getDIE(const MDNode *TypeMD) {
H A DDwarfCompileUnit.cpp29 void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute,
48 void DwarfCompileUnit::addLocalLabelAddress(DIE &Die,
98 /// getOrCreateGlobalVariableDIE - get or create global variable DIE.
99 DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE(DIGlobalVariable GV) {
101 if (DIE *Die = getDIE(GV))
109 // Construct the context before querying for the existence of the DIE in
110 // case such construction creates the DIE.
111 DIE *ContextDIE = getOrCreateContextDIE(GVContext);
114 DIE *VariableDIE = &createAndAddDIE(GV->getTag(), *ContextDIE, GV);
121 // 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);
96 DIEEntry *DwarfUnit::createDIEEntry(DIE &Entry) {
169 /// Check whether the DIE for this MDNode can be shared across CUs.
171 // When the MDNode can be part of the type system, the DIE can be shared
173 // 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) {
88 void DIEHash::addParentContext(const DIE &Parent) {
94 SmallVector<const DIE *, 1> Parents;
95 const DIE *Cur = &Parent;
105 for (SmallVectorImpl<const DIE *>::reverse_iterator I = Parents.rbegin(),
108 const DIE &Die = **I;
124 // Collect all of the attributes for a particular DIE in single structure.
125 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) {
196 const DIE
[all...]
H A DDwarfDebug.h29 #include "llvm/CodeGen/DIE.h"
81 DIE *TheDIE; /// Variable DIE.
111 void setDIE(DIE &D) { TheDIE = &D; }
112 DIE *getDIE() const { return TheDIE; }
201 // Maps a CU DIE with its corresponding DwarfCompileUnit.
202 DenseMap<const DIE *, DwarfCompileUnit *> CUDieMap;
344 /// \brief Construct a DIE for this abstract scope.
347 /// \brief Compute the size and offset of a DIE given an incoming Offset.
348 unsigned computeSizeAndOffset(DIE *Di
[all...]
H A DDwarfExpression.h29 /// independently of whether they are emitted into a DIE or into a .debug_loc
124 DIELoc &DIE; member in class:llvm::DIEDwarfExpression
127 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) {}
248 void AddName(StringRef Name, MCSymbol *StrSym, const DIE *Die,
H A DAndroid.mk10 DIE.cpp \
H A DDwarfFile.cpp52 DIE &Die = TheU->getUnitDie();
62 // Compute the size and offset for each DIE.
68 // DIE within each compile unit. All offsets are CU relative.
77 // all of the CU DIE.
82 // Compute the size and offset of a DIE. The offset is relative to start of the
83 // CU. It returns the offset after laying out the DIE.
84 unsigned DwarfFile::computeSizeAndOffset(DIE &Die, unsigned Offset) {
88 // Get the abbreviation for this DIE.
91 // Set DIE offset
100 // Size the DIE attribut
[all...]
H A DDIE.cpp1 //===--- lib/CodeGen/DIE.cpp - DWARF Info Entries -------------------------===//
14 #include "llvm/CodeGen/DIE.h"
110 /// Climb up the parent chain to get the unit DIE to which this DIE
112 const DIE *DIE::getUnit() const {
113 const DIE *Cu = getUnitOrNull();
118 /// Climb up the parent chain to get the unit DIE this DIE belongs
119 /// to. Return NULL if DIE i
[all...]
/external/libvncserver/VisualNaCro/
H A Dautogen.sh7 DIE=0
22 DIE=1
30 DIE=1
33 if test "$DIE" -eq 1; then
/external/libvncserver/
H A Dautogen.sh9 DIE=0
24 DIE=1
32 DIE=1
35 if test "$DIE" -eq 1; then
/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"
23 DIE Die(dwarf::DW_TAG_base_type);
32 DIE Unnamed(dwarf::DW_TAG_structure_type);
41 // The exact same hash GCC produces for this DIE.
47 DIE Foo(dwarf::DW_TAG_structure_type);
55 // The exact same hash GCC produces for this DIE.
61 DIE CU(dwarf::DW_TAG_compile_unit);
63 auto Space = make_unique<DIE>(dwarf::DW_TAG_namespace);
71 auto Foo = make_unique<DIE>(dwarf::DW_TAG_structure_type);
76 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/elfutils/src/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/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp148 for (auto &DIE : DieArray) {
150 SiblingChain->setSibling(&DIE);
153 DIE.getAbbreviationDeclarationPtr()) {
154 // Normal DIE.
156 ParentChain.push_back(&DIE);
159 SiblingChain = &DIE;
177 // Set the offset to that of the first DIE and calculate the start of the
181 DWARFDebugInfoEntryMinimal DIE; local
185 while (DIEOffset < NextCUOffset && DIE.extractFast(this, &DIEOffset)) {
188 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, &Ref))
170 if (const char *Ref = DIE.getName(RefU, DINameKind::LinkageName))
399 // Try to get name from specification DIE
[all...]
/external/llvm/include/llvm/CodeGen/
H A DDIE.h1 //===--- lib/CodeGen/DIE.h - DWARF Info Entries -----------------*- C++ -*-===//
107 /// DIE - A structured debug information entry. Has an abbreviation which
111 class DIE { class in namespace:llvm
127 // This can't be a vector<DIE> because pointer validity is requirent for the
129 // It can't be a list<DIE> because some clients need pointer validity before
133 std::vector<std::unique_ptr<DIE>> Children;
135 DIE *Parent;
142 DIE() function in class:llvm::DIE
147 explicit DIE(dwarf::Tag Tag) function in class:llvm::DIE
158 const std::vector<std::unique_ptr<DIE>>
[all...]
/external/llvm/tools/dsymutil/
H A DDwarfLinker.cpp17 #include "llvm/CodeGen/DIE.h"
64 /// and linked DIE tree.
67 /// \brief Information gathered about a DIE in the object file.
70 DIE *Clone; ///< Cloned version of that DIE.
71 uint32_t ParentIdx; ///< The index of this DIE's parent.
72 bool Keep; ///< Is the DIE part of the linked output?
73 bool InDebugMap; ///< Was this DIE's entity found in the map?
95 DIE *getOutputUnitDIE() const { return CUDie.get(); }
96 void setOutputUnitDIE(DIE *Di
1245 resolveDIEReference( DWARFFormValue &RefValue, const DWARFUnit &Unit, const DWARFDebugInfoEntryMinimal &DIE, CompileUnit *&RefCU) argument
1304 gatherDIEParents(const DWARFDebugInfoEntryMinimal *DIE, unsigned ParentIdx, CompileUnit &CU) argument
1513 shouldKeepVariableDIE( const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo, unsigned Flags) argument
1552 shouldKeepSubprogramDIE( const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo, unsigned Flags) argument
1604 shouldKeepDIE(const DWARFDebugInfoEntryMinimal &DIE, CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo, unsigned Flags) argument
1633 keepDIEAndDenpendencies(const DWARFDebugInfoEntryMinimal &DIE, CompileUnit::DIEInfo &MyInfo, const DebugMapObject &DMO, CompileUnit &CU, unsigned Flags) argument
1683 lookForDIEsToKeep(const DWARFDebugInfoEntryMinimal &DIE, const DebugMapObject &DMO, CompileUnit &CU, unsigned Flags) argument
[all...]
/external/libvorbis/
H A Dautogen.sh14 DIE=0
22 DIE=1
103 DIE=1
106 if test "$DIE" -eq 1; then
/external/vboot_reference/futility/
H A Dfutility.h82 #ifndef DIE
83 #define DIE do { \ macro

Completed in 899 milliseconds

123