Skip to content

Commit

Permalink
[DWARF] - Remove unused variables. NFC.
Browse files Browse the repository at this point in the history
llvm-svn: 307528
  • Loading branch information
George Rimar committed Jul 10, 2017
1 parent d8b51e1 commit 4be1388
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4be1388

Please sign in to comment.