diff options
| author | Helena Kotas <hekotas@microsoft.com> | 2025-11-10 10:25:59 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-10 10:25:59 -0800 |
| commit | 6d1831361fad0df0b1a36e4ff028de54cb05a6bb (patch) | |
| tree | eb203f286d9ed8081091a895bdf38b82ad6882c2 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFrameProviderPythonInterface.cpp | |
| parent | 5aec1748944a27a6c5da203f223cd3eafd7aff53 (diff) | |
[HLSL] Add internal linkage attribute to resources (#166844)
HLSL resources should not be externally visible from the module. We made sure of this by marking them `static` as soon as they were declared. However, this prevents us fixing issue #166458 because there is no way to know if a resource has been explicitly marked `static` by the user, and can therefore be assigned to.
This change moves from making all resources `static` to adding Clang internal linkage attribute to all non-static resource declarations as a global scope.
No explicit test added this change. There is a number of existing HLSL codegen tests that already verify that the resource globals are emitted as `internal global`.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFrameProviderPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
