[PATCH] D79910: [x86][seses] Add clang flag; Use lvi-cfi with seses

Zola Bridges via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 19 11:26:56 PDT 2020


zbrid marked 2 inline comments as done.
zbrid added inline comments.


================
Comment at: clang/include/clang/Driver/Options.td:2244
   HelpText<"Disable control-flow mitigations for Load Value Injection (LVI)">;
+def m_seses : Flag<["-"], "mseses">, Group<m_Group>, Flags<[CoreOption, DriverOption]>,
+  HelpText<"Enable speculative execution side effect suppression (SESES). "
----------------
MaskRay wrote:
> CoreOption is accepted by clang-cl. You need a `%clang_cl` test if you use CoreOption.
Is there a typical place to put this test? Is this a .cc -> LLVM IR test that's wanted? Any examples you can point to?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79910





More information about the cfe-commits mailing list