[DWARF] - Remove unused variables. NFC.

llvm-svn: 307528
This commit is contained in:
George Rimar 2017-07-10 09:36:44 +00:00
parent d8b51e134e
commit 4be1388ebb
1 changed files with 2 additions and 6 deletions

View File

@ -940,14 +940,10 @@ DWARFContextInMemory::DWARFContextInMemory(
StringRef Name;
Section.getName(Name);
// Skip BSS and Virtual sections, they aren't interesting.
bool IsBSS = Section.isBSS();
if (IsBSS)
if (Section.isBSS() || Section.isVirtual())
continue;
bool IsVirtual = Section.isVirtual();
if (IsVirtual)
continue;
StringRef Data;
StringRef Data;
section_iterator RelocatedSection = Section.getRelocatedSection();
// Try to obtain an already relocated version of this section.
// Else use the unrelocated section from the object file. We'll have to