mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +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:
@ -203,7 +203,7 @@ void RuntimeDyldImpl::emitCommonSymbols(ObjectImage &Obj,
|
|||||||
Addr += AlignOffset;
|
Addr += AlignOffset;
|
||||||
Offset += AlignOffset;
|
Offset += AlignOffset;
|
||||||
DEBUG(dbgs() << "Allocating common symbol " << Name << " address " <<
|
DEBUG(dbgs() << "Allocating common symbol " << Name << " address " <<
|
||||||
format("0x%x\n", Addr));
|
format("%p\n", Addr));
|
||||||
}
|
}
|
||||||
Obj.updateSymbolAddress(it->first, (uint64_t)Addr);
|
Obj.updateSymbolAddress(it->first, (uint64_t)Addr);
|
||||||
SymbolTable[Name.data()] = SymbolLoc(SectionID, Offset);
|
SymbolTable[Name.data()] = SymbolLoc(SectionID, Offset);
|
||||||
|
Reference in New Issue
Block a user