[llvm] [SPIRV] Emit NonSemantic DebugGlobalVariable (PR #207230)
Manuel Carrasco via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 13 03:30:25 PDT 2026
================
@@ -75,6 +77,21 @@ class SPIRVNonSemanticDebugHandler : public DebugHandlerBase {
// in beginModule() for DebugFunctionDeclaration emission.
SmallVector<const DISubprogram *> SubprogramDeclarations;
+ // DIGlobalVariable nodes for DebugGlobalVariable emission; SmallSetVector
+ // dedupes (see beginModule()).
+ SmallSetVector<const DIGlobalVariable *, 8> GlobalVariables;
----------------
mgcarrasco wrote:
The container is no longer required.
https://github.com/llvm/llvm-project/pull/207230
More information about the llvm-commits
mailing list