Mesa (master): gallivm: replace `0x` version print with actual version string
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Sep 6 21:41:58 UTC 2019
Module: Mesa
Branch: master
Commit: 5aebe37b53fb18d2923a5810f8c5733b879dc477
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5aebe37b53fb18d2923a5810f8c5733b879dc477
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Tue Aug 27 23:54:52 2019 +0100
gallivm: replace `0x` version print with actual version string
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Acked-by: Michel Dänzer <mdaenzer at redhat.com>
---
src/gallium/auxiliary/gallivm/lp_bld_intr.c | 5 +++--
1 file 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();
}
More information about the mesa-commit
mailing list