[PATCH] D27184: Bitcode: Change expected layout of module blocks.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 18:36:56 PST 2016


pcc marked an inline comment as done.
pcc added inline comments.


================
Comment at: llvm/lib/Bitcode/Reader/BitcodeReader.cpp:2311
+      // before the start of the identification or module block, which was
+      // historically always the start of the file.
+      uint64_t FuncWordOffset = Record[1] - 1;
----------------
mehdi_amini wrote:
> Is "historically always the start of the file" correct on Darwin?
I suppose not, fixed.


https://reviews.llvm.org/D27184





More information about the llvm-commits mailing list