Skip to content

Merge main into release/6.2 #487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 5, 2025
Merged

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented May 5, 2025

This PR was automatically opened by a GitHub action. Review the changes included in this PR and determine if they should be included in the release branch. If yes, merge the PR. Otherwise revert changes that should not be included on this branch.

artemcm and others added 15 commits April 30, 2025 14:24
Upward linking is used when there would otherwise by a cyclic dependency
so it is important to know that in the dependency information.

rdar://143493388
Revert "[Explicit Module Builds] Enable incremental dependency scanning"
[Swift] Add missing upcoming feature flags
Add an "upward" link library type for BuildDependencyInfo
Use llvm-cas's new validate-if-needed action to ensure the correctness
of CAS data in the case of power failure or similar situations. This
action is added to prepareForBuilding to ensure that it is run before
any other other CAS accesses. Note that validate-if-needed internally
avoids performing unnecessary work - in particular, it only validates
data once for every machine boot.

rdar://150295950
…eue, OSLog kicks off async work and waits on a semaphore, but all our async worker threads are busy waiting on the adaptor queue (rdar://146889893)
* Revert "Test targets emit incorrect 'The ENABLE_APP_SANDBOX build setting is set to NO, but is set to YES in your entitlements file.' warning (#433)"

This reverts commit 9ad44f1.

* Removes app sandbox mismatch warning in some cases (rdar://150338157)
…l glibc debug symbols

This should give crash backtraces more info
…PI calls

For many Win32 APIs returning strings, the expected usage is to first call the API with a nil buffer and 0 capacity to receive the buffer count, then call it again with a buffer of the right size. However, some APIs refer to external state which can change between calls (such as GetEnvironmentVariableW and GetCurrentDirectoryW). This can lead to race conditions where the buffer doesn't end up being of sufficient size to hold the result, and the call fails. To protect against this, add a helper function with a reusable algorithm that continually doubles the buffer size until it's large enough to hold the result, up to a specified maximum to prevent denial of service attacks.
TSan found some races in the spec proxy registration code, switch that to Swift async to get better compile time assurance it's free of data races.
Setup a basic run of cmake-smoke-test in CI
@owenv
Copy link
Collaborator

owenv commented May 5, 2025

@swift-ci test

@owenv owenv marked this pull request as ready for review May 5, 2025 18:10
@owenv owenv merged commit 6a0f7f2 into release/6.2 May 5, 2025
4 checks passed
@owenv owenv deleted the automerge/merge-main-2025-05-05_09-02 branch May 5, 2025 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants