Warn on /align if used without /driver
authorRui Ueyama <ruiu@google.com>
Wed, 13 Nov 2019 04:43:25 +0000 (13:43 +0900)
committerRui Ueyama <ruiu@google.com>
Thu, 14 Nov 2019 04:13:07 +0000 (13:13 +0900)
commit000ff301e74b216c23ee60344977b2b6692ac70c
tree81f9f0a789e86ac0e90908c3378fe07ed2fa0bdd
parentf95ed69641d5431a3789e7ea5d4f7837eaae18f3
Warn on /align if used without /driver

/align is not supposed to be used without /driver, so it makes sense
to warn if only /align is passed. MSVC link.exe warns on this too.

Differential Revision: https://reviews.llvm.org/D70163
lld/COFF/Driver.cpp
lld/test/COFF/align.s