rocallahan added a comment.

Here are some results for the rusoto test in 
https://github.com/rust-lang/rust/issues/56068#issue-382175735:

| LLD                       | Binary size in bytes |
| LLD 6.0.1                 | 43,791,192           |
| LLD 8.0.0 1cfcf404f6b23943405bc3c5bb5940b10b914624               | 43,861,056 
          |
| LLD 8.0.0 1cfcf404f6b23943405bc3c5bb5940b10b914624 `--start-lib` | 43,844,760 
          |
| LLD 8.0.0 1cfcf404f6b23943405bc3c5bb5940b10b914624 + this patch  | 6,281,488  
          |
|

For `--start-lib` I wrapped `--start-lib`/`--end-lib` around all object files.

As I expected `--start-lib` didn't make much difference. The dependencies 
containing debuginfo that I want to be GCed away are already packaged into 
static libraries before being passed to the final link.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54747/new/

https://reviews.llvm.org/D54747



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to