This is a first step towards addressing https://github.com/google/bloaty/issues/221. This PR includes a new testing infrastructure for putting text-based tests in *.test files that use LLVM's yaml2obj to precisely specify the input to the test.
We don't yet have infrastructure for running these tests in CI. Right now they are only possible to run locally if you have installed a new enough yaml2obj.
This also contains several improvements/fixes for ELF/DWARF:
ELF section and program headers are now properly attributed to the correct section/segment.
DWARF "address selection entries" are properly handled in range_lists.
This is a first step towards addressing https://github.com/google/bloaty/issues/221. This PR includes a new testing infrastructure for putting text-based tests in
*.test
files that use LLVM'syaml2obj
to precisely specify the input to the test.We don't yet have infrastructure for running these tests in CI. Right now they are only possible to run locally if you have installed a new enough
yaml2obj
.This also contains several improvements/fixes for ELF/DWARF: