[PATCH] D109451: Summary:Introduce a new frontend flag `-fswift-async-fp={auto|always|never}` thatcontrols how code generation sets the Swift extended async frameinfo bit. There are three possibilities:
Arnold Schwaighofer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 8 10:04:43 PDT 2021
aschwaighofer created this revision.
aschwaighofer added reviewers: doug.gregor, t.p.northover.
Herald added subscribers: ormris, dexonsmith, dang.
aschwaighofer requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
- `auto`: the default, which determines how to set the bit based on
deployment target, either statically or dynamically via
`swift_async_extendedFramePointerFlags`.
- `always`: always set the bit statically, regardless of deployment
target.
- `never`: never set the bit, regardless of deployment target.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109451
Files:
clang/include/clang/Basic/CodeGenOptions.def
clang/include/clang/Basic/CodeGenOptions.h
clang/include/clang/Driver/Options.td
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/CodeGen/swift-async-extended-fp.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109451.371383.patch
Type: text/x-patch
Size: 6792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210908/6741861b/attachment.bin>
More information about the cfe-commits
mailing list