Skip to content

[5.1] Update swift-5.1-branch #22

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 17 commits into from
May 1, 2019

Conversation

benlangmuir
Copy link
Contributor

Semantically, we want our branch point to match swiftpm, but all of the
changes since then also look good to take into the branch, so just do
one last merge from master.

krzyzanowskim and others added 17 commits March 19, 2019 02:27
Find `Block` on Linux
The lastest version of llvm no longer has TimeValue.h, so this replaces uses
with TimePoint and std::chrono.
LLVM_EXPORT no longer exists in LLVM so we define it instead now
This is useful to avoid doing a lot of parallel CPU and I/O work when opening multiple workspaces.
It also allows the unit processing to stop when the workspace closes, instead of continuing until all units have been processed.

rdar://36996503
…gister

[Index] Use a single global serial queue for registration of units
This is from c7f5aeb11671f3913b774004484f3f340cbef161 of github/apple/swift-llvm repo.
[llvm] Import new LLVM support files
…t a time

This introduces a const variable to control the max number of batches, instead of only being able to process one at a time.
[Index] For registering units process them in batches of maximum 10 at a time
… works properly

It wasn't taking into account processing the initial units as multiple batches and the case where the data store directory has no units.
…-fix

[IndexDatastore] Ensure `IndexDatastore::waitUntilDoneInitializing()` works properly
…tPaths()

This is useful for retrieving all the unit test class/method occurrences that are referenced from a set of output file paths and their associated units.
[Index] Introduce IndexSystem::foreachUnitTestSymbolReferencedByOutputPaths()
@benlangmuir benlangmuir requested a review from akyrtzi as a code owner May 1, 2019 16:44
@benlangmuir
Copy link
Contributor Author

Please test with following pull request:
swiftlang/sourcekit-lsp#103

@swift-ci please test

@benlangmuir benlangmuir merged commit 6847361 into swiftlang:swift-5.1-branch May 1, 2019
@benlangmuir benlangmuir deleted the update-51 branch May 1, 2019 17:54
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.

4 participants