This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by aschwaighofer on Sep 8 2021, 10:04 AM.

Details

Summary
  • 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.

Diff Detail

Event Timeline

aschwaighofer created this revision.Sep 8 2021, 10:04 AM
aschwaighofer requested review of this revision.Sep 8 2021, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 8 2021, 10:04 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
doug.gregor accepted this revision.Sep 8 2021, 12:37 PM

Looks great, thank you!

This revision is now accepted and ready to land.Sep 8 2021, 12:37 PM
This revision was landed with ongoing or failed builds.Sep 16 2021, 8:49 AM
This revision was automatically updated to reflect the committed changes.