Home
last modified time | relevance | path

Searched refs:DWARFCompileUnit (Results 1 – 20 of 20) sorted by relevance

/src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFCompileUnit.h21 class DWARFCompileUnit : public DWARFUnit {
29 DWARFCompileUnit &GetNonSkeletonUnit();
34 DWARFCompileUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, in DWARFCompileUnit() function
40 DWARFCompileUnit(const DWARFCompileUnit &) = delete;
41 const DWARFCompileUnit &operator=(const DWARFCompileUnit &) = delete;
H A DDWARFCompileUnit.cpp21 void DWARFCompileUnit::Dump(Stream *s) const { in Dump()
31 void DWARFCompileUnit::BuildAddressRangeTable( in BuildAddressRangeTable()
95 DWARFCompileUnit &DWARFCompileUnit::GetNonSkeletonUnit() { in GetNonSkeletonUnit()
96 return llvm::cast<DWARFCompileUnit>(DWARFUnit::GetNonSkeletonUnit()); in GetNonSkeletonUnit()
99 DWARFDIE DWARFCompileUnit::LookupAddress(const dw_addr_t address) { in LookupAddress()
H A DSymbolFileDWARFDwo.cpp40 DWARFCompileUnit *SymbolFileDWARFDwo::GetDWOCompileUnitForHash(uint64_t hash) { in GetDWOCompileUnitForHash()
44 return llvm::dyn_cast_or_null<DWARFCompileUnit>( in GetDWOCompileUnitForHash()
51 DWARFCompileUnit *cu = FindSingleCompileUnit(); in GetDWOCompileUnitForHash()
60 DWARFCompileUnit *SymbolFileDWARFDwo::FindSingleCompileUnit() { in FindSingleCompileUnit()
66 return llvm::cast<DWARFCompileUnit>(debug_info.GetUnitAtIndex(0)); in FindSingleCompileUnit()
70 DWARFCompileUnit *cu = nullptr; in FindSingleCompileUnit()
73 llvm::dyn_cast<DWARFCompileUnit>(debug_info.GetUnitAtIndex(i))) { in FindSingleCompileUnit()
H A DSymbolFileDWARFDwo.h35 DWARFCompileUnit *GetDWOCompileUnitForHash(uint64_t hash);
91 DWARFCompileUnit *FindSingleCompileUnit();
H A DSymbolFileDWARF.h52 class DWARFCompileUnit; variable
83 friend class DWARFCompileUnit; variable
224 CompileUnit *GetCompUnitForDWARFCompUnit(DWARFCompileUnit &dwarf_cu);
388 lldb::CompUnitSP ParseCompileUnit(DWARFCompileUnit &dwarf_cu);
390 virtual DWARFCompileUnit *GetDWARFCompileUnit(CompileUnit *comp_unit);
H A DSymbolFileDWARFDebugMap.h30 class DWARFCompileUnit; variable
152 friend class DWARFCompileUnit; variable
276 DWARFCompileUnit &dwarf_cu);
H A DSymbolFileDWARF.cpp727 DWARFCompileUnit *SymbolFileDWARF::GetDWARFCompileUnit(CompileUnit *comp_unit) { in GetDWARFCompileUnit()
737 return llvm::cast_or_null<DWARFCompileUnit>(dwarf_cu); in GetDWARFCompileUnit()
769 static const char *GetDWOName(DWARFCompileUnit &dwarf_cu, in GetDWOName()
779 lldb::CompUnitSP SymbolFileDWARF::ParseCompileUnit(DWARFCompileUnit &dwarf_cu) { in ParseCompileUnit()
870 if (auto *cu = llvm::dyn_cast<DWARFCompileUnit>(info.GetUnitAtIndex(i))) { in BuildCuTranslationTable()
895 if (auto *dwarf_cu = llvm::cast_or_null<DWARFCompileUnit>( in ParseCompileUnitAtIndex()
1112 if (auto *dwarf_cu = llvm::dyn_cast<DWARFCompileUnit>(&unit)) { in GetFile()
1704 SymbolFileDWARF::GetCompUnitForDWARFCompUnit(DWARFCompileUnit &dwarf_cu) { in GetCompUnitForDWARFCompUnit()
1707 DWARFCompileUnit *non_dwo_cu = dwarf_cu.GetSkeletonUnit(); in GetCompUnitForDWARFCompUnit()
1729 if (die && llvm::isa<DWARFCompileUnit>(die.GetCU())) { in GetFunction()
[all …]
H A DDWARFUnit.h25 class DWARFCompileUnit; variable
171 DWARFCompileUnit *GetSkeletonUnit();
H A DDWARFUnit.cpp710 DWARFCompileUnit *DWARFUnit::GetSkeletonUnit() { in GetSkeletonUnit()
718 return llvm::dyn_cast_or_null<DWARFCompileUnit>(m_skeleton_unit); in GetSkeletonUnit()
993 new DWARFCompileUnit(dwarf, uid, header, *abbrevs, section, is_dwo)); in extract()
H A DSymbolFileDWARFDebugMap.cpp614 if (auto *dwarf_cu = llvm::dyn_cast<DWARFCompileUnit>(dwarf_unit)) { in ParseCompileUnitAtIndex()
1314 SymbolFileDWARFDebugMap::GetCompileUnit(SymbolFileDWARF *oso_dwarf, DWARFCompileUnit &dwarf_cu) { in GetCompileUnit()
/src/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFCompileUnit.h22 class DWARFCompileUnit : public DWARFUnit {
24 DWARFCompileUnit(DWARFContext &Context, const DWARFSection &Section, in DWARFCompileUnit() function
34 ~DWARFCompileUnit() override;
H A DDWARFContext.h34 class DWARFCompileUnit; variable
264 DWARFCompileUnit *getDWOCompileUnitForHash(uint64_t Hash);
268 DWARFCompileUnit *getCompileUnitForOffset(uint64_t Offset);
365 DWARFCompileUnit *CompileUnit = nullptr;
469 DWARFCompileUnit *getCompileUnitForCodeAddress(uint64_t Address);
478 DWARFCompileUnit *getCompileUnitForDataAddress(uint64_t Address);
489 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
/src/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFCompileUnit.cpp18 void DWARFCompileUnit::dump(raw_ostream &OS, DIDumpOptions DumpOpts) { in dump()
51 DWARFCompileUnit::~DWARFCompileUnit() = default;
H A DDWARFContext.cpp1360 DWARFCompileUnit *DWARFContext::getDWOCompileUnitForHash(uint64_t Hash) { in getDWOCompileUnitForHash()
1365 return dyn_cast_or_null<DWARFCompileUnit>( in getDWOCompileUnitForHash()
1385 return dyn_cast<DWARFCompileUnit>(DWOCU.get()); in getDWOCompileUnitForHash()
1513 DWARFCompileUnit *DWARFContext::getCompileUnitForOffset(uint64_t Offset) { in getCompileUnitForOffset()
1514 return dyn_cast_or_null<DWARFCompileUnit>( in getCompileUnitForOffset()
1518 DWARFCompileUnit *DWARFContext::getCompileUnitForCodeAddress(uint64_t Address) { in getCompileUnitForCodeAddress()
1523 DWARFCompileUnit *DWARFContext::getCompileUnitForDataAddress(uint64_t Address) { in getCompileUnitForDataAddress()
1525 if (DWARFCompileUnit *OffsetCU = getCompileUnitForOffset(CUOffset)) in getCompileUnitForDataAddress()
1540 return static_cast<DWARFCompileUnit *>(CU.get()); in getCompileUnitForDataAddress()
1550 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address); in getDIEsForAddress()
[all …]
H A DDWARFUnit.cpp113 U = std::make_unique<DWARFCompileUnit>(Context, InfoSection, Header, in addUnitsImpl()
639 DWARFCompileUnit *DWOCU = DWOContext->getDWOCompileUnitForHash(*DWOId); in parseDWO()
642 DWO = std::shared_ptr<DWARFCompileUnit>(std::move(DWOContext), DWOCU); in parseDWO()
H A DDWARFVerifier.cpp1853 auto *CU = cast<DWARFCompileUnit>(U.get()); in verifyDebugNames()
/src/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp38 CUInfo(DWARFContext &DICtx, DWARFCompileUnit *CU) { in CUInfo()
588 CUInfo CUI(DICtx, dyn_cast<DWARFCompileUnit>(CU.get())); in convert()
614 CUInfo CUI(DICtx, dyn_cast<DWARFCompileUnit>(CU.get())); in convert()
/src/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp471 DWARFCompileUnit *CU = DICtx.getCompileUnitForOffset(*CUOff); in toDie()
/src/lib/clang/liblldb/
H A DMakefile576 SRCS+= Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
/src/lib/clang/libllvm/
H A DMakefile573 SRCS_MIN+= DebugInfo/DWARF/DWARFCompileUnit.cpp