gallivm: replace `0x` version print with actual version string

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Michel Dänzer <mdaenzer@redhat.com>
This commit is contained in:
Eric Engestrom 2019-08-27 23:54:52 +01:00
parent 9790cfcefa
commit 5aebe37b53
1 changed files with 3 additions and 2 deletions

View 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();
}