diff options
author | Pengxuan Zheng <pzheng@quicinc.com> | 2022-06-07 06:42:22 -0700 |
---|---|---|
committer | Stephen Long <steplong@quicinc.com> | 2022-06-07 06:42:35 -0700 |
commit | e3a6784ac9672506ba69c1754a5e6b7712e1fba7 (patch) | |
tree | 6a27a6d11a683876e82650a78d8f88cfe1ac7361 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 53be6ab25cb97338384b9a73a4eef47cf3b89f3b (diff) | |
download | llvm-e3a6784ac9672506ba69c1754a5e6b7712e1fba7.zip llvm-e3a6784ac9672506ba69c1754a5e6b7712e1fba7.tar.gz llvm-e3a6784ac9672506ba69c1754a5e6b7712e1fba7.tar.bz2 |
[clang-cl] Add support for /kernel
MSVC defines _KERNEL_MODE when /kernel is passed.
Also, /kernel disables RTTI and C++ exception handling.
https://docs.microsoft.com/en-us/cpp/build/reference/kernel-create-kernel-mode-binary?view=msvc-170
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D126719
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions