[PATCH] D33799: [ThinLTO] Move -lto-use-new-pm to llvm-lto2, and change it to -use-new-pm.

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 14:37:48 PDT 2017


davide added a subscriber: pcc.
davide added a comment.

This is fine by me, in fact, IIRC this was the original approach I proposed, but for some reason we ended up using a `cl::opt` instead. (@pcc could have ideas on this).
We need to update `lld` as in all my configs I currently pass `-mllvm -use-new-pm` everywhere, but that's not a big problem (and given I'm probably the only person on the planet who's using that flag, nobody will be annoyed by the change).
I'll update the linker once this one goes in.


https://reviews.llvm.org/D33799





More information about the llvm-commits mailing list