diff options
| author | Pavel Labath <pavel@labath.sk> | 2019-05-22 09:09:44 +0000 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2019-05-22 09:09:44 +0000 |
| commit | 7b0b4b49d35bb2c6b4d92eac98e05e8bcff7b02d (patch) | |
| tree | 680559a1fa890b7c6696ecc822062fe065827400 | |
| parent | 80233daeaa0b778585c32b921679eb9d22e23ceb (diff) | |
| download | bcm5719-llvm-7b0b4b49d35bb2c6b4d92eac98e05e8bcff7b02d.tar.gz bcm5719-llvm-7b0b4b49d35bb2c6b4d92eac98e05e8bcff7b02d.zip | |
DWARFDebugInfoEntry: remove unused variable
llvm-svn: 361361
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp index 610b28127e4..029339aa9da 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp @@ -725,13 +725,10 @@ void DWARFDebugInfoEntry::DumpAttribute( size_t DWARFDebugInfoEntry::GetAttributes( const DWARFUnit *cu, DWARFFormValue::FixedFormSizes fixed_form_sizes, DWARFAttributes &attributes, uint32_t curr_depth) const { - SymbolFileDWARF *dwarf2Data = nullptr; const DWARFAbbreviationDeclaration *abbrevDecl = nullptr; lldb::offset_t offset = 0; - if (cu) { - dwarf2Data = cu->GetSymbolFileDWARF(); + if (cu) abbrevDecl = GetAbbreviationDeclarationPtr(cu, offset); - } if (abbrevDecl) { const DWARFDataExtractor &debug_info_data = cu->GetData(); |

