[llvm] r214227 - [MCJIT] Make sure we print the full 64-bit result of exprs in RuntimeDyldChecker.

Lang Hames lhames at gmail.com
Tue Jul 29 14:38:20 PDT 2014


Author: lhames
Date: Tue Jul 29 16:38:20 2014
New Revision: 214227

URL: http://llvm.org/viewvc/llvm-project?rev=214227&view=rev
Log:
[MCJIT] Make sure we print the full 64-bit result of exprs in RuntimeDyldChecker.


Modified:
    llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp

Modified: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp?rev=214227&r1=214226&r2=214227&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp Tue Jul 29 16:38:20 2014
@@ -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;
     }





More information about the llvm-commits mailing list