From: Matt Beaumont-Gay Date: Wed, 11 May 2011 23:34:51 +0000 (+0000) Subject: Remove an unused variable and move a couple others inside DEBUG. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6dcd413fbb488222200c6b42c4f5d55ce39db557;p=oota-llvm.git 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 --- diff --git a/lib/MC/ELFObjectWriter.cpp b/lib/MC/ELFObjectWriter.cpp index ce227f00c2b..5b54e55d899 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(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