summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver
diff options
context:
space:
mode:
authorRebecca Turner <rbt@sent.as>2023-02-03 12:57:00 -0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-02-10 06:52:09 -0500
commit11e0cacb039cee4198cd6043ab0d9e08332d4d8a (patch)
treeae8cc89b1bb40b6de9cbc1c0cca9e3306f1b1bd1 /compiler/GHC/Driver
parente45eb82830d6de4d09abb548e190be980dd001b4 (diff)
downloadhaskell-11e0cacb039cee4198cd6043ab0d9e08332d4d8a.tar.gz
Detect the `mold` linker
Enables support for the `mold` linker by rui314.
Diffstat (limited to 'compiler/GHC/Driver')
-rw-r--r--compiler/GHC/Driver/Session.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs
index 8a37a9d197..2cf7072940 100644
--- a/compiler/GHC/Driver/Session.hs
+++ b/compiler/GHC/Driver/Session.hs
@@ -4939,6 +4939,7 @@ needSourceNotes dflags = debugLevel dflags > 0
-- LinkerInfo contains any extra options needed by the system linker.
data LinkerInfo
= GnuLD [Option]
+ | Mold [Option]
| GnuGold [Option]
| LlvmLLD [Option]
| DarwinLD [Option]