summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/attr-nocf_check.cpp
Commit message (Collapse)AuthorAgeFilesLines
* This patch aims to match the changes introducedAlexander Ivchenko2018-05-181-1/+1
| | | | | | | | | | | | | | | | | in gcc by https://gcc.gnu.org/ml/gcc-cvs/2018-04/msg00534.html. The -mibt feature flag is being removed, and the -fcf-protection option now also defines a CET macro and causes errors when used on non-X86 targets, while X86 targets no longer check for -mibt and -mshstk to determine if -fcf-protection is supported. -mshstk is now used only to determine availability of shadow stack intrinsics. Comes with an LLVM patch (D46882). Patch by mike.dvoretsky Differential Revision: https://reviews.llvm.org/D46881 llvm-svn: 332704
* Adding nocf_check attribute for cf-protection fine tuningOren Ben Simhon2018-03-171-0/+23
The patch adds nocf_check target independent attribute for disabling checks that were enabled by cf-protection flag. The attribute can be appertained to functions and function pointers. Attribute name follows GCC's similar attribute name. Differential Revision: https://reviews.llvm.org/D41880 llvm-svn: 327768
OpenPOWER on IntegriCloud