Home
last modified time | relevance | path

Searched refs:dwarf_cu (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARF.cpp639 DWARFUnit *dwarf_cu = DebugInfo().GetUnitAtIndex(comp_unit->GetID()); in GetDWARFCompileUnit() local
640 if (dwarf_cu && dwarf_cu->GetUserData() == nullptr) in GetDWARFCompileUnit()
641 dwarf_cu->SetUserData(comp_unit); in GetDWARFCompileUnit()
644 return llvm::cast_or_null<DWARFCompileUnit>(dwarf_cu); in GetDWARFCompileUnit()
664 static void MakeAbsoluteAndRemap(FileSpec &file_spec, DWARFUnit &dwarf_cu, in MakeAbsoluteAndRemap() argument
671 file_spec.MakeAbsolute(dwarf_cu.GetCompilationDirectory()); in MakeAbsoluteAndRemap()
678 lldb::CompUnitSP SymbolFileDWARF::ParseCompileUnit(DWARFCompileUnit &dwarf_cu) { in ParseCompileUnit() argument
680 CompileUnit *comp_unit = (CompileUnit *)dwarf_cu.GetUserData(); in ParseCompileUnit()
685 if (dwarf_cu.GetOffset() == 0 && GetDebugMapSymfile()) { in ParseCompileUnit()
688 dwarf_cu.SetUserData(cu_sp.get()); in ParseCompileUnit()
[all …]
DSymbolFileDWARF.h241 GetCompUnitForDWARFCompUnit(DWARFCompileUnit &dwarf_cu);
277 GetDwoSymbolFileForCompileUnit(DWARFUnit &dwarf_cu,
347 lldb::CompUnitSP ParseCompileUnit(DWARFCompileUnit &dwarf_cu);
/external/llvm-project/lldb/unittests/SymbolFile/DWARF/
DXcodeSDKModuleTests.cpp71 auto *dwarf_cu = llvm::cast<DWARFCompileUnit>(dwarf_unit); in TEST_F() local
72 ASSERT_TRUE(static_cast<bool>(dwarf_cu)); in TEST_F()
73 SymbolFileDWARF &sym_file = dwarf_cu->GetSymbolFileDWARF(); in TEST_F()
/external/llvm-project/lldb/include/lldb/Expression/
DDWARFExpression.h45 const DWARFUnit *dwarf_cu);
205 const DWARFUnit *dwarf_cu,
/external/llvm-project/lldb/source/Expression/
DDWARFExpression.cpp45 ReadAddressFromDebugAddrSection(const DWARFUnit *dwarf_cu, in ReadAddressFromDebugAddrSection() argument
47 uint32_t index_size = dwarf_cu->GetAddressByteSize(); in ReadAddressFromDebugAddrSection()
48 dw_offset_t addr_base = dwarf_cu->GetAddrBase(); in ReadAddressFromDebugAddrSection()
51 dwarf_cu->GetSymbolFileDWARF().GetDWARFContext().getOrLoadAddrData(); in ReadAddressFromDebugAddrSection()
64 const DWARFUnit *dwarf_cu) in DWARFExpression() argument
65 : m_module_wp(), m_data(data), m_dwarf_cu(dwarf_cu), in DWARFExpression()
910 const DWARFUnit *dwarf_cu, const lldb::RegisterKind reg_kind, in Evaluate() argument
2382 DWARFDIE die = const_cast<DWARFUnit *>(dwarf_cu)->GetDIE(die_offset); in Evaluate()
2502 if (!dwarf_cu) { in Evaluate()
2509 lldb::addr_t value = ReadAddressFromDebugAddrSection(dwarf_cu, index); in Evaluate()
[all …]