SuccessChanges

Summary

  1. [Clang] Replace cc1 options '-mdisable-fp-elim' and '-momit-leaf-frame-pointer' with '-mframe-pointer' After D56351 and D64294, frame pointer handling is migrated to tri-state (all, non-leaf, none) in clang driver and on the function attribute. This patch makes the frame pointer handling cc1 option tri-state. Reviewers: chandlerc, rnk, t.p.northover, MaskRay Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D56353
Revision 366645 by yuanfang:
[Clang] Replace cc1 options '-mdisable-fp-elim' and '-momit-leaf-frame-pointer'
with '-mframe-pointer'

After D56351 and D64294, frame pointer handling is migrated to tri-state
(all, non-leaf, none) in clang driver and on the function attribute.
This patch makes the frame pointer handling cc1 option tri-state.

Reviewers: chandlerc, rnk, t.p.northover, MaskRay

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D56353
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/CodeGenOptions.def (diff)clang.src/include/clang/Basic/CodeGenOptions.def
The file was modified/cfe/trunk/include/clang/Basic/CodeGenOptions.h (diff)clang.src/include/clang/Basic/CodeGenOptions.h
The file was modified/cfe/trunk/include/clang/Driver/CC1Options.td (diff)clang.src/include/clang/Driver/CC1Options.td
The file was modified/cfe/trunk/include/clang/Driver/Options.td (diff)clang.src/include/clang/Driver/Options.td
The file was modified/cfe/trunk/lib/CodeGen/CGCall.cpp (diff)clang.src/lib/CodeGen/CGCall.cpp
The file was modified/cfe/trunk/lib/Driver/ToolChains/Clang.cpp (diff)clang.src/lib/Driver/ToolChains/Clang.cpp
The file was modified/cfe/trunk/lib/Frontend/CompilerInvocation.cpp (diff)clang.src/lib/Frontend/CompilerInvocation.cpp
The file was modified/cfe/trunk/test/CodeGen/msp430-fp-elim.c (diff)clang.src/test/CodeGen/msp430-fp-elim.c
The file was modified/cfe/trunk/test/CodeGen/x86_64-profiling-keep-fp.c (diff)clang.src/test/CodeGen/x86_64-profiling-keep-fp.c
The file was modified/cfe/trunk/test/CodeGen/xcore-abi.c (diff)clang.src/test/CodeGen/xcore-abi.c
The file was modified/cfe/trunk/test/CodeGen/xcore-abi.cpp (diff)clang.src/test/CodeGen/xcore-abi.cpp
The file was modified/cfe/trunk/test/CodeGenCXX/global-init.cpp (diff)clang.src/test/CodeGenCXX/global-init.cpp
The file was modified/cfe/trunk/test/CodeGenObjCXX/msabi-stret.mm (diff)clang.src/test/CodeGenObjCXX/msabi-stret.mm
The file was modified/cfe/trunk/test/Driver/cl-options.c (diff)clang.src/test/Driver/cl-options.c
The file was modified/cfe/trunk/test/Driver/clang-translation.c (diff)clang.src/test/Driver/clang-translation.c
The file was modified/cfe/trunk/test/Driver/frame-pointer-elim.c (diff)clang.src/test/Driver/frame-pointer-elim.c
The file was modified/cfe/trunk/test/Driver/frame-pointer.c (diff)clang.src/test/Driver/frame-pointer.c
The file was modified/cfe/trunk/test/Driver/woa-fp.c (diff)clang.src/test/Driver/woa-fp.c
The file was modified/cfe/trunk/test/Driver/xcore-opts.c (diff)clang.src/test/Driver/xcore-opts.c