[PATCH] D64294: [Driver] Consolidate shouldUseFramePointer() and shouldUseLeafFramePointer()
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 9 01:58:36 PDT 2019
MaskRay updated this revision to Diff 208615.
MaskRay edited the summary of this revision.
MaskRay added a comment.
Implement the GCC behavior:
-fomit-frame-pointer wins over -mno-omit-leaf-frame-pointer
-fno-omit-frame-pointer loses out to -momit-leaf-frame-pointer
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64294/new/
https://reviews.llvm.org/D64294
Files:
lib/Driver/ToolChains/Clang.cpp
test/Driver/cl-options.c
test/Driver/clang_f_opts.c
test/Driver/frame-pointer-elim.c
test/Driver/xcore-opts.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64294.208615.patch
Type: text/x-patch
Size: 12761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190709/8624aad8/attachment-0001.bin>
More information about the cfe-commits
mailing list