[PECOFF] Fix /nodefaultlib option.
authorRui Ueyama <ruiu@google.com>
Thu, 23 Oct 2014 20:42:07 +0000 (20:42 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 23 Oct 2014 20:42:07 +0000 (20:42 +0000)
commit2f28686ca04c3e079a95d7ff24827d05d4357ab3
treef3768a8142bb646c8850251b893f742efe9379a6
parent1d1f232041c18d7516ca0d853492c02272c55f2e
[PECOFF] Fix /nodefaultlib option.

/nodefaultlib argument is a path name, so that needs to be compared
case-insensitive way. Also the ".lib" extension should be ignored.

llvm-svn: 220508
lld/include/lld/ReaderWriter/PECOFFLinkingContext.h
lld/unittests/DriverTests/WinLinkDriverTest.cpp