forked from OSchip/llvm-project
[llvm-readobj] Fix double 0x prefix in RVA table printing after r321527
llvm-svn: 323280
This commit is contained in:
parent
dfcbdda1e0
commit
4386bc5a60
|
@ -767,7 +767,7 @@ void COFFDumper::printRVATable(uint64_t TableVA, uint64_t Count,
|
|||
for (uintptr_t I = TableStart; I < TableEnd; I += EntrySize) {
|
||||
uint32_t RVA = *reinterpret_cast<const ulittle32_t *>(I);
|
||||
raw_ostream &OS = W.startLine();
|
||||
OS << "0x" << W.hex(Obj->getImageBase() + RVA);
|
||||
OS << W.hex(Obj->getImageBase() + RVA);
|
||||
if (PrintExtra)
|
||||
PrintExtra(OS, reinterpret_cast<const uint8_t *>(I));
|
||||
OS << '\n';
|
||||
|
|
Loading…
Reference in New Issue