diff options
| author | Mukund Keshava <mkeshava@nvidia.com> | 2025-05-11 02:29:37 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-10 20:59:37 +0000 |
| commit | 083eecee3f56b90c7011895f53aaafa9db15856e (patch) | |
| tree | a0a18f0905f2884374ee351713fe77af0843f679 /source/slang/slang-ir-strip-debug-info.cpp | |
| parent | 48203ea02250ba517f749a222092f091d9bef15e (diff) | |
Add debug information for slang inling (#6621)
Diffstat (limited to 'source/slang/slang-ir-strip-debug-info.cpp')
| -rw-r--r-- | source/slang/slang-ir-strip-debug-info.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang-ir-strip-debug-info.cpp b/source/slang/slang-ir-strip-debug-info.cpp index 8b2a07663..124c41a5c 100644 --- a/source/slang/slang-ir-strip-debug-info.cpp +++ b/source/slang/slang-ir-strip-debug-info.cpp @@ -13,6 +13,10 @@ static void findDebugInfo(IRInst* inst, List<IRInst*>& debugInstructions) case kIROp_DebugLine: case kIROp_DebugLocationDecoration: case kIROp_DebugSource: + case kIROp_DebugInlinedAt: + case kIROp_DebugScope: + case kIROp_DebugNoScope: + case kIROp_DebugFunction: debugInstructions.add(inst); break; default: |
