diff options
author | Vinson Lee <[email protected]> | 2013-07-24 23:28:27 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2013-07-25 09:50:07 -0700 |
commit | 60c248c3aff1d6a23d60afeaed78c50e4af00b8c (patch) | |
tree | 0fb0e9cd5d00b42d42e42ffb6d13a40527d78900 /src/gallium/auxiliary/gallivm | |
parent | a5eecb246d66fd8f27eca3c4f6f83bf2641b9403 (diff) |
gallivm: Remove NoFramePointerElimNonLeaf for LLVM >= 3.4.
TargetOptions::NoFramePointerElimNonLeaf was removed in LLVM 3.4
r187093.
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index 1e5adb782b8..e09bb78de17 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 |