diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c b/src/gallium/auxiliary/gallivm/lp_bld_init.c index 768d935..90038b7 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_init.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c @@ -271,6 +271,14 @@ init_gallivm_state(struct gallivm_state *gallivm) LLVMAddModuleProvider(gallivm->engine, gallivm->provider);//new gallivm->target = LLVMGetExecutionEngineTargetData(gallivm->engine); + { + char *data_layout; + data_layout = LLVMCopyStringRepOfTargetData(gallivm->target); + if (data_layout) { + debug_printf("data_layout = %s\n", data_layout); + free(data_layout); + } + } if (!gallivm->target) goto fail;