[GHC] #11816: Refactor SymbolInfo out of Linker.c

GHC ghc-devs at haskell.org
Fri Jun 3 20:12:10 UTC 2016


#11816: Refactor SymbolInfo out of Linker.c
-------------------------------------+-------------------------------------
        Reporter:  Phyx-             |                Owner:  Phyx-
            Type:  task              |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Runtime System    |              Version:  8.1
  (Linker)                           |
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11223            |  Differential Rev(s):  Phab:D2184
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"079c1b8caed22db2be24f3304c56db56292670e1/ghc"
 079c1b8c/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="079c1b8caed22db2be24f3304c56db56292670e1"
 Use useful names for Symbol Addr and Names in Linker.c

 Replace `char*` and `void*` with `SymbolName` and `SymbolAddr` in
 `Linker.c`. Gives some useful information about what the variables are
 used for and also normalizes the types used in Mac, Linux and Windows

 Test Plan:
 ./validate on all platforms that use the runtime linker.

 For unix platforms please ensure `DYNAMIC_GHC_PROGRAMS=NO` is
  added to your validate file.

 This is a continuation from D2184

 Reviewers: austin, erikd, simonmar, bgamari

 Reviewed By: bgamari

 Subscribers: thomie, #ghc_windows_task_force

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

 GHC Trac Issues: #11816
 }}}

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


More information about the ghc-tickets mailing list