-
test/tools/llvm-objcopy/ 8/8
compress-debug-sections.yaml -
compress-debug-sections-invalid-format.test 23/23
compress-debug-sections-zlib-gnu.test 6/6
compress-debug-sections-zlib.test
| | Authored by plotfi on Jul 23 2018, 10:20 AM. Event Timelineplotfi marked 2 inline comments as done. plotfi marked 25 inline comments as done. plotfi marked 2 inline comments as done. plotfi marked 14 inline comments as done. plotfi marked an inline comment as done. plotfi marked 3 inline comments as done. plotfi marked 3 inline comments as done. plotfi marked an inline comment as done. plotfi marked an inline comment as done. plotfi marked 26 inline comments as done. plotfi marked 8 inline comments as done. plotfi marked 4 inline comments as done. plotfi marked 53 inline comments as done. plotfi marked 3 inline comments as done. plotfi marked 9 inline comments as done. plotfi marked 5 inline comments as done. plotfi marked 2 inline comments as done. This revision is now accepted and ready to land. Path | Size |
---|
| | | | | 16 lines | | 5 lines | | 30 lines | | 32 lines | | | | 3 lines | | 38 lines | | 38 lines | | 49 lines |
|
Are you planning any more updates to this test? Because I still don't see why you need such a large section.
You also definitely don't need the GNU stack section, or the symbols.
I think that one thing that is important is having relocations patching the debug section, because these need to point at the decompressed offset, not something else. You should add one that patches somewhere in the middle of your (small) section, and another that uses a section-relative reference and addend, referencing the compressed section.
Finally, you should have testing that shows that non-debug sections are not compressed.