microsoft / hlsl-specs

HLSL Specifications
MIT License
116 stars 29 forks source link

Default linkage flag - how to transition from DXC's `-default-linkage` to Clang #242

Open hekota opened 3 months ago

hekota commented 3 months ago

In DXC the -default-linkage compiler flag changes the default linkage of all functions in a translation unit. It accepts values external and internal (which is the default). This issue is to track how we should transition from the DXC flag to Clang.

Clang's has -fvisibility flag which determines the visibility of functions, but no flag that affects linkage.

damyanp commented 2 weeks ago

@damyanp - move this to wg-hlsl