2019-05-01 17:28:24 +08:00
|
|
|
// RUN: llvm-mc -triple i386-pc-linux-gnu %s -filetype=obj -o - | llvm-readobj --symbols | FileCheck %s
|
2012-09-08 01:25:13 +08:00
|
|
|
|
|
|
|
.lcomm A, 5
|
|
|
|
.lcomm B, 32 << 20
|
|
|
|
|
2013-04-12 12:06:46 +08:00
|
|
|
// CHECK: Symbol {
|
2014-05-01 00:25:02 +08:00
|
|
|
// CHECK: Name: A
|
2013-04-12 12:06:46 +08:00
|
|
|
// CHECK-NEXT: Value: 0x0
|
|
|
|
// CHECK-NEXT: Size: 5
|
|
|
|
// CHECK-NEXT: Binding: Local
|
|
|
|
// CHECK-NEXT: Type: Object
|
|
|
|
// CHECK-NEXT: Other: 0
|
2015-04-29 21:55:07 +08:00
|
|
|
// CHECK-NEXT: Section: .bss
|
2013-04-12 12:06:46 +08:00
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK: Symbol {
|
2014-05-01 00:25:02 +08:00
|
|
|
// CHECK: Name: B
|
2013-04-12 12:06:46 +08:00
|
|
|
// CHECK-NEXT: Value: 0x5
|
|
|
|
// CHECK-NEXT: Size: 33554432
|
|
|
|
// CHECK-NEXT: Binding: Local
|
|
|
|
// CHECK-NEXT: Type: Object
|
|
|
|
// CHECK-NEXT: Other: 0
|
2015-04-29 21:55:07 +08:00
|
|
|
// CHECK-NEXT: Section: .bss
|
2013-04-12 12:06:46 +08:00
|
|
|
// CHECK-NEXT: }
|