summaryrefslogtreecommitdiff
path: root/compiler/GHC/Unit/Module/ModGuts.hs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-02-25 16:07:33 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-28 19:17:47 -0500
commit065419affb4346bb81e91f8260e531a6e2342fa5 (patch)
tree80b68c0e80784377704291dc550edfe774e9b385 /compiler/GHC/Unit/Module/ModGuts.hs
parent4f0208e53444d32c7f3795b3ac15acbfc75bf58c (diff)
downloadhaskell-065419affb4346bb81e91f8260e531a6e2342fa5.tar.gz
linking: Don't pass --hash-size and --reduce-memory-overhead to ld
These flags were added to help with the high linking cost of the old split-objs mode. Now we are using split-sections these flags appear to make no difference to memory usage or time taken to link. I tested various configurations linking together the ghc library with -split-sections enabled. | linker | time (s) | | ------ | ------ | | gold | 0.95 | | ld | 1.6 | | ld (hash-size = 31, reduce-memory-overheads) | 1.6 | | ldd | 0.47 | Fixes #20967
Diffstat (limited to 'compiler/GHC/Unit/Module/ModGuts.hs')
0 files changed, 0 insertions, 0 deletions