diff options
Diffstat (limited to 'gas/testsuite/gas/scfi/aarch64/ginsn-cofi-1.s')
-rw-r--r-- | gas/testsuite/gas/scfi/aarch64/ginsn-cofi-1.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gas/testsuite/gas/scfi/aarch64/ginsn-cofi-1.s b/gas/testsuite/gas/scfi/aarch64/ginsn-cofi-1.s new file mode 100644 index 0000000..bbcbe4e --- /dev/null +++ b/gas/testsuite/gas/scfi/aarch64/ginsn-cofi-1.s @@ -0,0 +1,16 @@ +# Testcase for a variety of change of flow instructions +# Because some of these are indirect branches, SCFI will bail out +# with an error. This test merely checks that the ginsn creation +# process can handle these insns gracefully. + .text + .align 2 + .global foo + .type foo, %function +foo: + bl dump_bt + b .L3 + br x17 +.L3: + blr x3 + ret + .size foo, .-foo |