Skip to content
  • Ben Gamari's avatar
    rts: Assert that pointers aren't cleared by -DZ · 73b1e87c
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    This turns many segmentation faults into much easier-to-debug assertion
    failures by ensuring that LOOKS_LIKE_*_PTR checks recognize bit-patterns
    produced by `+RTS -DZ` clearing as invalid pointers.
    
    This is a bit ad-hoc but this is the debug runtime.
    73b1e87c