• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// The purpose of this test is to verify that bss sections are emitted correctly.
2
3// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj -s | FileCheck %s
4// RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %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
13// CHECK-NEXT: VirtualSize:     0
14// CHECK-NEXT: VirtualAddress:  0
15// CHECK-NEXT: RawDataSize:     4
16