[PATCH] D16440: [ThinLTO] Link in only necessary DICompileUnit operands

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 22 09:27:11 PST 2016


aprantl added inline comments.

================
Comment at: lib/Linker/IRMover.cpp:1309
@@ +1308,3 @@
+        // non-metadata operands.
+        auto *NewCU = DICompileUnit::getDistinct(
+            CU->getContext(), CU->getSourceLanguage(), NewFile, nullptr,
----------------
Why not use a DIBuilder for this?


http://reviews.llvm.org/D16440





More information about the llvm-commits mailing list