diff options
author | Andrew Paverd <andrew.paverd@microsoft.com> | 2020-01-10 11:08:18 +0000 |
---|---|---|
committer | David Chisnall <David.Chisnall@microsoft.com> | 2020-01-10 16:04:12 +0000 |
commit | bdd88b7ed3956534a0a71b1ea2bc88c69d48f9b7 (patch) | |
tree | 4f0a7aeaf0f6eb0a34d373c6c74c93763669d6c4 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d864d93496c5fd0cc473953ab825f07e3d4c4e86 (diff) | |
download | llvm-bdd88b7ed3956534a0a71b1ea2bc88c69d48f9b7.zip llvm-bdd88b7ed3956534a0a71b1ea2bc88c69d48f9b7.tar.gz llvm-bdd88b7ed3956534a0a71b1ea2bc88c69d48f9b7.tar.bz2 |
Add support for __declspec(guard(nocf))
Summary:
Avoid using the `nocf_check` attribute with Control Flow Guard. Instead, use a
new `"guard_nocf"` function attribute to indicate that checks should not be
added on indirect calls within that function. Add support for
`__declspec(guard(nocf))` following the same syntax as MSVC.
Reviewers: rnk, dmajor, pcc, hans, aaron.ballman
Reviewed By: aaron.ballman
Subscribers: aaron.ballman, tomrittervg, hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D72167
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions