[all-commits] [llvm/llvm-project] f2c7f7: [lld-macho] Support creating N_SO stab for DWARF5 ...
Daniel Bertalan via All-commits
all-commits at lists.llvm.org
Thu Jul 28 01:00:31 PDT 2022
Author: Daniel Bertalan <dani at danielbertalan.dev>
Date: 2022-07-28 (Thu, 28 Jul 2022)
[lld-macho] Support creating N_SO stab for DWARF5 compile units
In DWARF5, the `DW_AT_name` and `DW_AT_comp_dir` attributes are encoded
using the `strx*` forms, which specify an index into `__debug_str_offs`.
This commit adds that section to DwarfObject, so the debug info parser
can resolve these references.
The test case was manually adapted from stabs-icf.s.
Differential Revision: https://reviews.llvm.org/D130559
More information about the All-commits