[lld] b5e49cd - [LLD][COFF] Ignore /kernel flag
Pengxuan Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 1 10:03:17 PDT 2022
Author: Pengxuan Zheng
Date: 2022-07-01T10:03:02-07:00
New Revision: b5e49cdea971742d2fbc8ae35878fcc21daebba1
URL: https://github.com/llvm/llvm-project/commit/b5e49cdea971742d2fbc8ae35878fcc21daebba1
DIFF: https://github.com/llvm/llvm-project/commit/b5e49cdea971742d2fbc8ae35878fcc21daebba1.diff
LOG: [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
Added:
Modified:
lld/COFF/Options.td
Removed:
################################################################################
diff --git a/lld/COFF/Options.td b/lld/COFF/Options.td
index 2d87a5edf5901..9f29ea0d523a7 100644
--- a/lld/COFF/Options.td
+++ b/lld/COFF/Options.td
@@ -296,6 +296,7 @@ def nologo : F<"nologo">;
def throwingnew : F<"throwingnew">;
def editandcontinue : F<"editandcontinue">;
def fastfail : F<"fastfail">;
+def kernel : F<"kernel">;
def pdbcompress : F<"pdbcompress">;
def delay : P_priv<"delay">;
More information about the llvm-commits
mailing list