mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 04:39:51 +00:00
Fixed format string to avoid pointer truncation during 64-bit debugging.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8aa138c122
commit
5fc8c7cb85
@ -203,7 +203,7 @@ void RuntimeDyldImpl::emitCommonSymbols(ObjectImage &Obj,
|
||||
Addr += AlignOffset;
|
||||
Offset += AlignOffset;
|
||||
DEBUG(dbgs() << "Allocating common symbol " << Name << " address " <<
|
||||
format("0x%x\n", Addr));
|
||||
format("%p\n", Addr));
|
||||
}
|
||||
Obj.updateSymbolAddress(it->first, (uint64_t)Addr);
|
||||
SymbolTable[Name.data()] = SymbolLoc(SectionID, Offset);
|
||||
|
Loading…
Reference in New Issue
Block a user