[PATCH] D17165: Fix cloning of debug info

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 13:46:51 PST 2016


probinson added a subscriber: probinson.
probinson added a comment.

While it's nice that you've verified this with julia, it really should have an in-tree test.


================
Comment at: include/llvm/Transforms/Utils/Cloning.h:134
@@ +133,3 @@
+// Clone the module-level debug info associated with OldFunc. The cloned data
+// will point to NewFunc instead.
+void CloneDebugInfoMetadata(Function *NewFunc, const Function *OldFunc,
----------------
Please use triple-slash so doxygen will pick this up.


http://reviews.llvm.org/D17165





More information about the llvm-commits mailing list