[PATCH] D45923: Fix debug info in absense of DIFinder

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 23 08:59:35 PDT 2018


aprantl added inline comments.


================
Comment at: lib/Transforms/Utils/CloneFunction.cpp:55
 
+    if (!DIFinder && II->getDebugLoc())
+      VMap.MD()[II->getDebugLoc()].reset(II->getDebugLoc());
----------------
Can you add a comment explaining what this does?


https://reviews.llvm.org/D45923





More information about the llvm-commits mailing list