[MCJIT] Make sure we print the full 64-bit result of exprs in RuntimeDyldChecker.
authorLang Hames <lhames@gmail.com>
Tue, 29 Jul 2014 21:38:20 +0000 (21:38 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 29 Jul 2014 21:38:20 +0000 (21:38 +0000)
llvm-svn: 214227

llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp

index 135444f..9873897 100644 (file)
@@ -62,8 +62,8 @@ public:
 
     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;
     }