1 ## Check that error handling for going past the unwind data works.
2 ## .xdata below contains bad opcodes in the last word. The last byte, 0xe0,
3 ## indicates that we have come across alloc_l, which requires 4 bytes. In this
4 ## case, unwind code processing will go past the allocated unwind data.
6 // REQUIRES
: aarch64-registered-target
7 // RUN
: llvm-mc
-filetype
=obj
-triple aarch64-windows
%s
-o
- \
8 // RUN
: | llvm-readobj
--unwind
- | FileCheck
%s
11 // CHECK
: Opcode
0xe0 goes past the unwind data
31 bl "?func3@@YAHPEAH@Z"
39 .long "?func@@YAHXZ"@IMGREL
40 .long "$unwind$func@@YAHXZ"@IMGREL
44 "$unwind$func@@YAHXZ":