Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFCompileUnit.h15 class DWARFCompileUnit : public DWARFUnit {
23 DWARFCompileUnit &GetNonSkeletonUnit();
28 DWARFCompileUnit(SymbolFileDWARF &dwarf, lldb::user_id_t uid, in DWARFCompileUnit() function
34 DWARFCompileUnit(const DWARFCompileUnit &) = delete;
35 const DWARFCompileUnit &operator=(const DWARFCompileUnit &) = delete;
H A DSymbolFileDWARFDwo.cpp38 DWARFCompileUnit *SymbolFileDWARFDwo::GetDWOCompileUnitForHash(uint64_t hash) { in GetDWOCompileUnitForHash()
42 return llvm::dyn_cast_or_null<DWARFCompileUnit>( in GetDWOCompileUnitForHash()
49 DWARFCompileUnit *cu = FindSingleCompileUnit(); in GetDWOCompileUnitForHash()
57 DWARFCompileUnit *SymbolFileDWARFDwo::FindSingleCompileUnit() { in FindSingleCompileUnit()
63 return llvm::cast<DWARFCompileUnit>(debug_info.GetUnitAtIndex(0)); in FindSingleCompileUnit()
67 DWARFCompileUnit *cu = nullptr; in FindSingleCompileUnit()
70 llvm::dyn_cast<DWARFCompileUnit>(debug_info.GetUnitAtIndex(i))) { in FindSingleCompileUnit()
H A DDWARFCompileUnit.cpp20 void DWARFCompileUnit::Dump(Stream *s) const { in Dump()
28 void DWARFCompileUnit::BuildAddressRangeTable( in BuildAddressRangeTable()
103 DWARFCompileUnit &DWARFCompileUnit::GetNonSkeletonUnit() { in GetNonSkeletonUnit()
104 return llvm::cast<DWARFCompileUnit>(DWARFUnit::GetNonSkeletonUnit()); in GetNonSkeletonUnit()
107 DWARFDIE DWARFCompileUnit::LookupAddress(const dw_addr_t address) { in LookupAddress()
H A DSymbolFileDWARFDwo.h32 DWARFCompileUnit *GetDWOCompileUnitForHash(uint64_t hash);
67 DWARFCompileUnit *FindSingleCompileUnit();
H A DSymbolFileDWARF.h44 class DWARFCompileUnit; variable
77 friend class DWARFCompileUnit; variable
240 GetCompUnitForDWARFCompUnit(DWARFCompileUnit &dwarf_cu);
357 lldb::CompUnitSP ParseCompileUnit(DWARFCompileUnit &dwarf_cu);
359 virtual DWARFCompileUnit *
H A DSymbolFileDWARF.cpp655 return llvm::cast_or_null<DWARFCompileUnit>(dwarf_cu); in GetDWARFCompileUnit()
688 static const char *GetDWOName(DWARFCompileUnit &dwarf_cu, in GetDWOName()
814 if (auto *dwarf_cu = llvm::cast_or_null<DWARFCompileUnit>( in ParseCompileUnitAtIndex()
1004 if (auto *dwarf_cu = llvm::dyn_cast<DWARFCompileUnit>(&unit)) { in GetFile()
1619 DWARFCompileUnit *non_dwo_cu = in GetCompUnitForDWARFCompUnit()
1620 static_cast<DWARFCompileUnit *>(dwarf_cu.GetUserData()); in GetCompUnitForDWARFCompUnit()
1642 if (die && llvm::isa<DWARFCompileUnit>(die.GetCU())) { in GetFunction()
1685 static uint64_t GetDWOId(DWARFCompileUnit &dwarf_cu, in GetDWOId()
1716 DWARFCompileUnit *dwarf_cu = llvm::dyn_cast<DWARFCompileUnit>(&unit); in GetDwoSymbolFileForCompileUnit()
1924 DWARFCompileUnit &cu = in ResolveFunctionAndBlock()
[all …]
H A DCMakeLists.txt18 DWARFCompileUnit.cpp
H A DDWARFUnit.h21 class DWARFCompileUnit; variable
H A DSymbolFileDWARFDebugMap.h153 friend class DWARFCompileUnit; variable
H A DDWARFUnit.cpp975 return DWARFUnitSP(new DWARFCompileUnit(dwarf, uid, *expected_header, in extract()
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFCompileUnit.cpp18 void DWARFCompileUnit::dump(raw_ostream &OS, DIDumpOptions DumpOpts) { in dump()
45 DWARFCompileUnit::~DWARFCompileUnit() = default;
H A DDWARFContext.cpp735 return dyn_cast_or_null<DWARFCompileUnit>( in getDWOCompileUnitForHash()
755 return dyn_cast<DWARFCompileUnit>(DWOCU.get()); in getDWOCompileUnitForHash()
1048 return dyn_cast_or_null<DWARFCompileUnit>( in getCompileUnitForOffset()
1071 return static_cast<DWARFCompileUnit *>(CU.get()); in getCompileUnitForAddress()
1080 DWARFCompileUnit *CU = getCompileUnitForAddress(Address); in getDIEsForAddress()
1111 DWARFCompileUnit *CU, uint64_t Address, FunctionNameKind Kind, in getFunctionNameAndStartLineForAddress()
1232 DWARFCompileUnit *CU = getCompileUnitForAddress(Address.Address); in getLocalsForAddress()
1245 DWARFCompileUnit *CU = getCompileUnitForAddress(Address.Address); in getLineInfoForAddress()
1266 DWARFCompileUnit *CU = getCompileUnitForAddress(Address.Address); in getLineInfoForDataAddress()
1281 DWARFCompileUnit *CU = getCompileUnitForAddress(Address.Address); in getLineInfoForAddressRange()
[all …]
H A DCMakeLists.txt5 DWARFCompileUnit.cpp
H A DDWARFUnit.cpp106 U = std::make_unique<DWARFCompileUnit>(Context, InfoSection, Header, in addUnitsImpl()
617 DWARFCompileUnit *DWOCU = DWOContext->getDWOCompileUnitForHash(*DWOId); in parseDWO()
620 DWO = std::shared_ptr<DWARFCompileUnit>(std::move(DWOContext), DWOCU); in parseDWO()
/llvm-project-15.0.7/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.h33 class DWARFCompileUnit; variable
251 DWARFCompileUnit *getDWOCompileUnitForHash(uint64_t Hash);
255 DWARFCompileUnit *getCompileUnitForOffset(uint64_t Offset);
352 DWARFCompileUnit *CompileUnit = nullptr;
455 DWARFCompileUnit *getCompileUnitForAddress(uint64_t Address);
462 void addLocalsForDie(DWARFCompileUnit *CU, DWARFDie Subprogram, DWARFDie Die,
/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDieTest.cpp74 DWARFCompileUnit *CU = Ctx->getCompileUnitForOffset(0); in TEST()
176 DWARFCompileUnit *CU = Ctx->getCompileUnitForOffset(0); in TEST()
282 DWARFCompileUnit *CU = Ctx->getCompileUnitForOffset(0); in TEST()
387 DWARFCompileUnit *CU = Ctx->getCompileUnitForOffset(0); in TEST()
509 DWARFCompileUnit *CU = Ctx->getCompileUnitForOffset(0); in TEST()
631 DWARFCompileUnit *CU = Ctx->getCompileUnitForOffset(0); in TEST()
H A DDWARFDebugInfoTest.cpp235 DWARFCompileUnit *U = in TestAllForms()
521 DWARFCompileUnit *U =
710 DWARFCompileUnit *U1 =
712 DWARFCompileUnit *U2 =
932 DWARFCompileUnit *U =
1225 DWARFCompileUnit *U =
1401 DWARFCompileUnit *U =
1459 DWARFCompileUnit *U =
1511 DWARFCompileUnit *U =
1584 DWARFCompileUnit *U =
[all …]
H A DDWARFDieManualExtractTest.cpp51 DWARFCompileUnit *CU = Ctx->getCompileUnitForOffset(0); in TEST()
/llvm-project-15.0.7/lldb/unittests/SymbolFile/DWARF/
H A DXcodeSDKModuleTests.cpp64 auto *dwarf_cu = llvm::cast<DWARFCompileUnit>(dwarf_unit); in TEST_F()
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/DebugInfo/DWARF/
H A DBUILD.gn13 "DWARFCompileUnit.cpp",
/llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Plugins/SymbolFile/DWARF/
H A DBUILD.gn50 "DWARFCompileUnit.cpp",
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp35 CUInfo(DWARFContext &DICtx, DWARFCompileUnit *CU) { in CUInfo()
452 CUInfo CUI(DICtx, dyn_cast<DWARFCompileUnit>(CU.get())); in convert()
478 CUInfo CUI(DICtx, dyn_cast<DWARFCompileUnit>(CU.get())); in convert()
/llvm-project-15.0.7/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp403 DWARFCompileUnit *CU = DICtx.getCompileUnitForOffset(*CUOff); in toDie()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryContext.cpp1480 DWARFCompileUnit *SrcUnit = DwCtx->getCompileUnitForOffset(SrcCUID); in addDebugFilenameToUnit()
1502 DWARFCompileUnit *DstUnit = DwCtx->getCompileUnitForOffset(DestCUID); in addDebugFilenameToUnit()

12