SysTools: Add detection support for LLD linker
authorBen Gamari <ben@smart-cactus.org>
Sun, 21 Jan 2018 18:31:29 +0000 (13:31 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 1 Feb 2018 04:20:33 +0000 (23:20 -0500)
commit2d1f6af42410e21c5425675213cfd34295139ab9
treee840ae8008f3ace3a3932a2e6596000850093dd4
parentd3573e4ae63d6ae1ac0cd4bf5692a9bcd39ba733
SysTools: Add detection support for LLD linker

I noticed while trying to test against LLVM 5.0 that GHC would throw "Couldn't
figure out linker information" warnings due to LLD being chosen by configure.
Adding detection support to silence these is simple enough, let's just do it.

(cherry picked from commit 6c0db98bc5d1dceb8fa48544532f85d386900e4a)
compiler/main/DynFlags.hs
compiler/main/SysTools/Info.hs