1 RUN: rm -rf %t.dir && mkdir -p %t.dir/tmp
2 RUN: cp %p/../Inputs/main.yaml %t.dir
3 RUN: cp %p/../Inputs/test.yaml %t.dir
4 RUN: cp %p/../Inputs/reflection_metadata.yaml %t.dir
5 RUN: yaml2obj %p/../Inputs/main.yaml -o %t.dir/main
6 RUN: yaml2obj %p/../Inputs/test.yaml -o %t.dir/tmp/test-1.o
7 RUN: yaml2obj %p/../Inputs/reflection_metadata.yaml -o %t.dir/tmp/reflection_metadata-1.o
9 RUN: dsymutil -oso-prepend-path=%t.dir %t.dir/main -o %t.dir/main.dSYM
10 RUN: llvm-objdump -s %t.dir/main.dSYM/Contents/Resources/DWARF/main | FileCheck %s
12 RUN: dsymutil --linker parallel -oso-prepend-path=%t.dir %t.dir/main -o %t.dir/main.dSYM
13 RUN: llvm-objdump -s %t.dir/main.dSYM/Contents/Resources/DWARF/main | FileCheck %s
15 REQUIRES: host-byteorder-little-endian
18 CHECK: Contents of section __DWARF,__swift5_assocty:
19 CHECK-NEXT: 10000e000 00000000 fcffffff 01000000 08000000 ................
20 CHECK-NEXT: 10000e010 f0ffffff ecffffff 00000000 fcffffff ................
21 CHECK-NEXT: 10000e020 01000000 08000000 f0ffffff ecffffff ................
23 CHECK: Contents of section __DWARF,__swift5_fieldmd:
24 CHECK-NEXT: 10000e030 00000000 00000000 00000c00 01000000 ................
25 CHECK-NEXT: 10000e040 02000000 ecffffff e8ffffff 00000000 ................
26 CHECK-NEXT: 10000e050 00000000 00000c00 00000000 00000000 ................
27 CHECK-NEXT: 10000e060 00000000 04000c00 00000000 00000000 ................
28 CHECK-NEXT: 10000e070 00000000 01000c00 03000000 00000000 ................
29 CHECK-NEXT: 10000e080 ecffffff e8ffffff 00000000 e0ffffff ................
30 CHECK-NEXT: 10000e090 dcffffff 00000000 d4ffffff d0ffffff ................
31 CHECK-NEXT: 10000e0a0 00000000 00000000 00000c00 01000000 ................
32 CHECK-NEXT: 10000e0b0 02000000 ecffffff e8ffffff 00000000 ................
33 CHECK-NEXT: 10000e0c0 00000000 00000c00 00000000 00000000 ................
34 CHECK-NEXT: 10000e0d0 00000000 03000c00 02000000 00000000 ................
35 CHECK-NEXT: 10000e0e0 ecffffff e8ffffff 00000000 e0ffffff ................
36 CHECK-NEXT: 10000e0f0 dcffffff 00000000 00000000 01000c00 ................
37 CHECK-NEXT: 10000e100 04000000 00000000 ecffffff e8ffffff ................
38 CHECK-NEXT: 10000e110 00000000 e0ffffff dcffffff 00000000 ................
39 CHECK-NEXT: 10000e120 d4ffffff d0ffffff 00000000 c8ffffff ................
40 CHECK-NEXT: 10000e130 c4ffffff 00000000 00000000 00000c00 ................
41 CHECK-NEXT: 10000e140 00000000 00000000 00000000 02000c00 ................
42 CHECK-NEXT: 10000e150 01000000 00000000 ecffffff e8ffffff ................
44 CHECK: Contents of section __DWARF,__swift5_reflstr:
45 CHECK-NEXT: 10000e160 496e6e65 7200696e 6e657200 496e6e65 Inner.inner.Inne
46 CHECK-NEXT: 10000e170 72006900 6d73006d 6500696e 6e657200 r.i.ms.me.inner.
47 CHECK-NEXT: 10000e180 43004900 74006d67 73006d67 65004743 C.I.t.mgs.mge.GC