From 631e2be00cb2a028bfd9e67dd2413776cb7d825d Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Tue, 26 May 2015 20:18:26 +0000 Subject: [PATCH] Remove the code in clang that is using TargetOptions::NoFramePointerElim. This is the clang side change following r238244. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@238245 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/BackendUtil.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 30030050df..7f0c7bafc0 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -491,15 +491,6 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) { if (CodeGenOpts.CompressDebugSections) Options.CompressDebugSections = true; - // Set frame pointer elimination mode. - if (!CodeGenOpts.DisableFPElim) { - Options.NoFramePointerElim = false; - } else if (CodeGenOpts.OmitLeafFramePointer) { - Options.NoFramePointerElim = false; - } else { - Options.NoFramePointerElim = true; - } - if (CodeGenOpts.UseInitArray) Options.UseInitArray = true; -- 2.40.0