HomePhabricator

Add support for __declspec(guard(nocf))

Authored by ajpaverd on Jan 10 2020, 3:08 AM.

Description

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

Details

Committed
theravenJan 10 2020, 8:04 AM
Reviewer
aaron.ballman
Differential Revision
D72167: Add support for __declspec(guard(nocf))
Parents
rGd864d93496c5: [PowerPC] Handle constant zero bits in BitPermutationSelector
Branches
Unknown
Tags
Unknown