Commit Graph

7 Commits

Author SHA1 Message Date
Allan Shortlidge
cb578172ea Tests: Remove -disable-availability-checking in more tests that use concurrency.
Use the `%target-swift-5.1-abi-triple` substitution to compile the tests for
deployment to the minimum OS versions required for use of _Concurrency APIs,
instead of disabling availability checking.
2024-10-19 12:35:20 -07:00
Evan Wilde
8b890951d0 Strengthen macOS extended frame test
Adding test to verify correct behavior from swift when targeting arm64
macOS. We caught the fact that the optimizer got smarter on arm64 in the
watchOS test, which doesn't seem to get run in PR testing. The updated
test catches it now.
2023-01-11 16:06:27 -08:00
Alejandro Alonso
2a2f70f944 Fix tests who aren't using %target-cpu (#59433)
don't import string processing
2022-06-14 20:39:03 -07:00
Arnold Schwaighofer
16a5d69b92 IRGen: Emit a weak reference to swift_async_extendedFramePointerFlags when neccessary
When we deploy to a minimum target that is not known to support extended
frame information the function prolog of Swift async functions will
contain a reference to swift_async_extendedFramePointerFlags. This
reference needs to be weak like any async symbols.

rdar://83412550
2021-09-23 09:21:25 -07:00
Arnold Schwaighofer
f43773059b Revert "Default to SwiftAsyncFramePointerKind::Always for now"
This reverts commit a93f777468.

Revert back to SwiftAsyncFramePointerKind::Auto as the default.
2021-09-15 06:56:09 -07:00
Arnold Schwaighofer
a93f777468 Default to SwiftAsyncFramePointerKind::Always for now 2021-09-14 12:48:39 -07:00
Arnold Schwaighofer
2381233ac1 Add flag -swift-async-framepointer=auto,never,always to
control swift extended frame information emission

On linux we default to disable the extended frame info (since the system
libraries don't support it).

On darwin the default is to automatically choose based on the deployment target.

The Concurrency library explicitly forces extended frame information and the
back deployment library explicitly disables it.
2021-09-14 12:47:16 -07:00