Home | History | Annotate | Download | only in COFF
      1 // The purpose of this test is to verify that bss sections are emited correctly.
      2 
      3 // RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | coff-dump.py | FileCheck %s
      4 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s | coff-dump.py | 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: SizeOfRawData  = 4
     16