[PATCH] D56353: Replace cc1 options '-mdisable-fp-elim' and '-momit-leaf-frame-pointer' with'-mframe-pointer='
Yuanfang Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 5 04:42:13 PST 2019
tabloid.adroit created this revision.
tabloid.adroit added reviewers: chandlerc, rnk, t.p.northover.
Herald added a subscriber: cfe-commits.
set cc1 '-mframe-pointer=' according to driver options m(no-)omit-leaf-frame-pointer
and f(no-)omit-frame-pointer
This makes -fomit-frame-pointer imply -momit-leaf-frame-pointer.
This matches GCC's behavior. PR9825
following up
https://reviews.llvm.org/D56351
related:
https://reviews.llvm.org/D55915
Repository:
rC Clang
https://reviews.llvm.org/D56353
Files:
include/clang/Basic/CodeGenOptions.def
include/clang/Basic/CodeGenOptions.h
include/clang/Driver/CC1Options.td
include/clang/Driver/Options.td
lib/CodeGen/CGCall.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/x86_64-profiling-keep-fp.c
test/CodeGenCXX/global-init.cpp
test/CodeGenObjCXX/msabi-stret.mm
test/Driver/cl-options.c
test/Driver/clang-translation.c
test/Driver/frame-pointer-elim.c
test/Driver/frame-pointer.c
test/Driver/woa-fp.c
test/Driver/xcore-opts.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56353.180368.patch
Type: text/x-patch
Size: 21452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190105/09e24af3/attachment-0001.bin>
More information about the cfe-commits
mailing list