diff options
author | Doug Gregor <dgregor@apple.com> | 2021-09-15 13:35:08 -0700 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2021-09-16 06:57:45 -0700 |
commit | a773db7d76222ccf4365979e01dd582fd2b5b3df (patch) | |
tree | 7091b4cd91761e1212b209f176e6239068638926 /llvm/lib/TextAPI | |
parent | baa18ee63e83ee534a5844e6219665ce42b57707 (diff) | |
download | llvm-a773db7d76222ccf4365979e01dd582fd2b5b3df.zip llvm-a773db7d76222ccf4365979e01dd582fd2b5b3df.tar.gz llvm-a773db7d76222ccf4365979e01dd582fd2b5b3df.tar.bz2 |
Add a command-line flag to control the Swift extended async frame info.
Introduce a new command-line flag `-swift-async-fp={auto|always|never}`
that controls how code generation sets the Swift extended async frame
info bit. There are three possibilities:
* `auto`: which determines how to set the bit based on deployment target, either
statically or dynamically via `swift_async_extendedFramePointerFlags`.
* `always`: the default, always set the bit statically, regardless of deployment
target.
* `never`: never set the bit, regardless of deployment target.
Patch by Doug Gregor <dgregor@apple.com>
Reviewed By: doug.gregor
Differential Revision: https://reviews.llvm.org/D109392
Diffstat (limited to 'llvm/lib/TextAPI')
0 files changed, 0 insertions, 0 deletions