COFF: Fix entry point inference bug.
authorRui Ueyama <ruiu@google.com>
Thu, 18 Jun 2015 00:40:33 +0000 (00:40 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 18 Jun 2015 00:40:33 +0000 (00:40 +0000)
commitae36985af77996494d7f3efa6c01359f86921945
treea3cd62c975e167be6274da07693e2a5e269c4db1
parent92b0b02e29a7e6e70b18f4004d9f58e4b6914d2b
COFF: Fix entry point inference bug.

Previously, LLD couldn't find a default entry point if it's
defined by a library.

llvm-svn: 239982
lld/COFF/SymbolTable.cpp
lld/COFF/SymbolTable.h
lld/test/COFF/entrylib.ll [new file with mode: 0644]