[GHC] #12244: Idea: Remove unused symbols in link-time for smaller binaries

GHC ghc-devs at haskell.org
Wed Jun 29 10:57:42 UTC 2016


#12244: Idea: Remove unused symbols in link-time for smaller binaries
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  lowest            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      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 rwbarton):

 `-split-objs` and `-split-sections` already pretty much achieve this I
 think. Do you have a specific example where code built with `-split-
 sections` ends up with unused code in the final product?

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


More information about the ghc-tickets mailing list