• Moritz Angermann's avatar
    Make globals use sharedCAF · 6f7ed1e5
    Moritz Angermann authored
    The use of globals is quite painful when multiple rts are loaded, e.g.
    when plugins are loaded, which bring in a second rts. The sharedCAF
    appraoch was employed for the FastStringTable; I've taken the libery
    to extend this to the other globals I could find.
    
    Reviewers: rwbarton, simonmar, austin, hvr, erikd, bgamari
    
    Reviewed By: simonmar, bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2575
    6f7ed1e5
DynFlags.hs 215 KB