diff options
Diffstat (limited to 'test/MC/MachO/zerofill-sect-align.s')
-rw-r--r-- | test/MC/MachO/zerofill-sect-align.s | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/test/MC/MachO/zerofill-sect-align.s b/test/MC/MachO/zerofill-sect-align.s index 5d7730f439e99..d950b7f103c26 100644 --- a/test/MC/MachO/zerofill-sect-align.s +++ b/test/MC/MachO/zerofill-sect-align.s @@ -1,4 +1,4 @@ -// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump | FileCheck %s +// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s // // Check that the section itself is aligned. @@ -7,9 +7,27 @@ .zerofill __DATA,__bss,_a,1,0 .zerofill __DATA,__bss,_b,4,4 -// CHECK: # Symbol 0 -// CHECK: ('n_value', 16) -// CHECK: ('_string', '_a') -// CHECK: # Symbol 1 -// CHECK: ('n_value', 32) -// CHECK: ('_string', '_b') +// CHECK: File: <stdin> +// CHECK: Format: Mach-O 32-bit i386 +// CHECK: Arch: i386 +// CHECK: AddressSize: 32bit +// CHECK: Symbols [ +// CHECK: Symbol { +// CHECK: Name: _a (4) +// CHECK: Type: Section (0xE) +// CHECK: Section: __bss (0x2) +// CHECK: RefType: UndefinedNonLazy (0x0) +// CHECK: Flags [ (0x0) +// CHECK: ] +// CHECK: Value: 0x10 +// CHECK: } +// CHECK: Symbol { +// CHECK: Name: _b (1) +// CHECK: Type: Section (0xE) +// CHECK: Section: __bss (0x2) +// CHECK: RefType: UndefinedNonLazy (0x0) +// CHECK: Flags [ (0x0) +// CHECK: ] +// CHECK: Value: 0x20 +// CHECK: } +// CHECK: ] |