[llvm] [DebugInfo] Remove debug-intrinsic coroutine codepaths (PR #149068)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 18 01:06:12 PDT 2025


================
@@ -618,33 +618,27 @@ static void replaceSwiftErrorOps(Function &F, coro::Shape &Shape,
   }
 }
 
-/// Returns all DbgVariableIntrinsic in F.
-static std::pair<SmallVector<DbgVariableIntrinsic *, 8>,
-                 SmallVector<DbgVariableRecord *>>
+/// Returns all debug records in F.
+static SmallVector<DbgVariableRecord *>
 collectDbgVariableIntrinsics(Function &F) {
----------------
OCHyams wrote:

nit: rename function?

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


More information about the llvm-commits mailing list