Move the xscale build attribute test to the proper place and remove the old one.
[oota-llvm.git] / test / tools / llvm-objdump / win64-unwind-data.test
1 // This test checks that the unwind data is dumped by llvm-objdump.
2 // RUN: llvm-objdump -u %p/Inputs/win64-unwind.exe.coff-x86_64 | FileCheck %s
3
4 CHECK:      Unwind info:
5 CHECK:      Function Table:
6 CHECK-NEXT: Start Address: func
7 CHECK-NEXT: End Address: func + 0x001b
8 CHECK-NEXT: Unwind Info Address: .xdata
9 CHECK-NEXT: Version: 1
10 CHECK-NEXT: Flags: 1 UNW_ExceptionHandler
11 CHECK-NEXT: Size of prolog: 18
12 CHECK-NEXT: Number of Codes: 8
13 CHECK-NEXT: Frame register: RBX
14 CHECK-NEXT: Frame offset: 0
15 CHECK-NEXT: Unwind Codes:
16 CHECK-NEXT: 0x12: UOP_SetFPReg
17 CHECK-NEXT: 0x0f: UOP_PushNonVol RBX
18 CHECK-NEXT: 0x0e: UOP_SaveXMM128 XMM8 [0x0000]
19 CHECK-NEXT: 0x09: UOP_SaveNonVol RSI [0x0010]
20 CHECK-NEXT: 0x04: UOP_AllocSmall 24
21 CHECK-NEXT: 0x00: UOP_PushMachFrame w/o error code
22 CHECK:      Function Table:
23 CHECK-NEXT: Start Address: func + 0x0012
24 CHECK-NEXT: End Address: func + 0x0012
25 CHECK-NEXT: Unwind Info Address: .xdata + 0x001c
26 CHECK-NEXT: Version: 1
27 CHECK-NEXT: Flags: 4 UNW_ChainInfo
28 CHECK-NEXT: Size of prolog: 0
29 CHECK-NEXT: Number of Codes: 0
30 CHECK-NEXT: No frame pointer used
31 CHECK:      Function Table:
32 CHECK-NEXT: Start Address: smallFunc
33 CHECK-NEXT: End Address: smallFunc + 0x0001
34 CHECK-NEXT: Unwind Info Address: .xdata + 0x002c
35 CHECK-NEXT: Version: 1
36 CHECK-NEXT: Flags: 0
37 CHECK-NEXT: Size of prolog: 0
38 CHECK-NEXT: Number of Codes: 0
39 CHECK-NEXT: No frame pointer used
40 CHECK:      Function Table:
41 CHECK-NEXT: Start Address: allocFunc
42 CHECK-NEXT: End Address: allocFunc + 0x001d
43 CHECK-NEXT: Unwind Info Address: .xdata + 0x0034
44 CHECK-NEXT: Version: 1
45 CHECK-NEXT: Flags: 0
46 CHECK-NEXT: Size of prolog: 14
47 CHECK-NEXT: Number of Codes: 6
48 CHECK-NEXT: No frame pointer used
49 CHECK-NEXT: Unwind Codes:
50 CHECK-NEXT: 0x0e: UOP_AllocLarge 8454128
51 CHECK-NEXT: 0x07: UOP_AllocLarge 8190
52 CHECK-NEXT: 0x00: UOP_PushMachFrame w/o error code