[PATCH] D47994: [Darwin] Do not error on '-lto_library' option

Steven Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 11 09:37:32 PDT 2018


steven_wu added a comment.

I am not working on lld but this looks good for me. I like this solution better than the alternative you mentioned.

A quick comment is that -lto_library doesn't imply enable LTO (it is not an optimization flag). It simply tells ld64 which libLTO to load for reading llvm bitcode object and perform LTO optimization.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47994





More information about the llvm-commits mailing list