summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2022-12-22 00:51:46 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-12-22 18:57:06 +0900
commit78826ad4868c56964d0c47cf37f0100565a5b997 (patch)
treea3643b15167a61c81044051b6775aaefda767f29 /re.c
parentc827d724b767a4624b9a3a00c61f181aaf6aef7e (diff)
downloadruby-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 're.c')
0 files changed, 0 insertions, 0 deletions