aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-08-27 23:54:52 +0100
committerEric Engestrom <[email protected]>2019-09-06 22:19:01 +0100
commit5aebe37b53fb18d2923a5810f8c5733b879dc477 (patch)
tree47c6e968701f800a225e8d330e88835d0cfcba0b
parent9790cfcefa6cbf1aeb898757e5c9be6d5eecc425 (diff)
gallivm: replace `0x` version print with actual version string
Signed-off-by: Eric Engestrom <[email protected]> Acked-by: Michel Dänzer <[email protected]>
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_intr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_intr.c b/src/gallium/auxiliary/gallivm/lp_bld_intr.c
index 2f853457bf0..b7fab4fc123 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_intr.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_intr.c
@@ -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();
}