#3372: Allow for multiple linker instances
---------------------------------+------------------------------------------
    Reporter:  jcpetruzza        |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:  7.2.1       
   Component:  Compiler          |      Version:              
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:  Unknown     
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonmar):

 This is indeed a significant ugliness.  I think fixing it would be fairly
 mechanical, just package up the linker's state as an object that gets
 passed in to every call, and then in GHC the `PersistentLinkerState`
 becomes the holder for the RTS linker state and is carried around in the
 `HscEnv` rather than being a global variable.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3372#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to