From 083eecee3f56b90c7011895f53aaafa9db15856e Mon Sep 17 00:00:00 2001 From: Mukund Keshava Date: Sun, 11 May 2025 02:29:37 +0530 Subject: Add debug information for slang inling (#6621) --- source/slang/slang-ir-strip-debug-info.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/slang/slang-ir-strip-debug-info.cpp') 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& 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: -- cgit v1.2.3