File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lldb/source/Plugins/SymbolFile/DWARF Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ DebugNamesDWARFIndex::GetUnits(const DebugNames &debug_names) {
48
48
}
49
49
50
50
std::optional<DIERef>
51
- DebugNamesDWARFIndex::ToDIERef (const DebugNames::Entry &entry) {
51
+ DebugNamesDWARFIndex::ToDIERef (const DebugNames::Entry &entry) const {
52
52
// Look for a DWARF unit offset (CU offset or local TU offset) as they are
53
53
// both offsets into the .debug_info section.
54
54
std::optional<uint64_t > unit_offset = entry.getCUOffset ();
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class DebugNamesDWARFIndex : public DWARFIndex {
79
79
std::unique_ptr<DebugNames> m_debug_names_up;
80
80
ManualDWARFIndex m_fallback;
81
81
82
- std::optional<DIERef> ToDIERef (const DebugNames::Entry &entry);
82
+ std::optional<DIERef> ToDIERef (const DebugNames::Entry &entry) const ;
83
83
bool ProcessEntry (const DebugNames::Entry &entry,
84
84
llvm::function_ref<bool (DWARFDIE die)> callback);
85
85
You can’t perform that action at this time.
0 commit comments