projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5eecb2
)
gallivm: Remove NoFramePointerElimNonLeaf for LLVM >= 3.4.
author
Vinson Lee
<vlee@freedesktop.org>
Thu, 25 Jul 2013 06:28:27 +0000
(23:28 -0700)
committer
Vinson Lee
<vlee@freedesktop.org>
Thu, 25 Jul 2013 16:50:07 +0000
(09:50 -0700)
TargetOptions::NoFramePointerElimNonLeaf was removed in LLVM 3.4
r187093.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 1e5adb782b8546337894ef56dc34abb3feb097bd..e09bb78de17c6d173baf48c1a4877db1a4fae69c 100644
(file)
--- 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