[SUA][IRGen] Add stub for swift_coroFrameAlloc that weakly links against the runtime function
This PR modifies IRGen to emit a stub function __swift_coroFrameAllocStub instead of the
newly introduced swift-rt function swift_coroFrameAlloc. The stub checks whether the runtime has the symbol
swift_coroFrameAlloc and dispatches to it if it exists, uses malloc otherwise. This ensures the
ability to back deploy the feature to older OS targets.
rdar://145239850
@swift-ci test
Please test with following pull request: https://github.com/swiftlang/llvm-project/pull/10236
@swift-ci test
Please test with following pull request: https://github.com/swiftlang/llvm-project/pull/10239
@swift-ci test
@swift-ci test
@swift-ci test
@swift-ci test
@swift-ci test
@swift-ci test
@swift-ci test
@swift-ci test
@swift-ci test
@swift-ci test
You can restrict a test to run only on say macOS and iOS by adding the following line to the test:
// REQUIRES: OS=macosx || OS=iOS
...
@swift-ci test
@swift-ci test