[Mesa-dev] [PATCH] gallivm: Remove NoFramePointerElimNonLeaf for LLVM >= 3.4.
Jose Fonseca
jfonseca at vmware.com
Thu Jul 25 07:07:20 PDT 2013
----- Original Message -----
> TargetOptions::NoFramePointerElimNonLeaf was removed in LLVM 3.4
> r187093.
>
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
> src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> index 1e5adb7..e09bb78 100644
> --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
> @@ -281,7 +281,9 @@
> lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
> #endif
>
> #if defined(DEBUG) || defined(PROFILE)
> +#if HAVE_LLVM < 0x0304
> options.NoFramePointerElimNonLeaf = true;
> +#endif
> options.NoFramePointerElim = true;
> #endif
>
> --
> 1.8.2.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
More information about the mesa-dev
mailing list