mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
llvm-readobj: Simplify. NFCI.
llvm-svn: 340305
This commit is contained in:
parent
7d41e7f535
commit
783d2a816a
@ -4379,7 +4379,7 @@ void LLVMStyle<ELFT>::printAddrsig(const ELFFile<ELFT> *Obj) {
|
||||
while (Cur != End) {
|
||||
unsigned Size;
|
||||
const char *Err;
|
||||
uint64_t SymIndex = decodeULEB128(Cur, &Size, Contents.end(), &Err);
|
||||
uint64_t SymIndex = decodeULEB128(Cur, &Size, End, &Err);
|
||||
if (Err)
|
||||
reportError(Err);
|
||||
W.printNumber("Sym", this->dumper()->getStaticSymbolName(SymIndex),
|
||||
|
Loading…
x
Reference in New Issue
Block a user