[PATCH] D13666: Add an (optional) identification block in the bitcode

Jonathan Roelofs via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 19:56:10 PDT 2015


jroelofs added a subscriber: jroelofs.

================
Comment at: lib/Bitcode/Reader/BitcodeReader.cpp:3121
@@ +3120,3 @@
+            Major > LLVM_VERSION_MAJOR ||
+            (Major == LLVM_VERSION_MAJOR && Minor > LLVM_VERSION_MAJOR)) {
+          auto BitcodeMajor = std::to_string(Major);
----------------
`Minor > LLVM_VERSION_MAJOR`

should be:

`Minor > LLVM_VERSION_MINOR`


http://reviews.llvm.org/D13666





More information about the llvm-commits mailing list