2015-06-24 18:20:30 +08:00
|
|
|
// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-linux
|
|
|
|
// RUN: llvm-nm --print-size %t | FileCheck %s
|
|
|
|
|
2015-06-26 00:01:53 +08:00
|
|
|
// CHECK: 0000000000000000 ffffffffffffffff n a
|
|
|
|
// CHECK: 0000000000000000 0000000000000000 N b
|
2015-07-07 02:18:44 +08:00
|
|
|
// CHECK: 0000000000000004 0000000000000004 C c
|
2015-07-08 01:12:59 +08:00
|
|
|
// CHECK: ffffffffffffffff 0000000000000000 a d
|
2015-06-24 18:20:30 +08:00
|
|
|
|
2015-06-26 00:01:53 +08:00
|
|
|
.section foo
|
2015-06-24 18:20:30 +08:00
|
|
|
a:
|
|
|
|
.size a, 0xffffffffffffffff
|
2015-06-26 00:01:53 +08:00
|
|
|
|
|
|
|
.global b
|
|
|
|
b:
|
2015-07-07 02:18:44 +08:00
|
|
|
|
|
|
|
.comm c,4,8
|
2015-07-08 01:12:59 +08:00
|
|
|
|
|
|
|
d = 0xffffffffffffffff
|