[PATCH] D66510: Fix for "DICompileUnit not listed in llvm.dbg.cu" verification error after cloning a function from a different module

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 08:29:44 PDT 2019


aprantl added inline comments.


================
Comment at: lib/Transforms/Utils/CloneModule.cpp:199
+          NewNMD->addOperand(MappedOperand);
+      }
+    } else
----------------
Should this be an insertCU helper function in DebugInfo.h?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66510/new/

https://reviews.llvm.org/D66510





More information about the llvm-commits mailing list