[PATCH] D53153: [OpenCL] Mark kernel functions with default visibility

Scott Linder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 15 14:23:55 PST 2019


scott.linder added a comment.

It sounds like `-fextern-visiblity=` isn't something we really want, then? I think it would have to be implemented in the abstract linkage computer.

Would a patch to add an option to apply the normal visibility calculations to extern decls be reasonable, then? This change could be done entirely in CodeGen.


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

https://reviews.llvm.org/D53153





More information about the cfe-commits mailing list