[clang] [Mips] Remove mips from omitting the frame pointer for Linux (PR #199381)

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Sat May 23 15:02:02 PDT 2026


https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/199381

6b1f976858eea5a64f058ca48873be834bd79569 enabled omitting
the frame no matter what OS so remove the now redundancy
with having this on the Linux path.

>From c8632997de3bdd92fe24ac2e282f2e9d14741000 Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Sat, 23 May 2026 17:58:04 -0400
Subject: [PATCH] [Mips] Remove mips from omitting the frame pointer for Linux

6b1f976858eea5a64f058ca48873be834bd79569 enabled omitting
the frame no matter what OS so remove the now redundancy
with having this on the Linux path.
---
 clang/lib/Driver/ToolChains/CommonArgs.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/clang/lib/Driver/ToolChains/CommonArgs.cpp b/clang/lib/Driver/ToolChains/CommonArgs.cpp
index 2ef7c1506e18d..6a0dcfca62c60 100644
--- a/clang/lib/Driver/ToolChains/CommonArgs.cpp
+++ b/clang/lib/Driver/ToolChains/CommonArgs.cpp
@@ -121,10 +121,6 @@ static bool useFramePointerForTargetByDefault(const llvm::opt::ArgList &Args,
     case llvm::Triple::armeb:
     case llvm::Triple::thumb:
     case llvm::Triple::thumbeb:
-    case llvm::Triple::mips64:
-    case llvm::Triple::mips64el:
-    case llvm::Triple::mips:
-    case llvm::Triple::mipsel:
     case llvm::Triple::systemz:
     case llvm::Triple::x86:
     case llvm::Triple::x86_64:



More information about the cfe-commits mailing list