1 // The purpose of this test is to verify that bss sections are emitted correctly. 2 3 // RUN: llvm-mc -filetype=obj -triple i686-apple-darwin9 %s | llvm-readobj -s | FileCheck %s 4 // RUN: llvm-mc -filetype=obj -triple x86_64-apple-darwin9 %s | llvm-readobj -s | FileCheck %s 5 6 .bss 7 .globl _g0 8 .align 4 9 _g0: 10 .long 0 11 12 // CHECK: Name: __bss (5F 5F 62 73 73 00 00 00 00 00 00 00 00 00 00 00) 13 // CHECK-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00) 14 // CHECK-NEXT: Address: 0x0 15 // CHECK-NEXT: Size: 0x4 16 // CHECK-NEXT: Offset: 0 17 // CHECK-NEXT: Alignment: 4 18