Home
last modified time | relevance | path

Searched refs:DieArray (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/DebugInfo/DWARF/
DDWARFUnit.cpp124 assert(DieArray.size() > 0); in extractRangeList()
145 if (DieArray.empty()) in getCompilationDir()
147 return DieArray[0].getAttributeValueAsString(this, DW_AT_comp_dir, nullptr); in getCompilationDir()
153 if (DieArray.empty()) in getDWOId()
155 return DieArray[0] in getDWOId()
160 if (DieArray.size() <= 1) in setDIERelations()
165 for (auto &DIE : DieArray) { in setDIERelations()
184 assert(SiblingChain == nullptr || SiblingChain == &DieArray[0]); in setDIERelations()
240 if ((CUDieOnly && DieArray.size() > 0) || in extractDIEsIfNeeded()
241 DieArray.size() > 1) in extractDIEsIfNeeded()
[all …]
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnit.h127 std::vector<DWARFDebugInfoEntryMinimal> DieArray; variable
206 return DieArray.empty() ? nullptr : &DieArray[0];
226 return DieArray.size(); in getNumDIEs()
236 assert(!DieArray.empty() && DIE >= &DieArray[0] && in getDIEIndex()
237 DIE < &DieArray[0] + DieArray.size()); in getDIEIndex()
238 return DIE - &DieArray[0]; in getDIEIndex()
243 assert(Index < DieArray.size()); in getDIEAtIndex()
244 return &DieArray[Index]; in getDIEAtIndex()
252 assert(!DieArray.empty()); in getDIEForOffset()
254 DieArray.begin(), DieArray.end(), Offset, in getDIEForOffset()
[all …]
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFCompileUnit.cpp85 DieArray.clear(); in clear()
101 if (DieArray.empty()) in setDIERelations()
103 DWARFDebugInfoEntryMinimal *die_array_begin = &DieArray.front(); in setDIERelations()
104 DWARFDebugInfoEntryMinimal *die_array_end = &DieArray.back(); in setDIERelations()
136 const size_t initial_die_array_size = DieArray.size(); in extractDIEsIfNeeded()
200 return DieArray.size(); in extractDIEsIfNeeded()
204 if (DieArray.size() > 1) { in clearDIEs()
215 DieArray.swap(tmpArray); in clearDIEs()
217 DieArray.push_back(tmpArray.front()); in clearDIEs()
232 DieArray[0].buildAddressRangeTable(this, debug_aranges); in buildAddressRangeTable()
DDWARFCompileUnit.h32 std::vector<DWARFDebugInfoEntryMinimal> DieArray; variable
76 if (DieArray.empty())
78 return &DieArray[0];
98 if (DieArray.empty()) in addDIE()
99 DieArray.reserve(getDebugInfoSize() / 14); in addDIE()
100 DieArray.push_back(die); in addDIE()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFUnit.cpp187 assert(!DieArray.empty()); in extractRangeList()
262 if ((CUDieOnly && !DieArray.empty()) || in extractDIEsIfNeeded()
263 DieArray.size() > 1) in extractDIEsIfNeeded()
266 bool HasCUDie = !DieArray.empty(); in extractDIEsIfNeeded()
267 extractDIEsToVector(!HasCUDie, !CUDieOnly, DieArray); in extractDIEsIfNeeded()
269 if (DieArray.empty()) in extractDIEsIfNeeded()
341 return DieArray.size(); in extractDIEsIfNeeded()
396 if (DieArray.size() > (unsigned)KeepCUDie) { in clearDIEs()
397 DieArray.resize((unsigned)KeepCUDie); in clearDIEs()
398 DieArray.shrink_to_fit(); in clearDIEs()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFUnit.h283 std::vector<DWARFDebugInfoEntry> DieArray; variable
296 auto First = DieArray.data(); in getDIEIndex()
297 assert(Die >= First && Die < First + DieArray.size()); in getDIEIndex()
440 if (DieArray.empty())
442 return DWARFDie(this, &DieArray[0]);
490 return DieArray.size(); in getNumDIEs()
505 assert(Index < DieArray.size()); in getDIEAtIndex()
506 return DWARFDie(this, &DieArray[Index]); in getDIEAtIndex()
521 assert(!DieArray.empty()); in getDIEForOffset()
523 DieArray.begin(), DieArray.end(), Offset, in getDIEForOffset()
[all …]