From: Lang Hames Date: Tue, 29 Jul 2014 21:38:20 +0000 (+0000) Subject: [MCJIT] Make sure we print the full 64-bit result of exprs in RuntimeDyldChecker. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2531afb330a1e8b72f18b7d3b5fa1851c55e07d1;p=oota-llvm.git [MCJIT] Make sure we print the full 64-bit result of exprs in RuntimeDyldChecker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214227 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp index 135444f9b5b..9873897f691 100644 --- 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: " - << format("0x%lx", LHSResult.getValue()) - << " != " << format("0x%lx", RHSResult.getValue()) + << format("0x%" PRIx64, LHSResult.getValue()) + << " != " << format("0x%" PRIx64, RHSResult.getValue()) << "\n"; return false; }