1// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s | llvm-readobj --symbols | FileCheck %s 2 3.lcomm _a,4,4 4.comm _b, 4, 2 5// _c has size 1 but align 32, the value field is the max of size and align. 6.comm _c, 1, 5 7 8 9// CHECK: Symbol { 10// CHECK: Name: _a 11// CHECK-NEXT: Value: 12// CHECK-NEXT: Section: .bss 13// CHECK-NEXT: BaseType: Null 14// CHECK-NEXT: ComplexType: Null 15// CHECK-NEXT: StorageClass: Static 16// CHECK-NEXT: AuxSymbolCount: 0 17// CHECK-NEXT: } 18 19// CHECK: Symbol { 20// CHECK: Name: _b 21// CHECK-NEXT: Value: 4 22// CHECK-NEXT: Section: IMAGE_SYM_UNDEFINED (0) 23// CHECK-NEXT: BaseType: Null 24// CHECK-NEXT: ComplexType: Null 25// CHECK-NEXT: StorageClass: External 26// CHECK-NEXT: AuxSymbolCount: 0 27// CHECK-NEXT: } 28 29// CHECK: Symbol { 30// CHECK: Name: _c 31// CHECK-NEXT: Value: 32 32// CHECK-NEXT: Section: IMAGE_SYM_UNDEFINED (0) 33// CHECK-NEXT: BaseType: Null 34// CHECK-NEXT: ComplexType: Null 35// CHECK-NEXT: StorageClass: External 36// CHECK-NEXT: AuxSymbolCount: 0 37// CHECK-NEXT: } 38