mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
print intptr_t's as pointers in compareIpToMethodBounds to avoid printf compatibility issues
This commit is contained in:
parent
012d548bbb
commit
2da6980eb5
@ -189,8 +189,10 @@ compareIpToMethodBounds(Thread* t, intptr_t ip, object method)
|
||||
intptr_t start = methodCompiled(t, method);
|
||||
|
||||
if (DebugMethodTree) {
|
||||
fprintf(stderr, "find 0x%"LX" in (0x%"LX",0x%"LX")\n", ip, start,
|
||||
start + compiledSize(start));
|
||||
fprintf(stderr, "find %p in (%p,%p)\n",
|
||||
reinterpret_cast<void*>(ip),
|
||||
reinterpret_cast<void*>(start),
|
||||
reinterpret_cast<void*>(start + compiledSize(start)));
|
||||
}
|
||||
|
||||
if (ip < start) {
|
||||
|
Loading…
Reference in New Issue
Block a user