Opened 2 months ago
Replace hooks API in the RTS with something better
|Reported by:||simonmar||Owned by:||simonmar|
|Type of failure:||None/Unknown||Difficulty:||Unknown|
|Test Case:||Blocked By:|
Hooks rely on static linking behaviour which doesn't always work: we have to disable -Bsymbolic for the RTS on Linux (see compiler/main/SysTools.lhs) and it apparently doesn't work at all on Mac (#8754).
So instead of hooks we should be passing in information when we initialize the RTS, like we already do for some other things (-rtsopts etc.).