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

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 19:47:22 PDT 2015


joker.eph updated this revision to Diff 37959.
joker.eph marked an inline comment as done.
joker.eph added a comment.

Change the epoch to encode major.minor.patch. The basic compatibility check becomes (for now):

!((Major < LLVM_VERSION_MAJOR && LLVM_VERSION_MINOR != 0) || Major > LLVM_VERSION_MAJOR || (Major == LLVM_VERSION_MAJOR && Minor > LLVM_VERSION_MAJOR))


http://reviews.llvm.org/D13666

Files:
  include/llvm/Bitcode/LLVMBitCodes.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  test/Bitcode/identification.ll
  tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13666.37959.patch
Type: text/x-patch
Size: 8814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151021/1bba9577/attachment.bin>


More information about the llvm-commits mailing list