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>
Sun, 21 Jan 2018 18:31:38 +0000 (13:31 -0500)
commit6c0db98bc5d1dceb8fa48544532f85d386900e4a
tree823982b613fd0acd0f5d37852a3f5d01c7aaad6d
parent88297438d550a93f72261447a215b6a58b4fae55
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.
compiler/main/DynFlags.hs
compiler/main/SysTools/Info.hs