Max Desiatov
e0531560d1
Merge branch 'main' into maxd/cross-repo-testing
2025-11-20 23:05:55 +00:00
Xi Ge
be5d4b3747
Merge pull request #85600 from nkcsgexi/159408187
...
OriginallyDefinedIn: always use 1.0 as the starting platform version for $ld$previous directives
2025-11-20 14:33:03 -08:00
Ryan Mansfield
233414032f
Merge pull request #85610 from ktoso/wip-adjust-availability
...
Follow up: Availability of Set thread base priority when running escalated Tasks
2025-11-20 16:13:24 -05:00
Anthony Latsis
9dc6ff700f
Merge pull request #85574 from swiftlang/jepa-main4
...
[utils] swift-xcodegen: Bump tools & SDK versions + misc improvements
2025-11-20 20:44:42 +00:00
Saleem Abdulrasool
62b7fe594c
Merge pull request #85493 from speednoisemovement/normalize_tc_dir
...
build.ps1: extract normalized toolchain name
2025-11-20 10:30:37 -08:00
Henrik G. Olsson
2211824798
Merge pull request #85468 from hnrklssn/revert-dedup-clang-module-imports
...
Revert "Sema: Prefer the submodule import for access-levels diagnostics"
2025-11-20 10:22:45 -08:00
Xi Ge
db1b398ea0
OriginallyDefinedIn: always use 1.0 as the starting platform version for $ld$previous directives
...
Before this change, we were sometimes using introductory platform version as the starting version where
a symbol is considered belonging to the original binary. However, this is insufficient
because backdeploying to a platform version prior to a symbol's introductory version can happen. When it
happens, we should expect the moved symbol to be found in the moved-from library, not the moved-to one. Expecting
the symbol to be found in the moved-to library can lead to crasher.
Resolves: rdar://159408187
2025-11-20 09:19:28 -08:00
Anthony Latsis
38f72fac32
[utils] swift-xcodegen: Make a couple of types noncopyable
2025-11-20 15:37:04 +00:00
Anthony Latsis
87a0f5ec7a
[utils] swift-xcodegen: Enable some Swift 7 upcoming features
2025-11-20 15:32:44 +00:00
Anthony Latsis
55de49d10b
[utils] swift-xcodegen: Bump deployment target to macOS 15 and use Mutex
2025-11-20 15:02:32 +00:00
Pavel Yaskevich
cf535d8b99
Merge pull request #85603 from xedin/rdar-163792371
...
[Concurrency] Allow transferring `nonisolated(nonsending)` to isolati…
swift-DEVELOPMENT-SNAPSHOT-2025-11-20-a
2025-11-20 06:55:53 -08:00
Anthony Latsis
8358329bd3
[utils] swift-xcodegen: Update command usage in README
2025-11-20 14:48:34 +00:00
Anthony Latsis
6846aabb03
[utils] swift-xcodegen: Proofread option descriptions
2025-11-20 14:48:31 +00:00
Kavon Farvardin
7d4f45b303
Merge pull request #85608 from kavon/opaque-values/fixes-5
...
OpaqueValues: fixes for distributed actors + introduce AccessControls
2025-11-20 06:48:24 -08:00
Aidan Hall
2c9013b2a4
Merge pull request #84648 from swiftlang/users/kovdan01/ast-bridges-for-autodiff-closure-spec
...
Bridging: Implement bridges required for ongoing AutoDiff changes
2025-11-20 14:45:28 +00:00
Anthony Latsis
1b2abc4c5b
[utils] swift-xcodegen: Proofread README
2025-11-20 14:32:51 +00:00
Anthony Latsis
f45ef5243f
[utils] swift-xcodegen: migrate to Swift Testing
2025-11-20 14:32:13 +00:00
Anthony Latsis
c1ca6993cf
[utils] swift-xcodegen: Bump tools version to 6.0
2025-11-20 14:22:05 +00:00
Arnold Schwaighofer
d0df11069f
Merge pull request #85595 from aschwaighofer/irgen_specialized_metadata_vw_nested_types
...
IRGen: Detect nested generic types during generation of the vwt of specialized metadata
2025-11-20 08:24:26 -05:00
Egor Zhdan
6b118aca0d
Merge pull request #85488 from CrazyFanFan/optimization/cxx_set_contains
...
Optimize `contains` method implementation in `CxxSet`
2025-11-20 12:03:52 +00:00
Ryan Mansfield
385beb89f3
Merge pull request #85599 from rjmansfield/fix-android-availability-test
...
XFAIL availability_custom_domains_clang_build test on Android
2025-11-20 06:44:43 -05:00
Kavon Farvardin
f8a31c6c9d
Merge pull request #85573 from kavon/document-escapable
...
Doc: add explainer for `Escapable`
2025-11-20 01:49:23 -08:00
eeckstein
7ce79f2cdf
Merge pull request #85430 from jamieQ/remove-di-non-tuple-carveout
...
[NFC][DI]: remove getLivenessAtNonTupleInst method from definite init
2025-11-20 10:02:47 +01:00
Slava Pestov
bfb6c826c4
Merge pull request #85560 from slavapestov/fix-ridiculous-irgen-thing
...
IRGen: Remove unsafe usage of static variable
2025-11-20 02:54:38 -05:00
Henrik G. Olsson
7d6acaeddb
Merge pull request #84941 from ramonasuncion/test-siloptimizer-fix-conditional-destroy
...
[Test][SILOptimizer] Fix di-conditional-destroy-scope test
2025-11-19 23:41:32 -08:00
Henrik G. Olsson
ba7b9b0d6b
Revert "Sema: Prefer the submodule import for access-levels diagnostics"
...
This reverts commit ca8792ca37 .
Revert "[ImportResolution] Gracefully handle importing broken clang module"
This reverts commit edb48dff8c .
Revert "[ImportResolution] Don't deduplicate scoped imports"
This reverts commit da96079eb0 .
Revert "[ImportResolution] Deduplicate top-level clang modules from import list"
This reverts commit 0ea5677aa1 .
Reverting due to namelookup errors.
rdar://164588082
2025-11-19 23:10:14 -08:00
Henrik G. Olsson
d886513828
[Sema] add reproducer (NFC)
...
This test case compiled fine before
da96079eb0 and the subsequent
https://github.com/swiftlang/swift/pull/84828 , but now errors. The next
commit will revert those changes.
2025-11-19 23:09:15 -08:00
Ryan Mansfield
2d11c6e7b0
Merge pull request #85611 from qiongsiwu/disable_test_165014838
...
[DependencyScanning] Disable TestModuleCycle Unit Test
2025-11-19 21:45:34 -05:00
Qiongsi Wu
070a6f0973
Disable TestModuleCycle while we investigate the extra diagnostics.
2025-11-19 18:40:23 -08:00
Bryce Wilson
5f83c54f8c
[Concurrency] Set thread base priority when running escalated Tasks
2025-11-20 11:15:22 +09:00
Kavon Farvardin
10d80531fd
Distributed: reenable distributed_actor_init_local.swift
...
The issue in rdar://92952551 appears to have been resolved.
2025-11-19 17:35:18 -08:00
Kavon Farvardin
7c6d54efa6
OpaqueValues: fix emitDistributedActorSystemWitnessCall
...
This code was not consulting SILFunctionConventions, so it was
passing things indirect when they are not in sil-opaque-values.
This fixes callers as well to ensure they pass arguments and
results correctly in both modes.
2025-11-19 17:35:14 -08:00
Kavon Farvardin
199156b307
SILGen: ban getSILArgumentConvention
...
This function will give the wrong convention in SILGen when
using -enable-sil-opaque-values. In particular, it will say
arguments are indirect when they are not.
2025-11-19 17:32:20 -08:00
Kavon Farvardin
5e9fba115a
NFC: provide deprecation & unavailable attribute macros
2025-11-19 17:32:19 -08:00
Bryce Wilson
b30f63530a
[Concurrency] Set thread base priority when running escalated Tasks ( #84895 )
2025-11-20 09:58:08 +09:00
Saleem Abdulrasool
86fb7acc56
Merge pull request #85594 from compnerd/dynamic-only
...
utils: clean up static library elision
2025-11-19 16:34:26 -08:00
Kavon Farvardin
6ab3a03c1d
Merge pull request #85578 from kavon/opaque-values/fixes-4
2025-11-19 16:02:09 -08:00
Ramon Asuncion
ea38612066
[Test][SILOptimizer] Quote filter function name
2025-11-19 18:25:04 -05:00
Pavel Yaskevich
2335293f0d
[Concurrency] Allow transferring nonisolated(nonsending) to isolation boundary closures
...
Isolation boundary closures don't assume parent isolation and should
be able to get `nonisolated(nonsending)` transferred to them jus
like regular nonisolated closures do.
Resolves: rdar://163792371
2025-11-19 14:56:40 -08:00
Michael Gottesman
26627d7987
Merge pull request #85590 from gottesmm/pr-ec98d099eea90c59803748f629e9c4dfb27d42a0
...
[docs] Add some information to DebuggingTheCompiler.md about working with the various simulators.
2025-11-19 14:49:22 -08:00
Saleem Abdulrasool
b06ac15daa
Merge pull request #85467 from compnerd/execution
...
build: explicitly error out if `-print-target-info` fails
2025-11-19 14:39:40 -08:00
Saleem Abdulrasool
87c858b769
Merge pull request #85583 from compnerd/system-duplication
...
utils: avoid rebuilding swift-system
2025-11-19 14:36:03 -08:00
Zixu Wang
5221e7bd0c
[APIGen] Mark symbols from non-API level library as private ( #85553 )
...
All symbols are private (as in the API descriptor) if the library level
is more restricted than `LibraryLevel::API`.
Resolves rdar://164901718
<!--
If this pull request is targeting a release branch, please fill out the
following form:
https://github.com/swiftlang/.github/blob/main/PULL_REQUEST_TEMPLATE/release.md?plain=1
Otherwise, replace this comment with a description of your changes and
rationale. Provide links to external references/discussions if
appropriate.
If this pull request resolves any GitHub issues, link them like so:
Resolves <link to issue>, resolves <link to another issue>.
For more information about linking a pull request to an issue, see:
https://docs.github.com/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
-->
<!--
Before merging this pull request, you must run the Swift continuous
integration tests.
For information about triggering CI builds via @swift-ci, see:
https://github.com/apple/swift/blob/main/docs/ContinuousIntegration.md#swift-ci
Thank you for your contribution to Swift!
-->
2025-11-19 13:38:40 -08:00
Ryan Mansfield
01d4323a70
XFAIL availability_custom_domains_clang_build test on Android
...
The test requires availability_domain.h which is clang builtin header
that is not available in the Android NDK's bundled clang.
2025-11-19 16:34:05 -05:00
Slava Pestov
674e7dac41
Merge pull request #85581 from slavapestov/better-docs-readme
...
Re-organize docs/README.md
2025-11-19 15:13:58 -05:00
eeckstein
78aacd67b4
Merge pull request #85569 from eeckstein/fix-licm
...
LoopInvariantCodeMotion: don't reuse existing instructions in the loop pre-header
2025-11-19 20:59:43 +01:00
Arnold Schwaighofer
3292aaa618
IRGen: Detect nested generic types during generation of the vwt of specialized metadata
...
The previous code would not detect Container<T>.NonFixed but only NonFixed<T>.
For code size reasons we want to use the generic value witness functions rather than specialized ones in specialized metadata.
2025-11-19 11:30:09 -08:00
Arnold Schwaighofer
9b7dafbcb1
Test case
2025-11-19 11:26:49 -08:00
Saleem Abdulrasool
a1786258d6
utils: clean up static library elision
...
When building just the dynamic variants of the SDK, we would fail due to
the subdirectory not existing. This allows us to proceed silently in the
case.
2025-11-19 11:13:27 -08:00
Charles Zablit
f76be65c3c
Merge pull request #85429 from charles-zablit/charles-zablit/update-checkout/add-readme
...
[update-checkout] add a README
2025-11-19 18:58:02 +01:00