SuccessChanges

Summary

  1. [LLD] [MinGW] Add a testcase for -l:name style library options. NFC. (details)
  2. [LLD] [MinGW] Look for other library patterns with -l (details)
Commit e742794ffa430d7b50f5c69841546deef100ca14 by martin
[LLD] [MinGW] Add a testcase for -l:name style library options. NFC.
Differential Revision: https://reviews.llvm.org/D68688
llvm-svn: 374291
The file was modifiedlld/test/MinGW/lib.test
Commit 0226c35262df380dafb701df999e1b77bcf8f7f9 by martin
[LLD] [MinGW] Look for other library patterns with -l
GNU ld looks for a number of other patterns than just lib<name>.dll.a
and lib<name>.a.
GNU ld does support linking directly against a DLL without using an
import library. If that's the only match for a -l argument, point out
that the user needs to use an import library, instead of leaving the
user with a puzzling message about the -l argument not being found at
all.
Also convert an existing case of fatal() into error().
Differential Revision: https://reviews.llvm.org/D68689
llvm-svn: 374292
The file was modifiedlld/test/MinGW/lib.test
The file was modifiedlld/MinGW/Driver.cpp