Tests dwarfdump-rnglists-dwarf64.s and dwarfdump-rnglists.s were malformed because they had missing required DWO ID fields in split compilation unit headers. The patch fixes the tests and checks the reading of a unit header more thoroughly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
might be worth keeping/duplicating one of the bad test cases to show the new & improved error handling?
Comment Actions
- Add a test for a CU with missing fields which was considered valid before the patch.