Refactor SymbolInfo out of Linker.c
#11223 (closed) 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.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.1 |
| Type | Task |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |