gallivm: replace `0x` version print with actual version string
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 27 Aug 2019 22:54:52 +0000 (23:54 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 6 Sep 2019 21:19:01 +0000 (22:19 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Michel Dänzer <mdaenzer@redhat.com>
src/gallium/auxiliary/gallivm/lp_bld_intr.c

index 2f853457bf03f041e19158465902bb0cbad63544..b7fab4fc1233a15ac2964d6b5a71996ffc8fc8e3 100644 (file)
@@ -246,8 +246,9 @@ lp_build_intrinsic(LLVMBuilderRef builder,
        * than a call to address zero in the jited code).
        */
       if (LLVMGetIntrinsicID(function) == 0) {
-         _debug_printf("llvm (version 0x%x) found no intrinsic for %s, going to crash...\n",
-                HAVE_LLVM, name);
+         _debug_printf("llvm (version " MESA_LLVM_VERSION_STRING
+                       ") found no intrinsic for %s, going to crash...\n",
+                name);
          abort();
       }