diff options
author | Koichi Sasada <ko1@atdot.net> | 2019-09-13 16:24:28 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-09-13 16:24:28 +0900 |
commit | 2da6b328bb5124793a6420c55325f3106b615bb4 (patch) | |
tree | dd1b501070f0bce777b74f3259e04a405c5ef3de /addr2line.c | |
parent | 3c162df9d4a80bc09d88eeb36db7d59ea0034b1d (diff) |
introduce IBF_(MAJOR|MINOR)_VERSION.
RubyVM::InstructionSequence.to_binary generates a bytecode binary
representation. To check compatibility with binary and loading
MRI we prepared major/minor version and compare them at loading
time. However, development version of MRI can change this format
but we can not increment minor version to make them consistent
with Ruby's major/minor versions.
To solve this issue, we introduce new minor version scheme
(binary's minor_version = ruby's minor * 10000 + dev ver)
and we can check incompatibility with older dev version.
Diffstat (limited to 'addr2line.c')
0 files changed, 0 insertions, 0 deletions