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

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 10:58:12 PST 2020


evgeny777 added a comment.

> There is already a way to do this, with the attribute [[clang::lto_visibility_public]]. Why do you need another one?

I think, it's not the same, because

- it requires full recompilation, not just relink.
- it operates on vtables not on individual functions


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

https://reviews.llvm.org/D75617





More information about the llvm-commits mailing list