[all-commits] [llvm/llvm-project] f670c5: Add a new frontend flag `-fswift-async-fp={auto|al...
Arnold Schwaighofer via All-commits
all-commits at lists.llvm.org
Thu Sep 16 08:49:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f670c5aeeef09cd7b88e72cf8c1f2505d044a8ea
https://github.com/llvm/llvm-project/commit/f670c5aeeef09cd7b88e72cf8c1f2505d044a8ea
Author: Arnold Schwaighofer <aschwaighofer at apple.com>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/CodeGen/swift-async-extended-fp.c
Log Message:
-----------
Add a new frontend flag `-fswift-async-fp={auto|always|never}`
Summary:
Introduce a new frontend flag `-fswift-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`: default, always set the bit statically, regardless of deployment
target.
* `never`: never set the bit, regardless of deployment target.
Differential Revision: https://reviews.llvm.org/D109451
More information about the All-commits
mailing list