diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2011-05-11 23:34:51 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2011-05-11 23:34:51 +0000 |
commit | 6dcd413fbb488222200c6b42c4f5d55ce39db557 (patch) | |
tree | b8e873349536063acd3a749c92b6fb3405e0d647 /lib/MC/ELFObjectWriter.cpp | |
parent | e964d1192a82cf8c1371a7440667de67595d6d35 (diff) | |
download | external_llvm-6dcd413fbb488222200c6b42c4f5d55ce39db557.zip external_llvm-6dcd413fbb488222200c6b42c4f5d55ce39db557.tar.gz external_llvm-6dcd413fbb488222200c6b42c4f5d55ce39db557.tar.bz2 |
Remove an unused variable and move a couple others inside DEBUG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/ELFObjectWriter.cpp')
-rw-r--r-- | lib/MC/ELFObjectWriter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp index ce227f0..5b54e55 100644 --- a/lib/MC/ELFObjectWriter.cpp +++ b/lib/MC/ELFObjectWriter.cpp @@ -1291,16 +1291,16 @@ const MCSymbol *ARMELFObjectWriter::ExplicitRelSym(const MCAssembler &Asm, const MCSectionELF &Section = static_cast<const MCSectionELF&>(Symbol.getSection()); - const SectionKind secKind = Section.getKind(); - const MCSymbolRefExpr::VariantKind Kind = Target.getSymA()->getKind(); - MCSymbolRefExpr::VariantKind Kind2; - Kind2 = Target.getSymB() ? Target.getSymB()->getKind() : - MCSymbolRefExpr::VK_None; bool InNormalSection = true; unsigned RelocType = 0; RelocType = GetRelocTypeInner(Target, Fixup, IsPCRel); - DEBUG(dbgs() << "considering symbol " + DEBUG( + const MCSymbolRefExpr::VariantKind Kind = Target.getSymA()->getKind(); + MCSymbolRefExpr::VariantKind Kind2; + Kind2 = Target.getSymB() ? Target.getSymB()->getKind() : + MCSymbolRefExpr::VK_None; + dbgs() << "considering symbol " << Section.getSectionName() << "/" << Symbol.getName() << "/" << " Rel:" << (unsigned)RelocType |