[PATCH] D33571: PMB: Run the whole-program-devirt pass during LTO at --lto-O0.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 16:43:20 PDT 2017


pcc added a comment.

In https://reviews.llvm.org/D33571#765174, @tejohnson wrote:

> Looks like the new pass manager needs a similar fix.


None of the CFI/whole-program-devirt stuff seems like it will work with the new PM because it isn't threading the pointer to the summary index through to the passes :(

> Test?

I guess we could add an "end to end" test for this with llvm-lto2.


https://reviews.llvm.org/D33571





More information about the llvm-commits mailing list