[PATCH] D28083: Add an index for Module Metadata record in the bitcode
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 27 14:20:51 PST 2016
mehdi_amini added inline comments.
================
Comment at: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:1921
+ // patched when we emit the index later. We can simply subtract the 64-bit
+ // fixed size from the current bit number to get the location to backpatch.
+ uint64_t BeginBlockBitPos = Stream.GetCurrentBitNo();
----------------
The 64 is documented here, do you thinks it is worth repeating the comment below?
https://reviews.llvm.org/D28083
More information about the llvm-commits
mailing list