Disable frame pointer elimination of the LLVM code generator.
Change-Id: I81f79997e339a0f8d947daddf44b1f18b4c276f2
diff --git a/src/compiler_llvm/compilation_unit.cc b/src/compiler_llvm/compilation_unit.cc
index d6a39f4..5ab56c4 100644
--- a/src/compiler_llvm/compilation_unit.cc
+++ b/src/compiler_llvm/compilation_unit.cc
@@ -126,6 +126,8 @@
// Target options
llvm::TargetOptions target_options;
+ target_options.NoFramePointerElim = true;
+ target_options.NoFramePointerElimNonLeaf = true;
target_options.FloatABIType = llvm::FloatABI::Soft;
target_options.UseSoftFloat = false;
target_options.NoFramePointerElim = true;