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

#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

#11816: Refactor SymbolInfo out of Linker.c -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: Type: task | Status: new Priority: normal | Milestone: 8.2.1 Component: Runtime System | Version: 8.1 (Linker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #11223 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by Phyx-): * component: Compiler => Runtime System (Linker) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11816#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11816: Refactor SymbolInfo out of Linker.c -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: Phyx- Type: task | Status: new Priority: normal | Milestone: 8.2.1 Component: Runtime System | Version: 8.1 (Linker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #11223 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by Phyx-): * owner: => Phyx- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11816#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11816: Refactor SymbolInfo out of Linker.c -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: Phyx- Type: task | Status: patch Priority: normal | Milestone: 8.2.1 Component: Runtime System | Version: 8.1 (Linker) | Resolution: | 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: | -------------------------------------+------------------------------------- Changes (by Phyx-): * status: new => patch * differential: => Phab:D2184 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11816#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11816#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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

#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

#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
participants (1)
-
GHC