[GHC] #11526: unsafeLookupStaticPtr should not live in IO

GHC ghc-devs at haskell.org
Tue Feb 2 12:19:53 UTC 2016


#11526: unsafeLookupStaticPtr should not live in IO
-------------------------------------+-------------------------------------
        Reporter:  edsko             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Core Libraries    |              Version:  8.0.1-rc1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by facundo.dominguez):

 {{{unsafeLookupStaticPtr}}} is not pure since the RTS can load code
 dynamically. Calling the function at different times of execution can
 yield different results.

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


More information about the ghc-tickets mailing list