[llvm] A MMIWP Constructor Initialized with the move constructor of MMI (PR #98770)

Matin Raayai via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 08:50:45 PDT 2024


================
@@ -224,8 +228,8 @@ bool MachineModuleInfoWrapperPass::doInitialization(Module &M) {
         Ctx.diagnose(
             DiagnosticInfoSrcMgr(SMD, M.getName(), IsInlineAsm, LocCookie));
       });
-  MMI.DbgInfoAvailable = !DisableDebugInfoPrinting &&
-                         !M.debug_compile_units().empty();
+  MMI.DbgInfoAvailable =
----------------
matinraayai wrote:

Should be fixed.

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


More information about the llvm-commits mailing list