[fpc-devel] [RFC] Add OPDF — Object Pascal Debug Format (-gO flag)

Adriaan van Os adriaan at adriaan.biz
Thu Mar 5 15:49:11 CET 2026


Graeme Geldenhuys via fpc-devel wrote:
> Hi all,
> 
> I'd like to propose adding a new, optional debug information format to
> FPC called OPDF (Object Pascal Debug Format). This is not a
> replacement for DWARF — it is an additional debug format that can be
> selected with the new -gO compiler flag, similar to how -gw selects
> DWARF.

Very interesting !


My questions;

1. Did you consider integrating this into LLDB <https://lldb.llvm.org/index.html> ?

2. Did you consider the JSON symbol file format <https://lldb.llvm.org/use/symbolfilejson.html> ?

Regards,

Adriaan van Os



More information about the fpc-devel mailing list