[PATCH] D31027: [ThinLTO] Add support for emitting minimized bitcode for thin link

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 14:15:14 PDT 2017


pcc added inline comments.


================
Comment at: lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp:351
+  W.writeModule(&M, /*ShouldPreserveUseListOrder=*/false, &Index,
+                /*GenerateHash=*/true, &ModHash);
+  W.writeModule(MergedM.get());
----------------
Will this cause us to write uninitialized memory as the module hash for the full module?


https://reviews.llvm.org/D31027





More information about the llvm-commits mailing list