[clang] [llvm] [debuginfo][coro] Fix linkage name for clones of coro functions (PR #141889)

Michael Buch via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 05:07:23 PDT 2025


================
@@ -124,7 +124,7 @@ static void resolveTopLevelMetadata(llvm::Function *Fn,
   auto *DIS = Fn->getSubprogram();
   if (!DIS)
     return;
-  auto *NewDIS = DIS->replaceWithDistinct(DIS->clone());
+  auto *NewDIS = llvm::MDNode::replaceWithDistinct(DIS->clone());
----------------
Michael137 wrote:

drive-by?

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


More information about the llvm-commits mailing list