[GHC] #11816: Refactor SymbolInfo out of Linker.c
GHC
ghc-devs at haskell.org
Sun Apr 10 13:15:53 UTC 2016
#11816: Refactor SymbolInfo out of Linker.c
-------------------------------------+-------------------------------------
Reporter: Phyx- | Owner:
Type: task | Status: new
Priority: normal | Milestone: 8.2.1
Component: Compiler | Version: 8.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets: #11223
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
#11223 added a type `SymbolInfo` to `ObjectCode`. This is adding a larger
memory overhead to the RTS then need by.
`SymbolInfo` is used to determine if a symbol is weak or not. This
information can be moved into it's own structure inside `ObjectCode` like
a map. Since the majority of the symbols will not be weak this map should
be fairly small.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11816>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list