[llvm-branch-commits] [llvm] [WIP][SPIRV][Debug Info] Add support for emitting DebugFunction debug info instructions (PR #183122)

Marcos Maronas via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 26 05:55:49 PST 2026


================
@@ -155,6 +164,63 @@ Register SPIRVEmitNonSemanticDI::emitDIInstruction(
   return InstReg;
 }
 
+// Emit a DebugTypeFunction instruction for the given DISubroutineType.
+// This creates a SPIRV debug type function that represents the function
+// signature, including type flags, return type, and parameter types. Currently
----------------
maarquitos14 wrote:

I wonder if supporting only void functions with no parameters is too minimal a support for actually landing this. I do observe this is a draft, so are you planning to implement the rest before landing? 

https://github.com/llvm/llvm-project/pull/183122


More information about the llvm-branch-commits mailing list