brintos

brintos / llvm-project-archived public Read only

0
0
Text · 390 B · c5cd385 Raw
8 lines · c
1// RUN: %clang -target arm-arm-none-eabi -march=armv8-m.main -mbranch-protection=bti \2// RUN: -mno-bti-at-return-twice -### %s 2>&1 | FileCheck %s --check-prefix=FEAT3// RUN: %clang -target arm-arm-none-eabi -march=armv8-m.main -mbranch-protection=bti \4// RUN: -### %s 2>&1 | FileCheck %s --check-prefix=NOFEAT5 6// FEAT: "+no-bti-at-return-twice"7// NOFEAT-NOT: "+no-bti-at-return-twice"8