-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
macho: speed up the linker by embracing multi-threaded approach #143
Conversation
adae2da
to
249a57d
Compare
On par with LLD, that's what we like to see! So... what shenanigans are Apple up to to make |
Sadly I don't have access to |
Oh, and also, bear in mind we do more work since we don't generate the latest MachO binary format. What I mean by this is that the latest |
That just means it's reverse-engineering time ;-) /hj
If there are any particularly hot bits of code which you think ought to be looked at, I'd be happy to see if I can think of any improvements! |
5e9853a
to
b22eebf
Compare
6b27cc2
to
c62e005
Compare
This time we can completely get rid of the mutex in Symbol.
8b0cf5f
to
5334972
Compare
At the time of writing, comparison in linking #138 (
./new
is zld after rewrite,./old
is current master,./ld
is Apple's new linker,./ld_classic
is Apple's old linker, and./lld
is LLVM's stock linker):Also, just for completeness, speed up in
-r
relocatable mode between old and new zld: