Issue 260428.1: Accessibility Declarations for FreePascal
| Author: | Martin Friebe |
|---|---|
| Champion: | Ben Woodard |
| Date submitted: | 2026-04-28 |
| Date revised: | 2026-05-10 |
| Date closed: | |
| Type: | Enhancement |
| Status: | Open |
| DWARF version: | 6 |
Issue
DWARF5 only has Accessibility declarations DW_ACCESS_public,
DW_ACCESS_private, and DW_ACCESS_protected. However, FreePascal has a
couple more that need to be represented. This is needed so that
debuggers can report it back to users and so that ABI checkers like
libabigail can detect changes to the API which would then change the ABI
of an object.
The full list can be found in the Free Pascal Reference Guide.
Proposal
In Section 2.7 in Table 2.4 Add two more accessibility codes:
DW_ACCESS_strict_private and DW_ACCESS_strict_protected.
In Section 8.9 in Table 8.14 Add the following entries to table 8.14:
Accessibility code name Value DW_ACCESS_strict_privateTBD DW_ACCESS_strict_protectedTBD DW_ACCESS_publishedTBD
2026-05-10: Added DW_ACCESS_published for completeness.