Commit Graph

12 Commits

Author SHA1 Message Date
swift-ci
6ea9995a81 Merge remote-tracking branch 'origin/main' into rebranch 2024-10-19 18:57:20 -07:00
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
Felipe de Azevedo Piovezan
a321b0afe0 [DebugInfo] Update tests to expect new LLVM debug format 2024-07-23 11:06:12 -07:00
Felipe de Azevedo Piovezan
5f1c40926f [DebugInfo][NFC] Re-enable async-direct-arg.swift test
This test had been disabled back in 2021:
https://github.com/apple/swift/pull/36479

With this commit, it should now pass.

We also add a 64-bit target requirement, since this test relies on entry_values
being produced.
2023-10-26 12:47:29 -07:00
Doug Gregor
eeeea49764 Remove -enable-experimental-concurrency almost everywhere. 2021-07-26 21:24:43 -07:00
Doug Gregor
1e2012d816 Disable availability checking in tests that use concurrency 2021-07-20 12:46:26 -07:00
adrian-prantl
b0472a8728 Revert "Disable tests on arm64e" 2021-03-17 18:22:13 -07:00
John McCall
6c879d6fd3 Change the async ABI to not pass the active task and executor.
Most of the async runtime functions have been changed to not
expect the task and executor to be passed in.  When knowing the
task and executor is necessary, there are runtime functions
available to recover them.

The biggest change I had to make to a runtime function signature
was to swift_task_switch, which has been altered to expect to be
passed the context and resumption function instead of requiring
the caller to park the task.  This has the pleasant consequence
of allowing the implementation to very quickly turn around when
it recognizes that the current executor is satisfactory.  It does
mean that on arm64e we have to sign the continuation function
pointer as an argument and then potentially resign it when
assigning into the task's resume slot.

rdar://70546948
2021-03-16 22:52:54 -04:00
Adrian Prantl
e51bcdb3e9 Enable lifetime extension for local variables and function arguments in async
functions at -Onone to force them to get promoted into the async context.

This patch includes a partial revert of a83bfabc8b.
2021-03-03 15:00:07 -08:00
Adrian Prantl
f9a8a71652 Disable tests on arm64e 2021-02-23 09:58:17 -08:00
Erik Eckstein
f482f41ae1 temporarily disable DebugInfo/async-direct-arg.swift
It fails on arm64e

rdar://74588568
2021-02-22 10:55:22 +01:00
Adrian Prantl
582bbbdbd9 Add debug info support for direct async arguments.
rdar://74460135
2021-02-19 15:48:59 -08:00