(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
shadow_call_stack_5.c
       1  /* Verify:
       2       * -fno-omit-frame-pointer -fsanitize=shadow-call-stack -fno-exceptions -ffixed-x18.
       3       * without outgoing.
       4       * total frame size <= 512 but > 256.
       5       * callee-saved reg: x29, x30.
       6       * optimized code should use "stp	x29, x30, [sp]" to save frame chain.
       7       * optimized code should use "ldr	x29, [sp]" to restore x29 only.  */
       8  
       9  /* { dg-do compile } */
      10  /* { dg-options "-O2 -fno-omit-frame-pointer -fsanitize=shadow-call-stack -fno-exceptions -ffixed-x18 --save-temps" } */
      11  
      12  #include "test_frame_common.h"
      13  
      14  t_frame_pattern (func1, 400, )
      15  
      16  /* { dg-final { scan-assembler-times {stp\tx29, x30, \[sp\]} 1 } } */
      17  /* { dg-final { scan-assembler {ldr\tx29, \[sp\]} } } */
      18