[PATCH] D42514: [ThinLTO/gold] Write empty imports even for modules with symbols

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 11:54:40 PST 2018


tejohnson accepted this revision.
tejohnson added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/tools/gold/gold-plugin.cpp:936
+    for (auto &Identifier : ObjectToIndexFileState) {
+      if (!Identifier.getValue()) {
+        writeEmptyDistributedBuildOutputs(Identifier.getKey(), OldPrefix,
----------------
nit: remove unnecessary braces


https://reviews.llvm.org/D42514





More information about the llvm-commits mailing list