Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-readobj / COFF / arm64-packed-epilog.s
blobc3bfe5a9cf5594b394f207edd58f28d380deb621
1 // REQUIRES: aarch64-registered-target
2 // RUN: llvm-mc -filetype=obj -triple aarch64-windows %s -o %t.o
3 // RUN: llvm-readobj --unwind %t.o | FileCheck %s
5 // CHECK: ExceptionData {
6 // CHECK-NEXT: FunctionLength: 4
7 // CHECK-NEXT: Version: 0
8 // CHECK-NEXT: ExceptionData: Yes
9 // CHECK-NEXT: EpiloguePacked: Yes
10 // CHECK-NEXT: EpilogueOffset: 0
11 // CHECK-NEXT: ByteCodeLength: 4
12 // CHECK-NEXT: Prologue [
13 // CHECK-NEXT: 0xe4 ; end
14 // CHECK-NEXT: ]
15 // CHECK-NEXT: ExceptionHandler [
16 // CHECK-NEXT: Routine: 0x11223344
17 // CHECK-NEXT: Parameter: 0x55667788
18 // CHECK-NEXT: ]
20 .section .pdata,"dr"
21 .long func@IMGREL
22 .long "$unwind$func"@IMGREL
24 .text
25 .globl func
26 func:
27 ret
29 .section .xdata,"dr"
30 "$unwind$func":
31 .byte 0x01, 0x00, 0x30, 0x08
32 .byte 0xe4, 0xe3, 0xe3, 0xe3
33 .byte 0x44, 0x33, 0x22, 0x11
34 .byte 0x88, 0x77, 0x66, 0x55