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:
7 CHECK-NEXT: Name@0x145 {
8 CHECK-NEXT: String: 0x00000066 "A"
10 CHECK-NEXT: Atom[0]: 0x0000012d
11 CHECK-NEXT: Atom[1]: 0x0013
12 CHECK-NEXT: Atom[2]: 0x02
13 CHECK-NEXT: Atom[3]: 0x0b87b15a
18 CHECK: .apple_objc contents:
20 CHECK-NEXT: Name@0x38 {
21 CHECK-NEXT: String: 0x00000066 "A"
23 CHECK-NEXT: Atom[0]: 0x00000027
26 CHECK-NEXT: Atom[0]: 0x0000007a
29 CHECK: Hash 0x3fa0f4b5
30 CHECK-NEXT: Name@0x4c {
31 CHECK-NEXT: String: 0x0000009d "A(Category)"
33 CHECK-NEXT: Atom[0]: 0x0000007a