/* Testing return address signing. */ /* { dg-do run } */ /* { dg-require-effective-target mbranch_protection_ok } */ /* { dg-require-effective-target arm_pacbti_hw } */ /* { dg-options "-march=armv8.1-m.main+pacbti+fp -mbranch-protection=pac-ret -mthumb -mfloat-abi=hard --save-temps -O0" } */ #include "pac.h" /* { dg-final { scan-assembler "pac\tip, lr, sp" } } */ /* { dg-final { scan-assembler "aut\tip, lr, sp" } } */ /* { dg-final { scan-assembler-not "\tbti" } } */