Forked from
Glasgow Haskell Compiler / GHC
7774 commits behind, 700 commits ahead of the upstream repository.

Cheng Shao
authored
This commit adds an assertion to Bdescr() to assert the pointer is indeed heap allocated. This is useful to rule out RTS bugs that attempt to access non-existent block descriptor of a static closure, #24492 being one such example. (cherry picked from commit d19441d7) (cherry picked from commit 8af2c3fd)