Home | History | Annotate | Download | only in MachO
      1 // RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -t | FileCheck %s
      2 //
      3 // Check that the section itself is aligned.
      4 
      5         .byte 0
      6 
      7 .zerofill __DATA,__bss,_a,1,0
      8 .zerofill __DATA,__bss,_b,4,4
      9 
     10 // CHECK: File: <stdin>
     11 // CHECK: Format: Mach-O 32-bit i386
     12 // CHECK: Arch: i386
     13 // CHECK: AddressSize: 32bit
     14 // CHECK: Symbols [
     15 // CHECK:   Symbol {
     16 // CHECK:     Name: _a (4)
     17 // CHECK:     Type: Section (0xE)
     18 // CHECK:     Section: __bss (0x2)
     19 // CHECK:     RefType: UndefinedNonLazy (0x0)
     20 // CHECK:     Flags [ (0x0)
     21 // CHECK:     ]
     22 // CHECK:     Value: 0x10
     23 // CHECK:   }
     24 // CHECK:   Symbol {
     25 // CHECK:     Name: _b (1)
     26 // CHECK:     Type: Section (0xE)
     27 // CHECK:     Section: __bss (0x2)
     28 // CHECK:     RefType: UndefinedNonLazy (0x0)
     29 // CHECK:     Flags [ (0x0)
     30 // CHECK:     ]
     31 // CHECK:     Value: 0x20
     32 // CHECK:   }
     33 // CHECK: ]
     34