google / bloaty

Bloaty: a size profiler for binaries
Apache License 2.0
4.73k stars 341 forks source link

New testing infrastructure, and fixes for several ELF/DWARF bugs #258

Closed haberman closed 3 years ago

haberman commented 3 years ago

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: