DWARFDebugInfoEntry: remove unused variable
llvm-svn: 361361
This commit is contained in:
parent
80233daeaa
commit
7b0b4b49d3
|
|
@ -725,13 +725,10 @@ void DWARFDebugInfoEntry::DumpAttribute(
|
||||||
size_t DWARFDebugInfoEntry::GetAttributes(
|
size_t DWARFDebugInfoEntry::GetAttributes(
|
||||||
const DWARFUnit *cu, DWARFFormValue::FixedFormSizes fixed_form_sizes,
|
const DWARFUnit *cu, DWARFFormValue::FixedFormSizes fixed_form_sizes,
|
||||||
DWARFAttributes &attributes, uint32_t curr_depth) const {
|
DWARFAttributes &attributes, uint32_t curr_depth) const {
|
||||||
SymbolFileDWARF *dwarf2Data = nullptr;
|
|
||||||
const DWARFAbbreviationDeclaration *abbrevDecl = nullptr;
|
const DWARFAbbreviationDeclaration *abbrevDecl = nullptr;
|
||||||
lldb::offset_t offset = 0;
|
lldb::offset_t offset = 0;
|
||||||
if (cu) {
|
if (cu)
|
||||||
dwarf2Data = cu->GetSymbolFileDWARF();
|
|
||||||
abbrevDecl = GetAbbreviationDeclarationPtr(cu, offset);
|
abbrevDecl = GetAbbreviationDeclarationPtr(cu, offset);
|
||||||
}
|
|
||||||
|
|
||||||
if (abbrevDecl) {
|
if (abbrevDecl) {
|
||||||
const DWARFDataExtractor &debug_info_data = cu->GetData();
|
const DWARFDataExtractor &debug_info_data = cu->GetData();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue