[clang] [llvm] [KeyInstr] Add DISubprogram::keyInstructions bit (PR #144107)

Jeremy Morse via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 26 03:02:59 PDT 2025


================
@@ -1904,7 +1904,8 @@ CGDebugInfo::createInlinedSubprogram(StringRef FuncName,
         /*ScopeLine=*/0,
         /*Flags=*/llvm::DINode::FlagArtificial,
         /*SPFlags=*/llvm::DISubprogram::SPFlagDefinition,
-        /*TParams=*/nullptr, /*ThrownTypes=*/nullptr, /*Annotations=*/nullptr);
+        /*TParams=*/nullptr, /*ThrownTypes=*/nullptr, /*Annotations=*/nullptr,
+        nullptr, StringRef(), CGM.getCodeGenOpts().DebugKeyInstructions);
----------------
jmorse wrote:

prod

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


More information about the cfe-commits mailing list