Commit 60c248c3 authored by Vinson Lee's avatar Vinson Lee

gallivm: Remove NoFramePointerElimNonLeaf for LLVM >= 3.4.

TargetOptions::NoFramePointerElimNonLeaf was removed in LLVM 3.4
r187093.
Signed-off-by: default avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: default avatarJosé Fonseca <jfonseca@vmware.com>
parent a5eecb24
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment