[all-commits] [llvm/llvm-project] e32b81: [ARM][clang] Define feature test macro for the PAC...
Ties Stuij via All-commits
all-commits at lists.llvm.org
Thu Dec 9 02:39:51 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e32b818db187a6519ee5eba47e8d7dae1d58a723
https://github.com/llvm/llvm-project/commit/e32b818db187a6519ee5eba47e8d7dae1d58a723
Author: Ties Stuij <ties.stuij at arm.com>
Date: 2021-12-09 (Thu, 09 Dec 2021)
Changed paths:
M clang/lib/Basic/Targets/ARM.cpp
M clang/lib/Basic/Targets/ARM.h
M clang/test/Preprocessor/arm-target-features.c
Log Message:
-----------
[ARM][clang] Define feature test macro for the PACBTI-M extension
If the extension string "+pacbti" was given in -march=... or -mcpu=... options the compiler shall define the following preprocessor macros:
__ARM_FEATURE_PAUTH with value 1.
__ARM_FEATURE_BTI with value 1.
This patch is part of a series that adds support for the PACBTI-M extension of
the Armv8.1-M architecture, as detailed here:
https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/armv8-1-m-pointer-authentication-and-branch-target-identification-extension
The PACBTI-M specification can be found in the Armv8-M Architecture Reference
Manual:
https://developer.arm.com/documentation/ddi0553/latest
The following people contributed to this patch:
- Momchil Velikov
- Ties Stuij
Reviewed By: miyuki
Differential Revision: https://reviews.llvm.org/D112431
More information about the All-commits
mailing list