Hacker News new | ask | show | jobs
by rehemiau 2522 days ago
Probably yes, the LLVM linker is really slow
2 comments

Really? I seem to recall lld being comparable to cp in speed, with the caveat that compacting debug strings can take a long time (if you enable that option).

Reference: https://fosdem.org/2019/schedule/event/llvm_lld/

Depends on the platform and the build type.

For example, on macOS in debug builds, the compiler and linker are reasonably fast, but then 2/3rds of the compilation time is spent in "dsymutil", presumably chewing through megabytes of the debug info.

Rust is only using LLD on ARM targets.
It's used on wasm as well.