[Driver] Use paths explicitly provided by the -L option before default paths
authorSimon Atanasyan <simon@atanasyan.com>
Thu, 26 Feb 2015 20:09:50 +0000 (20:09 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Thu, 26 Feb 2015 20:09:50 +0000 (20:09 +0000)
commit82ae48eeb5e79ee9ecf1f6e7d8a433e45cfca4d0
treea153b7832ed50cbceb7d8cf1889bfbbd5040faf9
parent27967c843be0f1215c70fe0970793070e8cdeea3
[Driver] Use paths explicitly provided by the -L option before default paths

User should be able to override default search paths using the -L
option.

http://reviews.llvm.org/D7902

llvm-svn: 230679
lld/lib/Driver/GnuLdDriver.cpp
lld/test/Driver/Inputs/libtest.a [new file with mode: 0644]
lld/test/Driver/def-lib-search.test [new file with mode: 0644]