blaise/runtime/src
Graeme Geldenhuys ebe131da15 feat(debug): show refcount per object in leak report
Each leaked object line now reports its refcount: `- ClassName (rc=N)`.
This distinguishes the two leak modes at a glance:

  rc=1  reference created but never released (dangling owner)
  rc>1  over-retain — an AddRef without a matching Release (double-AddRef)

Reads the refcount from the class header at UserPtr - CLASS_HDR.  Adds a
WriteSignedInt helper since immortal objects report rc=-1.
2026-06-01 23:55:51 +01:00
..
main feat(debug): show refcount per object in leak report 2026-06-01 23:55:51 +01:00
test/pascal benchmark: add literal underscores for better readability in code. 2026-05-17 01:05:28 +01:00