view test/MC/MachO/zerofill-sect-align.s @ 85:5e5d649e25d2

Update LLVM 3.7
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Thu, 19 Feb 2015 15:19:25 +0900
parents 95c75e76d11b
children afa8332a0e37
line wrap: on
line source

// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump | FileCheck %s
//
// Check that the section itself is aligned.

        .byte 0
        
.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')