File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
lldb/source/Plugins/SymbolFile/DWARF Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -292,8 +292,7 @@ uint64_t DWARFUnit::GetDWOId() {
292
292
293
293
// m_die_array_mutex must be already held as read/write.
294
294
void DWARFUnit::AddUnitDIE (const DWARFDebugInfoEntry &cu_die) {
295
- llvm::Optional<uint64_t > addr_base, gnu_addr_base, ranges_base,
296
- gnu_ranges_base;
295
+ llvm::Optional<uint64_t > addr_base, gnu_addr_base, gnu_ranges_base;
297
296
298
297
DWARFAttributes attributes;
299
298
size_t num_attributes = cu_die.GetAttributes (this , attributes);
@@ -320,8 +319,7 @@ void DWARFUnit::AddUnitDIE(const DWARFDebugInfoEntry &cu_die) {
320
319
SetLoclistsBase (form_value.Unsigned ());
321
320
break ;
322
321
case DW_AT_rnglists_base:
323
- ranges_base = form_value.Unsigned ();
324
- SetRangesBase (*ranges_base);
322
+ SetRangesBase (form_value.Unsigned ());
325
323
break ;
326
324
case DW_AT_str_offsets_base:
327
325
SetStrOffsetsBase (form_value.Unsigned ());
You can’t perform that action at this time.
0 commit comments