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 | 7c6c90b35d3b37c88c630a8f2a89c08aa7f7c31d (patch) | |
| tree | 7e5b567fbf3356d5cfe9e05f0120db20d89f45dc /llvm | |
| parent | 373af9bc5d4722cda16a92bd03a22ae0afb7804c (diff) | |
| download | bcm5719-llvm-7c6c90b35d3b37c88c630a8f2a89c08aa7f7c31d.tar.gz bcm5719-llvm-7c6c90b35d3b37c88c630a8f2a89c08aa7f7c31d.zip | |
Remove an unused variable and move a couple others inside DEBUG.
llvm-svn: 131208
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/MC/ELFObjectWriter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp index ce227f00c2b..5b54e55d899 100644 --- a/llvm/lib/MC/ELFObjectWriter.cpp +++ b/llvm/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 |

