[GHC] #9382: Have rts/Linker.c lookupSymbol find symbols in the process executable.

GHC ghc-devs at haskell.org
Tue Aug 19 04:34:05 UTC 2014


#9382: Have rts/Linker.c lookupSymbol find symbols in the process executable.
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:  facundo.dominguez
  facundo.dominguez                  |           Status:  patch
                  Type:  bug         |        Milestone:
              Priority:  normal      |          Version:
             Component:  Compiler    |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:  Windows     |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:  #9381 #7015
             Test Case:              |
              Blocking:              |
Differential Revisions:  Phab:D103   |
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"d2f01000ac07678b971743ebf1650837aad19b9f/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d2f01000ac07678b971743ebf1650837aad19b9f"
 Have the RTS linker search symbols in the originating windows binary.

 Summary: In initLinker, this patch adds the handle of the module
 corresponding to the program binary to the list of DLL handles that
 lookupSymbol uses to search for symbols.

 Test Plan: validate

 Reviewers: simonmar, austin

 Reviewed By: simonmar, austin

 Subscribers: phaskell, simonmar, relrod, ezyang, carter

 Differential Revision: https://phabricator.haskell.org/D103

 GHC Trac Issues: #9382
 }}}

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


More information about the ghc-tickets mailing list