[PATCH] D18583: Cloning: Reduce complexity of debug info cloning and fix correctness issue.
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 29 17:29:58 PDT 2016
tejohnson added a comment.
LGTM, but would be good for Adrian or Duncan to take a look.
================
Comment at: lib/Transforms/Utils/CloneFunction.cpp:194
@@ -188,2 +193,3 @@
// Clone the module-level debug info associated with OldFunc. The cloned data
// will point to NewFunc instead.
+static void CloneDebugInfoMetadata(Function *NewFunc, const Function *OldFunc,
----------------
Maybe add a comment about this applying only to cloning within a single module?
http://reviews.llvm.org/D18583
More information about the llvm-commits
mailing list