Look for an entry point function if /nodefaultlib is given.
authorRui Ueyama <ruiu@google.com>
Wed, 18 Jul 2018 17:48:14 +0000 (17:48 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 18 Jul 2018 17:48:14 +0000 (17:48 +0000)
commitc93530d873de4c0e713942a021bf622ca59c5593
tree61a289a275523b6c22a95d103cbe790818bdc629
parentda77fe4a77485f5f4c4eb7f460554fc14e88d3b6
Look for an entry point function if /nodefaultlib is given.

Summary: Fixes https://bugs.llvm.org/show_bug.cgi?id=38018

Reviewers: thakis

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D48990

llvm-svn: 337407
lld/COFF/Driver.cpp
lld/test/COFF/entry-inference3.test [new file with mode: 0644]