Page MenuHomeFreeBSD

libdwarf: Add some constants from DWARF 5
ClosedPublic

Authored by markj on Jan 30 2023, 3:48 PM.
Tags
None
Referenced Files
F144402440: D38273.id116043.diff
Sun, Feb 8, 6:23 AM
F144332860: D38273.id116736.diff
Sat, Feb 7, 9:42 PM
Unknown Object (File)
Sat, Jan 31, 11:08 AM
Unknown Object (File)
Dec 22 2025, 10:29 PM
Unknown Object (File)
Dec 10 2025, 11:44 PM
Unknown Object (File)
Nov 30 2025, 7:04 AM
Unknown Object (File)
Nov 29 2025, 3:20 PM
Unknown Object (File)
Nov 27 2025, 9:16 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 Not Applicable
Unit
Tests Not Applicable

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.