mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-08 21:10:35 +00:00
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
This commit is contained in:
parent
e964d1192a
commit
6dcd413fbb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user