mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
[MCJIT] Fix a debugging-output formatting bug in RuntimeDyld.
The mismatched mask (7 vs (ColsPerRow-1)) could lead to partial lines being printed out of place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218061 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7458ce3af9
commit
d80c0869ee
@ -50,7 +50,7 @@ static void dumpSectionMemory(const SectionEntry &S, StringRef State) {
|
||||
uint8_t *DataAddr = S.Address;
|
||||
uint64_t LoadAddr = S.LoadAddress;
|
||||
|
||||
unsigned StartPadding = LoadAddr & 7;
|
||||
unsigned StartPadding = LoadAddr & (ColsPerRow - 1);
|
||||
unsigned BytesRemaining = S.Size;
|
||||
|
||||
if (StartPadding) {
|
||||
|
Loading…
Reference in New Issue
Block a user