llvm/clang/test/Preprocessor
Ties Stuij bfe07195bb [ARM][clang] Option b-key must not affect __ARM_FEATURE_PAC_DEFAULT
When using -mbranch-protection=pac-ret+b-key, macro __ARM_FEATURE_PAC_DEFAULT
should still have the value corresponding to a-key, because b-key is only valid
for AArch64.

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:

- Victor Campos

Reviewed By: danielkiss

Differential Revision: https://reviews.llvm.org/D115140
2021-12-09 13:37:52 +00:00
..
Inputs [clang][lex] Remark on search path usage 2021-10-12 12:20:55 +02:00
_Pragma-dependency.c
_Pragma-dependency2.c
_Pragma-in-macro-arg.c
_Pragma-in-macro-arg.cpp
_Pragma-location.c
_Pragma-newline.c [Preprocessor] Fix newline before/after _Pragma. 2021-11-05 00:43:40 -05:00
_Pragma-physloc.c
_Pragma.c
aarch64-target-features.c [AArch64] Add support for the 'R' architecture profile. 2021-10-27 12:32:30 +01:00
aix-vec_extabi.c [AIX][PowerPC] Remove error when specifying mabi=vec-default on AIX 2021-06-23 07:40:38 -04:00
annotate_in_macro_arg.c
arm-acle-6.4.c
arm-acle-6.5.c
arm-pic-predefines.c
arm-target-features.c [ARM][clang] Option b-key must not affect __ARM_FEATURE_PAC_DEFAULT 2021-12-09 13:37:52 +00:00
arm64_32.c
arm64e.c
assembler-with-cpp.c Implement P1949 2021-08-18 07:33:14 -04:00
avr-atmega328p.c
avr-attiny104.c
avr-common.c
bigoutput.c
bpf-predefined-macros.c
builtin_line.c
c2x.c Bump the value of __STDC_VERSION__ in -std=c2x mode 2021-10-17 09:23:43 -04:00
c17.c
c90.c
c99-6_10_3_3_p4.c
c99-6_10_3_4_p5.c
c99-6_10_3_4_p6.c
c99-6_10_3_4_p7.c
c99-6_10_3_4_p9.c
clang_headers.c
comment_save.c [Preprocessor] Implement -fminimize-whitespace. 2021-07-25 23:30:57 -05:00
comment_save_if.c
comment_save_macro.c
cuda-approx-transcendentals.cu
cuda-macos-includes.cu
cuda-preprocess.cu
cuda-types.cu
cxx_and.cpp
cxx_bitand.cpp
cxx_bitor.cpp
cxx_compl.cpp
cxx_not.cpp
cxx_not_eq.cpp
cxx_oper_keyword.cpp
cxx_oper_keyword_ms_compat.cpp
cxx_oper_spelling.cpp
cxx_or.cpp
cxx_true.cpp
cxx_xor.cpp
dependencies-and-pp.c
directive-invalid.c
disabled-cond-diags.c
disabled-cond-diags2.c
dump-macros-spacing.c
dump-macros-undef.c
dump-options.c
dump_import.h
dump_import.m
dump_include.c
dump_include.h
dump_macros.c
dumptokens_phyloc.c
elfiamcu-predefines.c
elifdef.c Fix a git apply that went bad somehow. 2021-06-01 14:06:39 -04:00
empty_file_to_include.h
empty_va_arg.cpp Fix a diagnoses-valid in C++20 with variadic macros 2021-10-09 08:20:20 -04:00
expr_comma.c
expr_define_expansion.c
expr_invalid_tok.c
expr_liveness.c
expr_multichar.c
expr_usual_conversions.c
extension-warning.c
feature_tests.c
feature_tests.cpp
file_name_macro.c
file_test.c
file_test_windows.c
file_to_include.h
first-line-indent.c [Preprocessor] Implement -fminimize-whitespace. 2021-07-25 23:30:57 -05:00
function_macro_file.c
function_macro_file.h
has_attribute.c Lex arguments for __has_cpp_attribute and friends as expanded tokens 2021-10-17 07:54:48 -04:00
has_attribute.cpp Lex arguments for __has_cpp_attribute and friends as expanded tokens 2021-10-17 07:54:48 -04:00
has_attribute_errors.cpp Lex arguments for __has_cpp_attribute and friends as expanded tokens 2021-10-17 07:54:48 -04:00
has_c_attribute.c Lex arguments for __has_cpp_attribute and friends as expanded tokens 2021-10-17 07:54:48 -04:00
has_c_attribute.cpp
has_include.c
hash_line.c [Preprocessor] Implement -fminimize-whitespace. 2021-07-25 23:30:57 -05:00
hash_space.c
header_is_main_file.c
header_lookup1.c
headermap-rel.c
headermap-rel2.c
hexagon-predefines.c
hip-host-cpu-macros.cu
if_warning.c Add support for #elifdef and #elifndef 2021-05-27 08:57:47 -04:00
ifdef-recover.c Add support for #elifdef and #elifndef 2021-05-27 08:57:47 -04:00
ignore-pragmas.c
import_self.c
include-cycle.c
include-directive1.c
include-directive2.c
include-directive3.c
include-header-file-and-dir.c
include-header-missing-in-framework-with-headermap.c
include-header-missing-in-framework.c
include-leading-nonalpha-no-suggest.c
include-likely-typo.c
include-macros.c
include-next.c
include-nonalpha-no-crash.c
include_instead.cpp Revert "Revert "[clang][pp] adds '#pragma include_instead'"" 2021-07-29 19:21:43 +00:00
include_instead_file_not_found.cpp Revert "Revert "[clang][pp] adds '#pragma include_instead'"" 2021-07-29 19:21:43 +00:00
indent_macro.c
init-aarch64.c Revert "[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly" 2021-09-01 04:48:50 -07:00
init-arm.c Revert "[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly" 2021-09-01 04:48:50 -07:00
init-mips.c Revert "[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly" 2021-09-01 04:48:50 -07:00
init-ppc.c [AIX][PowerPC] Define __powerpc and __PPC macros 2021-09-02 13:32:35 -04:00
init-ppc64.c [AIX] Enable int128 in 64 bit mode 2021-10-15 16:23:04 +00:00
init-s390x.c Revert "[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly" 2021-09-01 04:48:50 -07:00
init-v7k-compat.c Revert "[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly" 2021-09-01 04:48:50 -07:00
init-ve.c [CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly 2021-08-16 18:34:29 +09:00
init-x86.c Revert "[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly" 2021-09-01 04:48:50 -07:00
init.c [PR52549][clang-cl] Predefine _MSVC_EXECUTION_CHARACTER_SET 2021-11-30 09:13:22 +01:00
invalid-__has_warning1.c
invalid-__has_warning2.c
is_target.c
is_target_arm.c
is_target_arm64.c
is_target_environment_version.c
is_target_os_darwin.c
is_target_unknown.c
iwithprefix.c
lang-std.cu [CUDA][HIP] Change default lang std to c++14 2021-06-01 20:45:10 -04:00
line-directive-output.c [Preprocessor] Implement -fminimize-whitespace. 2021-07-25 23:30:57 -05:00
line-directive.c [clang] GCC directive extension extension: Hash NNN lines 2021-11-09 07:31:03 -08:00
llvm-rc.rc
llvm-windres.rc
macho-embedded-predefines.c
macro-multiline.c
macro-reserved-cxx11.cpp
macro-reserved-ms.c
macro-reserved.c [NFC][Clang]Inclusive language: Replace uses of whitelist in clang/test 2021-11-30 15:06:04 -05:00
macro-reserved.cpp [NFC][Clang]Inclusive language: Replace uses of whitelist in clang/test 2021-11-30 15:06:04 -05:00
macro_arg_directive.c
macro_arg_directive.h
macro_arg_empty.c
macro_arg_keyword.c
macro_arg_slocentry_merge.c
macro_arg_slocentry_merge.h
macro_backslash.c
macro_disable.c
macro_expand.c
macro_expand_empty.c
macro_expandloc.c
macro_fn.c
macro_fn_comma_swallow.c
macro_fn_comma_swallow2.c
macro_fn_disable_expand.c
macro_fn_lparen_scan.c
macro_fn_lparen_scan2.c
macro_fn_placemarker.c
macro_fn_preexpand.c
macro_fn_varargs_iso.c
macro_fn_varargs_named.c
macro_misc.c Add support for #elifdef and #elifndef 2021-05-27 08:57:47 -04:00
macro_not_define.c
macro_paste_bad.c
macro_paste_bcpl_comment.c
macro_paste_c_block_comment.c
macro_paste_commaext.c
macro_paste_empty.c
macro_paste_hard.c
macro_paste_hashhash.c
macro_paste_identifier_error.c
macro_paste_msextensions.c
macro_paste_none.c
macro_paste_simple.c
macro_paste_spacing.c
macro_paste_spacing2.c
macro_raw_string.cpp
macro_redefined.c
macro_rescan.c
macro_rescan2.c
macro_rescan_varargs.c
macro_rparen_scan.c
macro_rparen_scan2.c
macro_space.c [Preprocessor] Implement -fminimize-whitespace. 2021-07-25 23:30:57 -05:00
macro_undef.c
macro_vaopt_check.cpp Add support for #elifdef and #elifndef 2021-05-27 08:57:47 -04:00
macro_vaopt_expand.cpp
macro_vaopt_p1042r1.cpp
macro_variadic.cl
macro_with_initializer_list.cpp
mi_opt.c
mi_opt.h
mi_opt2.c
mi_opt2.h
microsoft-ext.c
microsoft-header-search.c
microsoft-import.c
minimize-whitespace-messages.c [Preprocessor] Implement -fminimize-whitespace. 2021-07-25 23:30:57 -05:00
minimize-whitespace.c [Preprocessor] -E -P: Ensure newline after 8 skipped lines. 2021-07-28 22:50:54 -05:00
missing-include-range-check.h
missing-system-header.c
missing-system-header.h
mmx.c
non_fragile_feature.m
non_fragile_feature1.m
nonportable-include-with-hmap.c
objc-pp.m
openmp-macro-expansion.c
optimize.c
output_paste_avoid.cpp
overflow.c
pic.c
pp-modules.c
pp-modules.h
pp-record.c
pp-record.h
pr2086.c
pr2086.h
pr13851.c
pr19649-signed-wchar_t.c
pr19649-unsigned-wchar_t.c
pragma-captured.c
pragma-comment-linux.c
pragma-pushpop-macro.c
pragma.c
pragma_assume_nonnull.c
pragma_diagnostic.c
pragma_diagnostic_output.c
pragma_diagnostic_sections.cpp
pragma_microsoft.c
pragma_microsoft.cpp
pragma_module.c
pragma_poison.c
pragma_ps4.c
pragma_sysheader.c Add support for #pragma system_header with -fms-extensions 2021-06-23 13:26:03 +02:00
pragma_unknown.c
predefined-arch-macros-x86.c
predefined-arch-macros.c [X86] AVX512FP16 instructions enabling 1/6 2021-08-10 12:46:01 +08:00
predefined-exceptions.m
predefined-macros.c [CUDA][HIP] Add pre-defined macro __CLANG_RDC__ 2021-12-07 18:08:16 -05:00
predefined-nullability.c
predefined-win-macros.c [clang-cl] Define _MSVC_LANG for -std=c++2b 2021-12-02 12:09:20 -05:00
print-assembler.s
print-pragma-microsoft.c
print_empty_include.c [Preprocessor] Elide empty line(s) at start of file. 2021-08-25 12:48:59 -05:00
print_empty_include.h [Preprocessor] Elide empty line(s) at start of file. 2021-08-25 12:48:59 -05:00
print_line_count.c
print_line_empty_file.c
print_line_include.c [Preprocessor] Implement -fminimize-whitespace. 2021-07-25 23:30:57 -05:00
print_line_include.h
print_line_track.c [Preprocessor] Elide empty line(s) at start of file. 2021-08-25 12:48:59 -05:00
pushable-diagnostics.c
riscv-cmodel.c
riscv-target-features.c [RISCV] Update Zba, Zbb, Zbc, and Zbs version from 0.93 to 1.0. 2021-10-14 09:25:03 -07:00
search-path-usage.m [clang][lex] Remark on search path usage 2021-10-12 12:20:55 +02:00
skip-empty-lines.c [test] Fix indention. NFC. 2021-08-25 12:48:59 -05:00
skipping_unclean.c
static_assert-already-defined.c
static_assert.c
stdint.c
stringize_misc.c
stringize_skipped.c
stringize_space.c [Preprocessor] Implement -fminimize-whitespace. 2021-07-25 23:30:57 -05:00
sycl-macro.cpp Introduce SYCL 2020 mode 2021-05-18 10:34:14 -04:00
sysroot-prefix.c
traditional-cpp.c
ucn-allowed-chars.c Implement P1949 2021-08-18 07:33:14 -04:00
ucn-pp-identifier.c Implement delimited escape sequences. 2021-09-15 09:54:49 -04:00
undef-error.c
unterminated.c
unwind-tables.c Fix -fno-unwind-tables -fasynchronous-unwind-tables to emit unwind tables 2021-09-23 16:15:40 -07:00
user_defined_system_framework.c
utf8-allowed-chars.c Implement P1949 2021-08-18 07:33:14 -04:00
warn-disabled-macro-expansion.c
warn-macro-undef.c
warn-macro-unused.c
warn-macro-unused.h
warning_tests.c
wasm-target-features.c [WebAssembly] Add relaxed-simd feature 2021-09-22 14:52:50 -07:00
wchar_t.c
Weverything_pragma.c Make wide multi-character character literals ill-formed 2021-08-20 11:10:53 -04:00
whitespace-ms-extensions.c [Preprocessor] Ensure newline after #pragma introduced by -fms-extensions. 2021-08-01 19:08:13 -05:00
woa-defaults.c
woa-wchar_t.c
x86_amx_target_features.c
x86_asm_flag_output.c
x86_seg_fs_gs.c
x86_target_features.c [X86] Add CRC32 feature. 2021-09-06 17:24:30 +08:00