Make a decision about whether we should warn on missing entry or not early.
authorRui Ueyama <ruiu@google.com>
Wed, 7 Dec 2016 04:06:21 +0000 (04:06 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 7 Dec 2016 04:06:21 +0000 (04:06 +0000)
commit9e5f5effe58a67b7ad37e6f3317e90c63f023729
tree8c6bf8e97c6e14d8395cbbffa018dbd369c58809
parenta1407c4fdf3058d5216d1433a16aae81b46a8463
Make a decision about whether we should warn on missing entry or not early.

Config->WarnMissingEntry is a single-purpose boolean variable, and
I think it's easier to understand than Config->HasEntry.

llvm-svn: 288883
lld/ELF/Config.h
lld/ELF/Driver.cpp
lld/ELF/Writer.cpp