[llvm] [DebugInfo] Fix segfault in constructSubprogramScopeDIE with null subprogram type (PR #184299)
Michael Buch via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 00:58:13 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);
----------------
Michael137 wrote:
Please revert all the formatting changes
https://github.com/llvm/llvm-project/pull/184299
More information about the llvm-commits
mailing list