Fix printing of common symbols.
[oota-llvm.git] / test / Object / X86 / nm-print-size.s
1 // RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-linux
2 // RUN: llvm-nm --print-size %t | FileCheck %s
3
4 // CHECK: 0000000000000000 ffffffffffffffff n a
5 // CHECK: 0000000000000000 0000000000000000 N b
6 // CHECK: 0000000000000004 0000000000000004 C c
7
8         .section foo
9 a:
10         .size a, 0xffffffffffffffff
11
12         .global b
13 b:
14
15         .comm c,4,8