[PATCH] D42002: [docs] Only LLVM IR bitstreams begin with 'BC'

Brian Gesiak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 13 08:22:18 PST 2018


modocache added a comment.

Yup, I totally agree, it would have been nice if in practice 'BC' was used by all LLVM IR bitstream formats. I wonder if it would possible, one day, to change the magic numbers for the major formats from Clang (and Swift) such that they do begin with 'BC'? Or are there too many clients that rely on the existing magic numbers? For example, does Apple's Xcode parse the magic numbers for serialized diagnostics somehow?

For now, though, I think this change makes the docs more accurate, and so I'll land this. Thanks for the review!


https://reviews.llvm.org/D42002





More information about the llvm-commits mailing list