X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=test%2FMC%2FMachO%2Fzerofill-4.s;h=b99e6289691ed03774e1af99cbf045eed9b899a9;hp=d9c987c9b65af04d82dcd4b577979b4ec3ad3ad5;hb=537f16ebe4822f2ebb68319250c84f537caa0ec5;hpb=b6a09c74282cbdb298252a7294aec23c4ee9ce06 diff --git a/test/MC/MachO/zerofill-4.s b/test/MC/MachO/zerofill-4.s index d9c987c9b65..b99e6289691 100644 --- a/test/MC/MachO/zerofill-4.s +++ b/test/MC/MachO/zerofill-4.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 .zerofill __DATA,__bss,_fill0,1,0 .zerofill __DATA,__bss,_a,4,2 @@ -9,27 +9,81 @@ .zerofill __DATA,__bss,_fill3,1,0 .zerofill __DATA,__bss,_d,4,5 -// CHECK: # Symbol 0 -// CHECK: ('n_value', 0) -// CHECK: ('_string', '_fill0') -// CHECK: # Symbol 1 -// CHECK: ('n_value', 4) -// CHECK: ('_string', '_a') -// CHECK: # Symbol 2 -// CHECK: ('n_value', 8) -// CHECK: ('_string', '_fill1') -// CHECK: # Symbol 3 -// CHECK: ('n_value', 16) -// CHECK: ('_string', '_b') -// CHECK: # Symbol 4 -// CHECK: ('n_value', 20) -// CHECK: ('_string', '_fill2') -// CHECK: # Symbol 5 -// CHECK: ('n_value', 32) -// CHECK: ('_string', '_c') -// CHECK: # Symbol 6 -// CHECK: ('n_value', 36) -// CHECK: ('_string', '_fill3') -// CHECK: # Symbol 7 -// CHECK: ('n_value', 64) -// CHECK: ('_string', '_d') +// CHECK: File: +// CHECK: Format: Mach-O 32-bit i386 +// CHECK: Arch: i386 +// CHECK: AddressSize: 32bit +// CHECK: Symbols [ +// CHECK: Symbol { +// CHECK: Name: _fill0 (34) +// CHECK: Type: Section (0xE) +// CHECK: Section: __bss (0x2) +// CHECK: RefType: UndefinedNonLazy (0x0) +// CHECK: Flags [ (0x0) +// CHECK: ] +// CHECK: Value: 0x0 +// CHECK: } +// CHECK: Symbol { +// CHECK: Name: _a (10) +// CHECK: Type: Section (0xE) +// CHECK: Section: __bss (0x2) +// CHECK: RefType: UndefinedNonLazy (0x0) +// CHECK: Flags [ (0x0) +// CHECK: ] +// CHECK: Value: 0x4 +// CHECK: } +// CHECK: Symbol { +// CHECK: Name: _fill1 (27) +// CHECK: Type: Section (0xE) +// CHECK: Section: __bss (0x2) +// CHECK: RefType: UndefinedNonLazy (0x0) +// CHECK: Flags [ (0x0) +// CHECK: ] +// CHECK: Value: 0x8 +// CHECK: } +// CHECK: Symbol { +// CHECK: Name: _b (7) +// CHECK: Type: Section (0xE) +// CHECK: Section: __bss (0x2) +// CHECK: RefType: UndefinedNonLazy (0x0) +// CHECK: Flags [ (0x0) +// CHECK: ] +// CHECK: Value: 0x10 +// CHECK: } +// CHECK: Symbol { +// CHECK: Name: _fill2 (20) +// CHECK: Type: Section (0xE) +// CHECK: Section: __bss (0x2) +// CHECK: RefType: UndefinedNonLazy (0x0) +// CHECK: Flags [ (0x0) +// CHECK: ] +// CHECK: Value: 0x14 +// CHECK: } +// CHECK: Symbol { +// CHECK: Name: _c (4) +// CHECK: Type: Section (0xE) +// CHECK: Section: __bss (0x2) +// CHECK: RefType: UndefinedNonLazy (0x0) +// CHECK: Flags [ (0x0) +// CHECK: ] +// CHECK: Value: 0x20 +// CHECK: } +// CHECK: Symbol { +// CHECK: Name: _fill3 (13) +// CHECK: Type: Section (0xE) +// CHECK: Section: __bss (0x2) +// CHECK: RefType: UndefinedNonLazy (0x0) +// CHECK: Flags [ (0x0) +// CHECK: ] +// CHECK: Value: 0x24 +// CHECK: } +// CHECK: Symbol { +// CHECK: Name: _d (1) +// CHECK: Type: Section (0xE) +// CHECK: Section: __bss (0x2) +// CHECK: RefType: UndefinedNonLazy (0x0) +// CHECK: Flags [ (0x0) +// CHECK: ] +// CHECK: Value: 0x40 +// CHECK: } +// CHECK: ]