[clang] [HLSL] Change default linkage of HLSL functions and groupshared variables (v2) (PR #95331)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 1 11:12:09 PDT 2024


hekota wrote:

> Linking functions as internal should mean that they won't be included in the final output if they don't have any calls. A test that verifies that behavior would be useful.
> 
> Even if they are called, a test that verifies that they have the "internal" attribute applied would be useful too.

I have added a test for this.

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


More information about the cfe-commits mailing list