-
Notifications
You must be signed in to change notification settings - Fork 14.7k
[lld][MachO]Multi-threaded i/o. Twice as fast linking a large project. #147134
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
Open
johnno1962
wants to merge
35
commits into
llvm:main
Choose a base branch
from
johnno1962:threaded-paging
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
c55b5b2
Multi-threaded disk i/o.
johnno1962 3d11a33
Afterthoughts.
johnno1962 02fb145
multiThreadedPageIn of library archives.
johnno1962 a8eeead
Multi-thread i/o in background.
johnno1962 55e26a8
Response to first review.
johnno1962 817036b
Second review.
johnno1962 c07e168
Semms to make a difference.
johnno1962 eb4827c
Update lld/MachO/Driver.cpp
johnno1962 ce93ae3
De-Obfuscate loop and thread reaping.
johnno1962 c47e5c3
Avoiding possible deadlock.
johnno1962 5caf5a6
Update lld/MachO/Options.td
johnno1962 890c492
Update lld/MachO/Driver.cpp
johnno1962 9714785
Update lld/MachO/Driver.cpp
johnno1962 85fd77f
Update lld/MachO/Driver.cpp
johnno1962 6f5f7cb
Fourth review.
johnno1962 e3e0369
Switch to std::atomic_int.
johnno1962 febf5a9
Switch to std::unique_ptr.
johnno1962 a5f7a42
Remove a couple of warnings.
johnno1962 6b874b2
Try LLVM_ATTRIBUTE_UNUSED
johnno1962 84154d4
Update lld/MachO/Driver.cpp
johnno1962 ed9f07e
Comparing inner loops.
johnno1962 ff732ed
Is this valid C++??
johnno1962 ef23af2
In search of a work queue abstraction.
johnno1962 4bf74e8
OK to use Process::GetEnv?
johnno1962 ed9bdb7
Formatting of benchmarks.
johnno1962 4cab9be
Encapsulate SerialBackgroundQueue. Remove DEBUG output.
johnno1962 f7c8008
Revert LLVM_DEBUG as gives error: use of undeclared identifier 'DEBUG…
johnno1962 a6dd0bc
Update lld/MachO/Driver.cpp
johnno1962 cf5c3fb
Add NDEBUGs
johnno1962 5901e7d
Update lld/MachO/Driver.cpp
johnno1962 39cffd0
Update lld/MachO/Driver.cpp
johnno1962 0af2bde
Update lld/MachO/Options.td
johnno1962 bb91c53
Fifth review followups.
johnno1962 432fb04
Headers no longer used
johnno1962 30b8c13
Threads becomes workers.
johnno1962 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.