summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-emit-c-like.cpp
diff options
context:
space:
mode:
authorMukund Keshava <mkeshava@nvidia.com>2025-05-11 02:29:37 +0530
committerGitHub <noreply@github.com>2025-05-10 20:59:37 +0000
commit083eecee3f56b90c7011895f53aaafa9db15856e (patch)
treea0a18f0905f2884374ee351713fe77af0843f679 /source/slang/slang-emit-c-like.cpp
parent48203ea02250ba517f749a222092f091d9bef15e (diff)
Add debug information for slang inling (#6621)
Diffstat (limited to 'source/slang/slang-emit-c-like.cpp')
-rw-r--r--source/slang/slang-emit-c-like.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/source/slang/slang-emit-c-like.cpp b/source/slang/slang-emit-c-like.cpp
index 18dbcf1cd..56668d092 100644
--- a/source/slang/slang-emit-c-like.cpp
+++ b/source/slang/slang-emit-c-like.cpp
@@ -3168,6 +3168,11 @@ void CLikeSourceEmitter::_emitInst(IRInst* inst)
case kIROp_DebugLine:
case kIROp_DebugVar:
case kIROp_DebugValue:
+ case kIROp_DebugInlinedAt:
+ case kIROp_DebugScope:
+ case kIROp_DebugNoScope:
+ case kIROp_DebugInlinedVariable:
+ case kIROp_DebugFunction:
break;
case kIROp_Unmodified:
@@ -5151,6 +5156,16 @@ void CLikeSourceEmitter::ensureGlobalInst(
return;
case kIROp_ThisType:
return;
+ case kIROp_DebugInlinedAt:
+ case kIROp_DebugScope:
+ case kIROp_DebugNoScope:
+ case kIROp_DebugFunction:
+ case kIROp_DebugVar:
+ case kIROp_DebugLine:
+ case kIROp_DebugSource:
+ case kIROp_DebugValue:
+ case kIROp_DebugInlinedVariable:
+ return;
default:
break;
}