[PATCH] D126719: [clang-cl] Add support for /kernel

Stephen Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 3 12:31:23 PDT 2022


steplong updated this revision to Diff 434107.
steplong added a comment.

- Change to SupportedArches.insert()
- Add logic that errors if /kernel and /GR
- Add test for /kernel and /EHsc (silently override /EHsc. Only errors when trying to use exceptions in src code) and /kernel and /GR (fails with an error)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126719/new/

https://reviews.llvm.org/D126719

Files:
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/Basic/Targets/OSTargets.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/Driver/cl-zc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126719.434107.patch
Type: text/x-patch
Size: 6666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220603/82036037/attachment-0001.bin>


More information about the cfe-commits mailing list