Page MenuHomeFreeBSD

libdwarf: Add some constants from DWARF 5
ClosedPublic

Authored by markj on Jan 30 2023, 3:48 PM.
Tags
None
Referenced Files
F170153803: D38273.id116736.diff
Thu, Sep 3, 4:21 PM
Unknown Object (File)
Wed, Sep 2, 10:21 AM
Unknown Object (File)
Wed, Sep 2, 9:51 AM
Unknown Object (File)
Wed, Sep 2, 8:51 AM
Unknown Object (File)
Wed, Sep 2, 1:39 AM
Unknown Object (File)
Tue, Sep 1, 7:00 PM
Unknown Object (File)
Tue, Sep 1, 6:46 PM
Unknown Object (File)
Tue, Sep 1, 2:55 PM
Subscribers

Details

Summary

This is not exhaustive - DWARF 5 has some new enumeration types not
implemented here - but I think I caught all the ones that are extended
in DWARF 5, plus the new compilation unit type (DW_UT_*).

These were useful when extending libdwarf/ctfconvert/readelf to handle
DWARF generated by gcc 12, which is version 5 by default.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 49321
Build 46211: arc lint + arc unit

Event Timeline

markj requested review of this revision.Jan 30 2023, 3:48 PM
emaste added inline comments.
contrib/elftoolchain/libdwarf/dwarf.h
551

interesting, this one is not called out as new in DWARF5 in the spce

This revision is now accepted and ready to land.Feb 7 2023, 4:31 PM
This revision was automatically updated to reflect the committed changes.