diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2022-12-22 00:51:46 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-12-22 18:57:06 +0900 |
commit | 78826ad4868c56964d0c47cf37f0100565a5b997 (patch) | |
tree | a3643b15167a61c81044051b6775aaefda767f29 /benchmark/vm_method.yml | |
parent | c827d724b767a4624b9a3a00c61f181aaf6aef7e (diff) | |
download | ruby-78826ad4868c56964d0c47cf37f0100565a5b997.tar.gz |
addr2info.c: Make it work with --enable-yjit
Background: GCC 12 generates DWARF 5 with .debug_rnglists, while rustc
generates DWARF 4 with .debug_ranges.
The previous logic always used .debug_rnglists if there is the section.
However, we need to refer .debug_ranges for DWARF 4.
This change keeps DWARF version of the current compilation unit and use
a proper section depending on the version.
Diffstat (limited to 'benchmark/vm_method.yml')
0 files changed, 0 insertions, 0 deletions