Home
last modified time | relevance | path

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

/freebsd/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.cpp23 void DWARFCompileUnit::Dump(Stream *s) const { in Dump()
33 void DWARFCompileUnit::BuildAddressRangeTable( in BuildAddressRangeTable()
100 DWARFCompileUnit &DWARFCompileUnit::GetNonSkeletonUnit() { in GetNonSkeletonUnit()
101 return llvm::cast<DWARFCompileUnit>(DWARFUnit::GetNonSkeletonUnit()); in GetNonSkeletonUnit()
104 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
82 friend class DWARFCompileUnit; variable
221 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
269 DWARFCompileUnit &dwarf_cu);
H A DSymbolFileDWARF.cpp733 DWARFCompileUnit *SymbolFileDWARF::GetDWARFCompileUnit(CompileUnit *comp_unit) { in GetDWARFCompileUnit()
743 return llvm::cast_or_null<DWARFCompileUnit>(dwarf_cu); in GetDWARFCompileUnit()
762 static const char *GetDWOName(DWARFCompileUnit &dwarf_cu, in GetDWOName()
772 lldb::CompUnitSP SymbolFileDWARF::ParseCompileUnit(DWARFCompileUnit &dwarf_cu) { in ParseCompileUnit()
863 if (auto *cu = llvm::dyn_cast<DWARFCompileUnit>(info.GetUnitAtIndex(i))) { in BuildCuTranslationTable()
888 if (auto *dwarf_cu = llvm::cast_or_null<DWARFCompileUnit>( in ParseCompileUnitAtIndex()
1103 if (auto *dwarf_cu = llvm::dyn_cast<DWARFCompileUnit>(&unit)) { in GetFile()
1643 SymbolFileDWARF::GetCompUnitForDWARFCompUnit(DWARFCompileUnit &dwarf_cu) { in GetCompUnitForDWARFCompUnit()
1646 DWARFCompileUnit *non_dwo_cu = dwarf_cu.GetSkeletonUnit(); in GetCompUnitForDWARFCompUnit()
1668 if (die && llvm::isa<DWARFCompileUnit>(die.GetCU())) { in GetFunction()
[all …]
H A DDWARFUnit.h28 class DWARFCompileUnit; variable
192 DWARFCompileUnit *GetSkeletonUnit();
H A DDWARFUnit.cpp795 DWARFCompileUnit *DWARFUnit::GetSkeletonUnit() { in GetSkeletonUnit()
806 return llvm::dyn_cast_or_null<DWARFCompileUnit>(m_skeleton_unit.load()); in GetSkeletonUnit()
1067 new DWARFCompileUnit(dwarf, uid, header, *abbrevs, section, is_dwo)); in extract()
H A DSymbolFileDWARFDebugMap.cpp616 if (auto *dwarf_cu = llvm::dyn_cast<DWARFCompileUnit>(dwarf_unit)) { in ParseCompileUnitAtIndex()
1320 DWARFCompileUnit &dwarf_cu) { in GetCompileUnit()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFCompileUnit.cpp1 //===-- DWARFCompileUnit.cpp ----------------------------------------------===//
9 #include "llvm/DebugInfo/DWARF/DWARFCompileUnit.h"
18 void DWARFCompileUnit::dump(raw_ostream &OS, DIDumpOptions DumpOpts) { in dump()
51 DWARFCompileUnit::~DWARFCompileUnit() = default;
H A DDWARFContext.cpp1355 DWARFCompileUnit *DWARFContext::getDWOCompileUnitForHash(uint64_t Hash) { in getDWOCompileUnitForHash()
1360 return dyn_cast_or_null<DWARFCompileUnit>( in getDWOCompileUnitForHash()
1380 return dyn_cast<DWARFCompileUnit>(DWOCU.get()); in getDWOCompileUnitForHash()
1512 DWARFCompileUnit *DWARFContext::getCompileUnitForOffset(uint64_t Offset) { in getCompileUnitForOffset()
1513 return dyn_cast_or_null<DWARFCompileUnit>(getUnitForOffset(Offset)); in getCompileUnitForOffset()
1516 DWARFCompileUnit *DWARFContext::getCompileUnitForCodeAddress(uint64_t Address) { in getCompileUnitForCodeAddress()
1521 DWARFCompileUnit *DWARFContext::getCompileUnitForDataAddress(uint64_t Address) { in getCompileUnitForDataAddress()
1523 if (DWARFCompileUnit *OffsetCU = getCompileUnitForOffset(CUOffset)) in getCompileUnitForDataAddress()
1538 return static_cast<DWARFCompileUnit *>(CU.get()); in getCompileUnitForDataAddress()
1548 DWARFCompileUnit *CU = getCompileUnitForCodeAddress(Address); in getDIEsForAddress()
[all …]
H A DDWARFUnit.cpp113 U = std::make_unique<DWARFCompileUnit>(Context, InfoSection, Header, in addUnitsImpl()
638 DWARFCompileUnit *DWOCU = DWOContext->getDWOCompileUnitForHash(*DWOId); in parseDWO()
641 DWO = std::shared_ptr<DWARFCompileUnit>(std::move(DWOContext), DWOCU); in parseDWO()
H A DDWARFVerifier.cpp2070 DWARFCompileUnit *CU = dyn_cast<DWARFCompileUnit>(U); in verifyDebugNames()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFCompileUnit.h23 class LLVM_ABI DWARFCompileUnit : public DWARFUnit {
25 DWARFCompileUnit(DWARFContext &Context, const DWARFSection &Section, in DWARFCompileUnit() function
35 ~DWARFCompileUnit() override;
H A DDWARFContext.h35 class DWARFCompileUnit; variable
267 DWARFCompileUnit *getDWOCompileUnitForHash(uint64_t Hash);
274 DWARFCompileUnit *getCompileUnitForOffset(uint64_t Offset);
371 DWARFCompileUnit *CompileUnit = nullptr;
475 DWARFCompileUnit *getCompileUnitForCodeAddress(uint64_t Address);
484 DWARFCompileUnit *getCompileUnitForDataAddress(uint64_t Address);
495 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp35 CUInfo(DWARFContext &DICtx, DWARFCompileUnit *CU) { in CUInfo()
657 CUInfo CUI(DICtx, dyn_cast<DWARFCompileUnit>(CU.get())); in convert()
683 CUInfo CUI(DICtx, dyn_cast<DWARFCompileUnit>(CU.get())); in convert()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp481 DWARFCompileUnit *CU = DICtx.getCompileUnitForOffset(*CUOff); in toDie()
/freebsd/lib/clang/liblldb/
H A DMakefile581 SRCS+= Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp
/freebsd/lib/clang/libllvm/
H A DMakefile611 SRCS_MIN+= DebugInfo/DWARF/DWARFCompileUnit.cpp