Skip to content

Commit 8723505

Browse files
committed
fixup! amend! [Utils] Extract CollectDebugInfoForCloning from CloneFunctionInto
1 parent e70ed59 commit 8723505

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/include/llvm/Transforms/Utils/Cloning.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,
211211
/// subprograms that are reachable from \p F and can be considered global for
212212
/// the purposes of cloning (and hence not needing to be cloned).
213213
///
214-
/// The latter depends on \p Changes: when cloning into the same module we
215-
/// process \p F's subprogram and instructions; when into a cloned module,
216-
/// neither of those.
214+
/// What debug information is considered global depends on \p Changes: when
215+
/// cloning into the same module we process \p F's subprogram and instructions;
216+
/// when into a cloned module, neither of those.
217217
///
218218
/// Returns DISubprogram of the cloned function when cloning into the same
219219
/// module or nullptr otherwise.

0 commit comments

Comments
 (0)