summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir-link.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-link.cpp')
-rw-r--r--source/slang/slang-ir-link.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang-ir-link.cpp b/source/slang/slang-ir-link.cpp
index 29a42b73c..a7b4c4560 100644
--- a/source/slang/slang-ir-link.cpp
+++ b/source/slang/slang-ir-link.cpp
@@ -2174,6 +2174,11 @@ LinkedIR linkIR(CodeGenContext* codeGenContext)
// regardless if the source files participate in the line table or not.
cloneValue(context, inst);
break;
+ case kIROp_DebugBuildIdentifier:
+ // The debug build identifier won't be referenced by anything,
+ // but we still need to keep it around if it is in the IR.
+ cloneValue(context, inst);
+ break;
}
}
}