[PATCH] D40224: [X86] Control-Flow Enforcement Technology - Shadow Stack and Indirect Branch Tracking support (Clang side)

Erich Keane via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 08:45:05 PST 2017


erichkeane added inline comments.


================
Comment at: include/clang/Driver/Options.td:1801
 def mno_stackrealign : Flag<["-"], "mno-stackrealign">, Group<m_Group>;
+def mno_cet : Flag<["-"], "mno-cet">, Group<m_x86_Features_Group>;
+def mno_shstk : Flag<["-"], "mno-shstk">, Group<m_x86_Features_Group>;
----------------
Since CET is a union of the other two, how do we handle conflicting configurations?  Is -mcet -mno-ibt an error, or the same as mno-shstk?  Repeat question for all combinations.


Repository:
  rL LLVM

https://reviews.llvm.org/D40224





More information about the llvm-commits mailing list