llvm-project/clang/test
Ties Stuij e32b818db1 [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
2021-12-09 10:39:06 +00:00
..
APINotes
ARCMT [NFC][clang] Inclusive language: replace masterPort with mainPort 2021-11-18 11:51:06 -06:00
AST Allow __attribute__((swift_attr)) in attribute push pragmas 2021-11-19 13:00:26 -08:00
ASTMerge Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
Analysis [Analysis] Ignore casts and unary ops for uninitialized values 2021-12-07 11:49:18 -08:00
CXX [C++20 Modules] Don't create global module fragment for extern linkage declaration in GMF already 2021-12-09 13:55:15 +08:00
ClangScanDeps [clang][deps] Reset some benign codegen options 2021-12-08 11:53:50 +01:00
CodeCompletion [clang][clangd] Improve signature help for variadic functions. 2021-11-18 15:50:47 +01:00
CodeGen Removing some unused parameters from this test; NFC 2021-12-08 08:35:07 -05:00
CodeGenCUDA [HIP] Fix -fgpu-rdc for Windows 2021-12-06 16:42:23 -05:00
CodeGenCUDASPIRV [CUDA][SPIRV] Use OpenCLKernel CC for CUDA -> SPIRV 2021-12-06 15:06:57 -08:00
CodeGenCXX [NFC] Fix C++20 module test in PPC and warning 2021-12-08 14:25:51 +08:00
CodeGenCoroutines [Coroutines] Remove unused coroutine builtin/intrinsics llvm.coro.param (NFC-ish) 2021-12-09 14:40:25 +08:00
CodeGenHIP [HIPSPV] Convert HIP kernels to SPIR-V kernels 2021-12-08 12:18:15 +03:00
CodeGenObjC [NFC][clang] Inclusive language: rename master variable to controller in debug-info tests 2021-11-22 14:02:54 -06:00
CodeGenObjCXX [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
CodeGenOpenCL Introduce _BitInt, deprecate _ExtInt 2021-12-06 12:52:01 -05:00
CodeGenOpenCLCXX [OpenCL] Constructor address space test adjusted for C++ for OpenCL 2021 2021-11-12 14:31:50 +00:00
CodeGenSYCL [CFE][Codegen] Make sure to maintain the contiguity of all the static allocas 2021-11-10 08:45:21 +05:30
Coverage
CoverageMapping [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
Driver [HIP] Fix -fgpu-rdc for Windows 2021-12-06 16:42:23 -05:00
FixIt
Format
Frontend [IR] Remove unbounded as possible value for vscale_range minimum 2021-12-07 09:52:21 +00:00
Headers [ARM/AArch64] Move REQUIRES after update_cc_test_checks line. NFC 2021-11-13 19:09:01 +00:00
Import Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
Index [clang] retain type sugar in auto / template argument deduction 2021-11-15 23:07:45 +01:00
Integration
InterfaceStubs
Interpreter
Layout Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
Lexer Emit final macro diagnostics in system headers 2021-11-11 13:51:26 -06:00
LibClang
Misc Reapply 'Implement target_clones multiversioning' 2021-11-29 06:30:01 -08:00
Modules [C++20] [Modules] [Concepts] Recognize same concepts more precisely in Serialization 2021-12-08 15:00:04 +08:00
OpenMP Introduce _BitInt, deprecate _ExtInt 2021-12-06 12:52:01 -05:00
PCH [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
Parser Introduce _BitInt, deprecate _ExtInt 2021-12-06 12:52:01 -05:00
ParserSYCL
Preprocessor [ARM][clang] Define feature test macro for the PACBTI-M extension 2021-12-09 10:39:06 +00:00
Profile [InstrProf] Use i32 for GEP index from lowering llvm.instrprof.increment 2021-11-19 15:45:14 -08:00
Refactor
Rewriter [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
Sema Add __builtin_elementwise_ceil 2021-12-08 08:29:33 -05:00
SemaCUDA [HIP] Add atomic load, atomic store and atomic cmpxchng_weak builtin support in HIP-clang 2021-11-29 12:07:13 -07:00
SemaCXX Add __builtin_elementwise_ceil 2021-12-08 08:29:33 -05:00
SemaObjC Revert "Revert "Use VersionTuple for parsing versions in Triple, fixing issues that caused the original change to be reverted. This makes it possible to distinguish between "16" and "16.0" after parsing, which previously was not possible."" 2021-12-07 23:15:21 +00:00
SemaObjCXX Revert "[Sema] check PseudoObject when rebuilding CXXOperatorCallExpr in template instantiation" 2021-12-01 11:18:30 +01:00
SemaOpenCL Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
SemaOpenCLCXX Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
SemaSYCL [X86][clang] Disable long double type for -mno-x87 option 2021-11-03 12:08:39 +03:00
SemaTemplate [clang] retain type sugar in auto / template argument deduction 2021-11-15 23:07:45 +01:00
TableGen
Templight
Tooling [clang] Allow clang-check to customize analyzer output file or dir name 2021-11-15 16:49:41 +01:00
Unit
VFS reland: [VFS] Use original path when falling back to external FS 2021-11-13 12:14:34 -08:00
clang-rename
utils/update_cc_test_checks Revert "[Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default" 2021-11-09 02:15:55 +09:00
.clang-format
CMakeLists.txt Reinstate "[clang-repl] Re-implement clang-interpreter as a test case." 2021-10-26 19:29:56 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Reinstate "[clang-repl] Re-implement clang-interpreter as a test case." 2021-10-26 19:29:56 +00:00
lit.site.cfg.py.in
make_test_dirs.pl