[llvm] [DebugInfo] Fix segfault in constructSubprogramScopeDIE with null subprogram type (PR #184299)
Shivam Kunwar via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 01:05:42 PST 2026
================
@@ -188,7 +188,7 @@ DIE *DwarfCompileUnit::getOrCreateGlobalVariableDIE(
auto *CB = GVContext ? dyn_cast<DICommonBlock>(GVContext) : nullptr;
DIE *ContextDIE = CB ? getOrCreateCommonBlock(CB, GlobalExprs)
- : getOrCreateContextDIE(GVContext);
+ : getOrCreateContextDIE(GVContext);
----------------
phyBrackets wrote:
Done!
https://github.com/llvm/llvm-project/pull/184299
More information about the llvm-commits
mailing list