[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
[llvm-complete.git] / test / tools / dsymutil / X86 / update-one-CU.test
blob09f49ca89c48599372fa1dcb26b361915d709e92
1 RUN: dsymutil -oso-prepend-path=%p/.. %p/../Inputs/objc.macho.x86_64 -o %t.dSYM
2 RUN: dsymutil -update %t.dSYM
3 RUN: llvm-dwarfdump -apple-types -apple-objc %t.dSYM | FileCheck %s
5 CHECK: .apple_types contents:
6 CHECK: Hash 0x2b5e6 [
7 CHECK-NEXT:    Name@0x145 {
8 CHECK-NEXT:      String: 0x00000066 "A"
9 CHECK-NEXT:      Data 0 [
10 CHECK-NEXT:        Atom[0]: 0x0000012d
11 CHECK-NEXT:        Atom[1]: 0x0013
12 CHECK-NEXT:        Atom[2]: 0x02
13 CHECK-NEXT:        Atom[3]: 0x0b87b15a
14 CHECK-NEXT:      ]
15 CHECK-NEXT:    }
16 CHECK-NEXT:  ]
18 CHECK: .apple_objc contents:
19 CHECK: Hash 0x2b5e6
20 CHECK-NEXT: Name@0x38 {
21 CHECK-NEXT:   String: 0x00000066 "A"
22 CHECK-NEXT:   Data 0 [
23 CHECK-NEXT:     Atom[0]: 0x00000027
24 CHECK-NEXT:   ]
25 CHECK-NEXT:   Data 1 [
26 CHECK-NEXT:     Atom[0]: 0x0000007a
27 CHECK-NEXT:   ]
28 CHECK-NEXT: }
29 CHECK: Hash 0x3fa0f4b5
30 CHECK-NEXT: Name@0x4c {
31 CHECK-NEXT:   String: 0x0000009d "A(Category)"
32 CHECK-NEXT:   Data 0 [
33 CHECK-NEXT:     Atom[0]: 0x0000007a
34 CHECK-NEXT:   ]
35 CHECK-NEXT: }