Clang Project

clang_source_code/test/Driver/aarch64-ssbs.c
1// RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+ssbs   %s 2>&1 | FileCheck %s
2// CHECK: "-target-feature" "+ssbs"
3
4// RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+nossbs %s 2>&1 | FileCheck %s --check-prefix=NOSSBS
5// NOSSBS: "-target-feature" "-ssbs"
6
7// RUN: %clang -### -target aarch64-none-none-eabi                      %s 2>&1 | FileCheck %s --check-prefix=ABSENTSSBS
8// ABSENTSSBS-NOT: "-target-feature" "+ssbs"
9// ABSENTSSBS-NOT: "-target-feature" "-ssbs"
10