mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
[MCJIT] Fix format specifiers for debug output in RuntimeDyld.
More work on http://llvm.org/PR20640 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5283829707
commit
41db8128a2
@ -61,7 +61,7 @@ static void dumpSectionMemory(const SectionEntry &S, StringRef State) {
|
||||
|
||||
while (BytesRemaining > 0) {
|
||||
if ((LoadAddr & (ColsPerRow - 1)) == 0)
|
||||
dbgs() << "\n" << format("0x%08x", LoadAddr) << ":";
|
||||
dbgs() << "\n" << format("0x%016" PRIx64, LoadAddr) << ":";
|
||||
|
||||
dbgs() << " " << format("%02x", *DataAddr);
|
||||
|
||||
|
@ -115,8 +115,8 @@ void RuntimeDyldMachO::dumpRelocationToResolve(const RelocationEntry &RE,
|
||||
|
||||
dbgs() << "resolveRelocation Section: " << RE.SectionID
|
||||
<< " LocalAddress: " << format("%p", LocalAddress)
|
||||
<< " FinalAddress: " << format("0x%x", FinalAddress)
|
||||
<< " Value: " << format("0x%x", Value) << " Addend: " << RE.Addend
|
||||
<< " FinalAddress: " << format("0x%016" PRIx64, FinalAddress)
|
||||
<< " Value: " << format("0x%016" PRIx64, Value) << " Addend: " << RE.Addend
|
||||
<< " isPCRel: " << RE.IsPCRel << " MachoType: " << RE.RelType
|
||||
<< " Size: " << (1 << RE.Size) << "\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user