[PATCH] D88631: [X86] Support customizing stack protector guard
Xiang Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 7 18:09:39 PDT 2020
xiangzhangllvm marked 9 inline comments as done.
xiangzhangllvm added a comment.
@nickdesaulniers thank you very much for your guide!
Sorry for the later update, I take a travel these days.
================
Comment at: clang/include/clang/Driver/Options.td:2600
+def mstack_protector_guard_EQ : Joined<["-"], "mstack-protector-guard=">, Group<m_Group>, Flags<[CC1Option]>,
+ HelpText<"Use the given guard (global, tls) for addressing the stack-protector guard">;
+def mstack_protector_guard_offset_EQ : Joined<["-"], "mstack-protector-guard-offset=">, Group<m_Group>, Flags<[CC1Option]>,
----------------
nickdesaulniers wrote:
> It looks like `-mstack-protector-guard=sysreg` is also supported by GCC.
Done in clang.cpp
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88631/new/
https://reviews.llvm.org/D88631
More information about the llvm-commits
mailing list