[llvm] [Utils] Extract ProcessSubprogramAttachment from CloneFunctionInto (PR #114537)

Felipe de Azevedo Piovezan via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 11:40:39 PST 2024


================
@@ -207,6 +207,15 @@ void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,
                                const char *NameSuffix = "",
                                ClonedCodeInfo *CodeInfo = nullptr);
 
+/// Process function's subprogram attachment to collect relevant debug
+/// information in DIFinder.
----------------
felipepiovezan wrote:

Could you elaborate on "relevant debug info"? Reading this comment, I can't quite tell what the function is doing

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


More information about the llvm-commits mailing list