projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[MCJIT] Make sure we print the full 64-bit result of exprs in RuntimeDyldChecker.
[oota-llvm.git]
/
lib
/
ExecutionEngine
/
RuntimeDyld
/
RuntimeDyldChecker.cpp
diff --git
a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
index 135444f9b5bb8138732090ddaeb06d317df88ddd..9873897f69182c240dd07cdba1fe1e82392b3dd7 100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
+++ b/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
@@
-62,8
+62,8
@@
public:
if (LHSResult.getValue() != RHSResult.getValue()) {
Checker.ErrStream << "Expression '" << Expr << "' is false: "
if (LHSResult.getValue() != RHSResult.getValue()) {
Checker.ErrStream << "Expression '" << Expr << "' is false: "
- << format("0x%
lx"
, LHSResult.getValue())
- << " != " << format("0x%
lx"
, RHSResult.getValue())
+ << format("0x%
" PRIx64
, LHSResult.getValue())
+ << " != " << format("0x%
" PRIx64
, RHSResult.getValue())
<< "\n";
return false;
}
<< "\n";
return false;
}