This is an archive of the discontinued LLVM Phabricator instance.

Add a command-line flag to control the Swift extended async frame info.
ClosedPublic

Authored by aschwaighofer on Sep 7 2021, 2:22 PM.

Details

Summary

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: 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.

Patch by Doug Gregor <dgregor@apple.com>

Diff Detail

Event Timeline

aschwaighofer created this revision.Sep 7 2021, 2:22 PM
aschwaighofer requested review of this revision.Sep 7 2021, 2:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 7 2021, 2:22 PM
doug.gregor accepted this revision.Sep 7 2021, 2:24 PM
This revision is now accepted and ready to land.Sep 7 2021, 2:24 PM
This revision was landed with ongoing or failed builds.Sep 16 2021, 6:58 AM
This revision was automatically updated to reflect the committed changes.