diff options
author | mortimer <mortimer@cvs.openbsd.org> | 2019-06-01 15:20:09 +0000 |
---|---|---|
committer | mortimer <mortimer@cvs.openbsd.org> | 2019-06-01 15:20:09 +0000 |
commit | 58827799e252b754b1d76b862d53eef2f23700b2 (patch) | |
tree | 25a14d034cd50141c3abcbceafdfeef51ecd2025 /gnu/llvm/tools | |
parent | a0e1f7014036a5c7704503c72ab3e8adad0cfdc2 (diff) |
Do not eliminate frame pointers on i386. The entire i386 ecosystem assumes
it will be there.
problem found by naddy@, "heck yeah" kettenis@
Diffstat (limited to 'gnu/llvm/tools')
-rw-r--r-- | gnu/llvm/tools/clang/lib/Driver/ToolChains/Clang.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gnu/llvm/tools/clang/lib/Driver/ToolChains/Clang.cpp b/gnu/llvm/tools/clang/lib/Driver/ToolChains/Clang.cpp index 06e98b7c403..64a84051474 100644 --- a/gnu/llvm/tools/clang/lib/Driver/ToolChains/Clang.cpp +++ b/gnu/llvm/tools/clang/lib/Driver/ToolChains/Clang.cpp @@ -532,7 +532,6 @@ static bool useFramePointerForTargetByDefault(const ArgList &Args, switch (Triple.getArch()) { case llvm::Triple::mips64: case llvm::Triple::mips64el: - case llvm::Triple::x86: case llvm::Triple::x86_64: return !areOptimizationsEnabled(Args); default: |