8 lines · c
1 2// RUN: %clang -target arm-arm-none-eabi -march=armv8.1-m.main+nopacbti %s -### 2>&1 | FileCheck %s3// RUN: %clang -target arm-arm-none-eabi -mcpu=cortex-m85+nopacbti %s -### 2>&1 | FileCheck %s4 5// CHECK-NOT: "-target-feature" "+pacbti"6// CHECK: "-target-feature" "-pacbti"7// CHECK-NOT: "-target-feature" "+pacbti"8