1 RUN: dsymutil -f -oso-prepend-path=%p/.. %p/../Inputs/objc.macho.x86_64 -o - \
2 RUN: | llvm-dwarfdump -apple-types -apple-objc - | FileCheck %s
4 CHECK: .apple_types contents:
5 CHECK: String: 0x00000066 "A"
7 CHECK-NEXT: Atom[0]: 0x0000012d
8 CHECK-NEXT: Atom[1]: 0x0013 (DW_TAG_structure_type)
9 CHECK-NEXT: Atom[2]: 0x02
10 CHECK-NEXT: Atom[3]: 0x0b87b15a
13 CHECK: .apple_objc contents:
15 CHECK-NEXT: Magic: 0x48415348
16 CHECK-NEXT: Version: 0x1
17 CHECK-NEXT: Hash function: 0x0
18 CHECK-NEXT: Bucket count: 2
19 CHECK-NEXT: Hashes count: 2
20 CHECK-NEXT: HeaderData length: 12
22 CHECK-NEXT: DIE offset base: 0
23 CHECK-NEXT: Number of atoms: 1
26 CHECK-NEXT: Type: DW_ATOM_die_offset
27 CHECK-NEXT: Form: DW_FORM_data4
30 CHECK-NEXT: Bucket 0 [
31 CHECK-NEXT: Hash 0x2b5e6 [
32 CHECK-NEXT: Name@0x38 {
33 CHECK-NEXT: String: 0x00000066 "A"
35 CHECK-NEXT: Atom[0]: 0x00000027
38 CHECK-NEXT: Atom[0]: 0x0000007a
43 CHECK-NEXT: Bucket 1 [
44 CHECK-NEXT: Hash 0x3fa0f4b5 [
45 CHECK-NEXT: Name@0x4c {
46 CHECK-NEXT: String: 0x0000009d "A(Category)"
48 CHECK-NEXT: Atom[0]: 0x0000007a