mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[NFC][llvm-nm] Fix unused variable warning
This commit is contained in:
parent
bc3428f564
commit
39bdc30ed4
@ -1147,7 +1147,7 @@ static char getNMSectionTagAndName(SymbolicFile &Obj, basic_symbol_iterator I,
|
||||
return 'U';
|
||||
return isObject(Obj, I) ? 'v' : 'w';
|
||||
}
|
||||
if (ELFObjectFileBase *ELF = dyn_cast<ELFObjectFileBase>(&Obj))
|
||||
if (isa<ELFObjectFileBase>(&Obj))
|
||||
if (ELFSymbolRef(*I).getELFType() == ELF::STT_GNU_IFUNC)
|
||||
return 'i';
|
||||
if (!isa<MachOObjectFile>(Obj) && (Symflags & object::SymbolRef::SF_Weak))
|
||||
|
Loading…
x
Reference in New Issue
Block a user