[PECOFF] Remember /noentry option so that later passes can handle it.
authorRui Ueyama <ruiu@google.com>
Tue, 22 Jul 2014 22:19:42 +0000 (22:19 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 22 Jul 2014 22:19:42 +0000 (22:19 +0000)
commitd0a480a6f2dd591405a5e6e8b0d41c5d85b70234
tree0dbf574c8cc781c836b5953b03a69ccc03701203
parent12bb77ddd1ab418fce280d2be5af9a3b6c4295fc
[PECOFF] Remember /noentry option so that later passes can handle it.

This is a part of a larger change to move the entry point
processing to a later pass than the driver. On Windows the default
entry point function varies depending on user-provided functions.
That means the driver is not able to correctly know the entry point
function name. Only passes after the core linker can infer it.

llvm-svn: 213697
lld/include/lld/ReaderWriter/PECOFFLinkingContext.h
lld/lib/Driver/WinLinkDriver.cpp