mehdi_amini added a comment. ReadBlockInfoBlock is only called if we encounter a second "block info". There is a single one per LLVM module. If you don't emit an LLVM module, why would this be an issue? https://reviews.llvm.org/D26016