Berildocs GitHub

Memory cards

Debug info maps machine state to source

confidence: mediumupdated: 2026-11-25status: activecompilerdwarfdebug

Claim#

DWARF line tables and variable locations let a debugger show source. Optimization moves and removes both.

Test#

Break on an inlined function. Check the line and the variable availability.

Proof#

A correct source line or an explicit optimized-out marker.

Failure modes#

A variable optimized into a register may be unavailable. A wrong line misleads.