[clang] [CUDA/HIP] Externalize __device__ const variables for symbol lookup (PR #177292)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 11 09:50:53 PST 2026


jhuber6 wrote:

> Do we? I thought the internalization is only done via an extra AMDGPU dedicated argument.

The AMDGPUToolchain passes `-fvisibility=hidden` by default, you can see it in the `-cc1` command generated for HIP and other languages.

https://github.com/llvm/llvm-project/pull/177292


More information about the cfe-commits mailing list