[llvm] [SPIRV] Extend NSDI debug handling for DebugTypeFunction. (PR #197003)
Diego Novillo via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 07:20:13 PDT 2026
================
@@ -40,9 +41,10 @@ class SPIRVSubtarget;
/// Call sequence:
/// beginModule() -- collect compile-unit metadata.
/// prepareModuleOutput() -- add extension + ext inst set to MAI.
-/// emitNonSemanticGlobalDebugInfo() -- emit DebugSource,
-/// DebugCompilationUnit, DebugTypeBasic,
-/// DebugTypePointer.
+/// emitNonSemanticDebugStrings() -- OpString for NSDI strings (sec. 7).
+/// emitNonSemanticGlobalDebugInfo() -- emit DebugSource, DebugTypeBasic,
+/// DebugTypePointer, DebugTypeFunction,
+/// DebugCompilationUnit.
----------------
dnovillo wrote:
comment nit: `DebugCompilationUnit` is actually before `DebugTypeBasic`, I believe.
https://github.com/llvm/llvm-project/pull/197003
More information about the llvm-commits
mailing list