Skip to content

driver: don't actually merge objects when ar -L works

When ar -qL works, we can simply call ar to produce an archive whose objects will be properly added to the final archive. This is cheaper than actually invoking ld -r and should speed up building profile libs when AR=llvm-ar. Also crucial for !7632 (closed).

Edited by Cheng Shao

Merge request reports