[LLD][COFF] Ignore /kernel flag
authorPengxuan Zheng <pzheng@quicinc.com>
Tue, 21 Jun 2022 01:44:32 +0000 (18:44 -0700)
committerPengxuan Zheng <pzheng@quicinc.com>
Fri, 1 Jul 2022 17:03:02 +0000 (10:03 -0700)
commitb5e49cdea971742d2fbc8ae35878fcc21daebba1
treebb11d0ada3e499ba634f7243c8cf658be1f313a8
parentc4abef28a3bd6d37acc80b5659fe458fc0b3fc18
[LLD][COFF] Ignore /kernel flag

There exists some description of the flag from Microsoft, but not sure if
there's more to it. We ignore the flag for now until we find out more about it.

https://docs.microsoft.com/en-us/cpp/build/reference/kernel-create-kernel-mode-binary?view=msvc-170

Reviewed By: thieta, hans

Differential Revision: https://reviews.llvm.org/D128238
lld/COFF/Options.td