[PATCH] D75617: [WPD] Provide a way to prevent function(s) from being devirtualized

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 11:32:15 PST 2020


pcc added a comment.

In D75617#1908240 <https://reviews.llvm.org/D75617#1908240>, @evgeny777 wrote:

> @pcc Just to clarify: I'm using this patch to identify problems with WPD (typically those are either invalid reinterpret_cast or open type hierarchy). I find it convenient to obtain a list of devirtualized functions using pass remarks, "undevirtualize" some of them relink and run. With attributes it seems to be much harder


Okay. If it's just for debugging then the option needs to be made hidden.


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

https://reviews.llvm.org/D75617





More information about the llvm-commits mailing list