]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/compact-unwind-basic/test.s
ld64-127.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / compact-unwind-basic / test.s
1 #if __LP64__
2 #define pointer quad
3 #else
4 #define pointer long
5 #endif
6
7
8
9 .text
10
11 _basic:
12 nop
13 nop
14 Lbasicend:
15
16
17 _multi:
18 nop
19 nop
20 Lmulti1:
21 nop
22 Lmulti1a:
23 nop
24 nop
25 Lmulti2:
26 nop
27 Lmultiend:
28
29
30 _person:
31 nop
32 nop
33 Lpersonend:
34
35
36 _person_lsda:
37 nop
38 nop
39 Lpersonlsdaend:
40
41
42 .section __TEXT,__gcc_except_tab
43 _lsda1:
44 .long 1
45 .long 2
46
47
48 .section __LD,__compact_unwind,regular,debug
49
50 .pointer _basic
51 .set L1,Lbasicend-_basic
52 .long L1
53 .long 0
54 .pointer 0
55 .pointer 0
56
57 .pointer _multi
58 .set L2,Lmulti1-_multi
59 .long L2
60 .long 1
61 .pointer 0
62 .pointer 0
63
64 .pointer Lmulti1
65 .set L3,Lmulti2-Lmulti1
66 .long L3
67 .long 2
68 .pointer 0
69 .pointer 0
70
71 .pointer Lmulti2
72 .set L4,Lmultiend-Lmulti2
73 .long L4
74 .long 3
75 .pointer 0
76 .pointer 0
77
78
79 .pointer _person
80 .set L5,Lpersonend-_person
81 .long L5
82 .long 0
83 .pointer _gxx_personality_v0
84 .pointer 0
85
86
87 .pointer _person_lsda
88 .set L6,Lpersonlsdaend-_person_lsda
89 .long L6
90 .long 0
91 .pointer _gxx_personality_v0
92 .pointer _lsda1
93
94
95 .subsections_via_symbols
96
97
98
99