From 288a7d5deb2f5fdd86a6948ec68cbcaa353bb0b5 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 30 Dec 2014 05:09:17 +0000 Subject: [PATCH] Simplify test a bit. It looks like the original intent was to check which symbols were created. With macho-dump the sections were being checked just to match which symbol was in which section. llvm-objdump prints the section a symbol is in. llvm-svn: 224980 --- test/MC/MachO/x86_64-symbols.s | 519 +-------------------------------- 1 file changed, 3 insertions(+), 516 deletions(-) diff --git a/test/MC/MachO/x86_64-symbols.s b/test/MC/MachO/x86_64-symbols.s index e0b3d4b50d0..e2dcc440fb5 100644 --- a/test/MC/MachO/x86_64-symbols.s +++ b/test/MC/MachO/x86_64-symbols.s @@ -1,4 +1,4 @@ -// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -s -t | FileCheck %s +// RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s .text L0: @@ -121,521 +121,8 @@ D38: //L39: //D39: -// CHECK: Sections [ -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 0 -// CHECK-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x800000) -// CHECK-NEXT: PureInstructions (0x800000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 1 -// CHECK-NEXT: Name: __const (5F 5F 63 6F 6E 73 74 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 2 -// CHECK-NEXT: Name: __static_const (5F 5F 73 74 61 74 69 63 5F 63 6F 6E 73 74 00 00) -// CHECK-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 3 -// CHECK-NEXT: Name: __cstring (5F 5F 63 73 74 72 69 6E 67 00 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: ExtReloc (0x2) -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 4 -// CHECK-NEXT: Name: __literal4 (5F 5F 6C 69 74 65 72 61 6C 34 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 2 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x3 -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 5 -// CHECK-NEXT: Name: __literal8 (5F 5F 6C 69 74 65 72 61 6C 38 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 3 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: SomeInstructions (0x4) -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 6 -// CHECK-NEXT: Name: __literal16 (5F 5F 6C 69 74 65 72 61 6C 31 36 00 00 00 00 00) -// CHECK-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 4 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0xE -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 7 -// CHECK-NEXT: Name: __constructor (5F 5F 63 6F 6E 73 74 72 75 63 74 6F 72 00 00 00) -// CHECK-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 8 -// CHECK-NEXT: Name: __destructor (5F 5F 64 65 73 74 72 75 63 74 6F 72 00 00 00 00) -// CHECK-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 9 -// CHECK-NEXT: Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 10 -// CHECK-NEXT: Name: __static_data (5F 5F 73 74 61 74 69 63 5F 64 61 74 61 00 00 00) -// CHECK-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 11 -// CHECK-NEXT: Name: __dyld (5F 5F 64 79 6C 64 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 12 -// CHECK-NEXT: Name: __mod_init_func (5F 5F 6D 6F 64 5F 69 6E 69 74 5F 66 75 6E 63 00) -// CHECK-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 2 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x9 -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 13 -// CHECK-NEXT: Name: __mod_term_func (5F 5F 6D 6F 64 5F 74 65 72 6D 5F 66 75 6E 63 00) -// CHECK-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 2 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0xA -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 14 -// CHECK-NEXT: Name: __const (5F 5F 63 6F 6E 73 74 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 15 -// CHECK-NEXT: Name: __class (5F 5F 63 6C 61 73 73 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 16 -// CHECK-NEXT: Name: __meta_class (5F 5F 6D 65 74 61 5F 63 6C 61 73 73 00 00 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 17 -// CHECK-NEXT: Name: __cat_cls_meth (5F 5F 63 61 74 5F 63 6C 73 5F 6D 65 74 68 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 18 -// CHECK-NEXT: Name: __cat_inst_meth (5F 5F 63 61 74 5F 69 6E 73 74 5F 6D 65 74 68 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 19 -// CHECK-NEXT: Name: __protocol (5F 5F 70 72 6F 74 6F 63 6F 6C 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 20 -// CHECK-NEXT: Name: __string_object (5F 5F 73 74 72 69 6E 67 5F 6F 62 6A 65 63 74 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 21 -// CHECK-NEXT: Name: __cls_meth (5F 5F 63 6C 73 5F 6D 65 74 68 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 22 -// CHECK-NEXT: Name: __inst_meth (5F 5F 69 6E 73 74 5F 6D 65 74 68 00 00 00 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 23 -// CHECK-NEXT: Name: __cls_refs (5F 5F 63 6C 73 5F 72 65 66 73 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 2 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x5 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 24 -// CHECK-NEXT: Name: __message_refs (5F 5F 6D 65 73 73 61 67 65 5F 72 65 66 73 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 2 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x5 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 25 -// CHECK-NEXT: Name: __symbols (5F 5F 73 79 6D 62 6F 6C 73 00 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 26 -// CHECK-NEXT: Name: __category (5F 5F 63 61 74 65 67 6F 72 79 00 00 00 00 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 27 -// CHECK-NEXT: Name: __class_vars (5F 5F 63 6C 61 73 73 5F 76 61 72 73 00 00 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 28 -// CHECK-NEXT: Name: __instance_vars (5F 5F 69 6E 73 74 61 6E 63 65 5F 76 61 72 73 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 29 -// CHECK-NEXT: Name: __module_info (5F 5F 6D 6F 64 75 6C 65 5F 69 6E 66 6F 00 00 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: 0x0 -// CHECK-NEXT: Attributes [ (0x100000) -// CHECK-NEXT: NoDeadStrip (0x100000) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: Section { -// CHECK-NEXT: Index: 30 -// CHECK-NEXT: Name: __selector_strs (5F 5F 73 65 6C 65 63 74 6F 72 5F 73 74 72 73 00) -// CHECK-NEXT: Segment: __OBJC (5F 5F 4F 42 4A 43 00 00 00 00 00 00 00 00 00 00) -// CHECK-NEXT: Address: 0x0 -// CHECK-NEXT: Size: 0x0 -// CHECK-NEXT: Offset: 2688 -// CHECK-NEXT: Alignment: 0 -// CHECK-NEXT: RelocationOffset: 0x0 -// CHECK-NEXT: RelocationCount: 0 -// CHECK-NEXT: Type: ExtReloc (0x2) -// CHECK-NEXT: Attributes [ (0x0) -// CHECK-NEXT: ] -// CHECK-NEXT: Reserved1: 0x0 -// CHECK-NEXT: Reserved2: 0x0 -// CHECK-NEXT: } -// CHECK-NEXT: ] -// CHECK-NEXT: Symbols [ + +// CHECK: Symbols [ // CHECK-NEXT: Symbol { // CHECK-NEXT: Name: D0 (139) // CHECK-NEXT: Type: Section (0xE)