Commit Graph

4 Commits

Author SHA1 Message Date
Michael Gottesman
373ff5b747 Merge pull request #83857 from gottesmm/pr-12c1043388c039692620e595297d355620fcedf3
[concurrency] Make all runtime tests also run with nonisolated(nonsending) by default enabled.
2025-08-25 14:43:55 -07:00
Michael Gottesman
61ae730f00 [concurrency] Make all runtime tests also run with nonisolated(nonsending) by default enabled.
Just adding more code coverage.
2025-08-21 12:54:00 -07:00
Eric Miotto
d6df83d8fa Restrict a few tests to run against the just built runtime
Addresses rdar://158442561
2025-08-20 14:50:47 -07:00
Slava Pestov
b2e2b02a71 IRGen: Fix out-of-order task_dealloc with parameter pack metadata
We deallocate an instruction's packs at points where no further
control flow path uses the value. In the case of an alloc_stack,
this will be right after the dealloc_stack. Thus, if alloc_stack
allocates some packs to build type metadata for a tuple type
that contains a pack, and then proceeds to allocate a value
large enough to hold the tuple, we will free the second allocation
first, before we free the pack, as expected.

However, after stack allocating the value, alloc_stack does
some further work to emit debug info. This could result in
emission of additional metadata packs.

Split up the debug info emission into two parts; the first we do
before we perform the stack allocation, the rest we do after.

- Fixes https://github.com/swiftlang/swift/issues/67702.
- Fixes rdar://problem/141363236.
2025-05-15 12:22:21 -04:00