[llvm] [Coro] Amortize debug info processing cost in CoroSplit (PR #109032)

Felipe de Azevedo Piovezan via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 10:10:48 PDT 2024


================
@@ -135,6 +135,29 @@ void llvm::CloneFunctionAttributesInto(Function *NewFunc,
                          OldAttrs.getRetAttrs(), NewArgAttrs));
 }
 
+DISubprogram *llvm::ProcessSubprogramAttachment(const Function &F,
----------------
felipepiovezan wrote:

Could you add documentation for this function? The term "Process" is not very descriptive. IIUC this function is visiting instructions / SPs  and collecting debug information? 

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


More information about the llvm-commits mailing list