1 ## Check that error handling for bad opcodes works.
2 ## .xdata below contains the bad opcode 0xdf in the 4th word of .xdata.
4 // REQUIRES
: aarch64-registered-target
5 // RUN
: llvm-mc
-filetype
=obj
-triple aarch64-windows
%s
-o
- \
6 // RUN
: | llvm-readobj
--unwind
- | FileCheck
%s
9 // CHECK
: 0xdf ; Bad opcode
!
10 // CHECK
: 0xff ; Bad opcode
!
11 // CHECK
: 0xd600 ; stp x19
, lr, [sp
, #0]
12 // CHECK
: 0x01 ;
sub sp
, #16
34 bl "?func3@@YAHPEAH@Z"
42 .long "?func@@YAHXZ"@IMGREL
43 .long "$unwind$func@@YAHXZ"@IMGREL
47 "$unwind$func@@YAHXZ":