diff options
| author | Lujin Wang <143145775+lujinwangnv@users.noreply.github.com> | 2025-06-26 09:29:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 16:29:32 +0000 |
| commit | d166fe8333c7dfc61c32fda5017461858eb4c3fa (patch) | |
| tree | 89f76ef7e011d2df92b75dca5ccd1343c3275142 /tests/spirv/sv_instance.slang | |
| parent | 70ba9eef4466ce91d9b82033ee315d53114d2692 (diff) | |
Correct the scope for DebugLocalVariable (#7516)
* Correct the scope for DebugLocalVariable
All of the DebugLocalVariable instructions have their scope
set to DebugCompilationUnit. The scope should instead be set
to a DebugFunction, or a DebugLexicalBlock which is recursively
inside a DebugFunction.
Register the debug info for the function instructions, which
helps findDebugScope() to find the right DebugFunction scope
for DebugLocalVariable.
* Add a test for DebugLocalVariable
To check the scope, which should be a DebugFunction.
Diffstat (limited to 'tests/spirv/sv_instance.slang')
0 files changed, 0 insertions, 0 deletions
