From 0ac02e7c4fcdda35940eccba385001e8b882c63e Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 22 Aug 2013 20:46:20 -0400 Subject: make: stop disabling frame pointer elimination We currently have no need for the frame pointers on any platform. They may eventually be needed on platforms without an equivalent to the DWARF call frame information to walk the stack in the garbage collector. Closes #7477 --- src/rustllvm/RustWrapper.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/rustllvm/RustWrapper.cpp') diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp index 1a4b7f32329..7e9a790e215 100644 --- a/src/rustllvm/RustWrapper.cpp +++ b/src/rustllvm/RustWrapper.cpp @@ -342,7 +342,6 @@ LLVMRustBuildJIT(void* mem, std::string Err; TargetOptions Options; Options.JITEmitDebugInfo = true; - Options.NoFramePointerElim = true; Options.EnableSegmentedStacks = EnableSegmentedStacks; RustMCJITMemoryManager* MM = (RustMCJITMemoryManager*) mem; assert(MM); @@ -393,7 +392,6 @@ LLVMRustWriteOutputFile(LLVMPassManagerRef PMR, } TargetOptions Options; - Options.NoFramePointerElim = true; Options.EnableSegmentedStacks = EnableSegmentedStacks; Options.FixedStackSegmentSize = 2 * 1024 * 1024; // XXX: This is too big. -- cgit 1.4.1-3-g733a5