libctf could handle gcc dwarf4
Today libctf requires DWARF version 2. We should also be able to accept dwarf version 4. With this change, the ctf test suite passes for gcc 7 and gcc 8 with dwarf4. The major thing we need to add is some new detection over how structure sizing works that is a part of DWARF 4.
Updated by Robert Mustacchi about 1 year ago
This was tested by using the ctf test suite and verifying that it was clean for gcc 4.4.4, 7, and 8 when using -gdwarf-4. In addition with the test suite improvements that exist for clang, clang8, clang9, and clang10 are all in similar shape with everything passing excepting existing bugs in clang's dwarf generation.
Updated by Electric Monk about 1 year ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 40f72ea90006954fb73dcb696e7fede2435c4cb9 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2020-07-30T18:35:47.000Z 12228 libctf could handle gcc dwarf4 Reviewed by: John Levon <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>