mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +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);
|
intptr_t start = methodCompiled(t, method);
|
||||||
|
|
||||||
if (DebugMethodTree) {
|
if (DebugMethodTree) {
|
||||||
fprintf(stderr, "find 0x%"LX" in (0x%"LX",0x%"LX")\n", ip, start,
|
fprintf(stderr, "find %p in (%p,%p)\n",
|
||||||
start + compiledSize(start));
|
reinterpret_cast<void*>(ip),
|
||||||
|
reinterpret_cast<void*>(start),
|
||||||
|
reinterpret_cast<void*>(start + compiledSize(start)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ip < start) {
|
if (ip < start) {
|
||||||
|
Loading…
Reference in New Issue
Block a user