34 lines · plain
1// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj --symbols - | FileCheck %s2//3// Check that the section itself is aligned.4 5 .byte 06 7.zerofill __DATA,__bss,_a,1,08.zerofill __DATA,__bss,_b,4,49 10// CHECK: File: <stdin>11// CHECK: Format: Mach-O 32-bit i38612// CHECK: Arch: i38613// CHECK: AddressSize: 32bit14// 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: 0x1023// 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: 0x2032// CHECK: }33// CHECK: ]34