summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKJ Tsanaktsidis <kj@kjtsanaktsidis.id.au>2023-04-18 15:47:54 +1000
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-04-27 11:25:57 +0900
commitdd406c5a911d2f4a16ce97016666760713540185 (patch)
treee86b5c465ac0d0f1887f543111c3fca6a88b812d /include
parent417eb83b48f2e9eb551e8dd5163778c3ef278972 (diff)
downloadruby-dd406c5a911d2f4a16ce97016666760713540185.tar.gz
Skip DW_FORM_GNU_* forms in addr2line.c
DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt refer to data stored in an external ELF file specified by a .gnu_debugaltlink attribute. These attributes are generated by dwz(1), which extracts DWARF data common amongst several files and stores it in a single, new file. It leaves behind these two forms in the original file to point at the new, common data. We don't support actually reading the .gnu_debugaltlink file in addr2line.c (and maybe we don't really need to), but we do need to know how to read the actual value of these forms so we can skip over the right number of bytes and not lose track of where we are in the CU.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions