2014-01-25 01:20:08 +08:00
|
|
|
// The purpose of this test is to verify that bss sections are emitted correctly.
|
2011-04-25 15:11:23 +08:00
|
|
|
|
2013-04-12 12:06:46 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -s | FileCheck %s
|
|
|
|
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | llvm-readobj -s | FileCheck %s
|
2011-04-25 15:11:23 +08:00
|
|
|
|
|
|
|
.bss
|
|
|
|
.globl _g0
|
|
|
|
.align 4
|
|
|
|
_g0:
|
|
|
|
.long 0
|
|
|
|
|
2013-04-12 12:06:46 +08:00
|
|
|
// CHECK: Name: .bss
|
|
|
|
// CHECK-NEXT: VirtualSize: 0
|
|
|
|
// CHECK-NEXT: VirtualAddress: 0
|
|
|
|
// CHECK-NEXT: RawDataSize: 4
|