[PATCH] D53153: [OpenCL] Mark namespace scope variables and kernel functions with default visibility

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 12 11:03:25 PDT 2018


yaxunl added a comment.

This approach is trying to make OpenCL kernel and variable exceptions to -fvisibility option. However it does not provide users with choices. What if a user really wants to change the visibility of kernels and variables by -fvisibility? I think is more like a hack compared to  https://reviews.llvm.org/D52891


https://reviews.llvm.org/D53153





More information about the cfe-commits mailing list