1 // RUN
: llvm-mc
%s
-o
%t -filetype
=obj
-triple
=x86_64-pc-linux
2 // RUN
: llvm-nm
--print-size
%t | FileCheck
%s
3 // RUN
: llvm-nm
-f sysv
%t | FileCheck
-check-prefix
=SYSV
%s
5 // CHECK
: 0000000000000000 ffffffffffffffff n
a
6 // CHECK
: 0000000000000000 0000000000000000 N
b
7 // CHECK
: 0000000000000004 0000000000000004 C c
8 // CHECK
: ffffffffffffffff
0000000000000000 a d
10 // SYSV
: a |
0000000000000000| n | NOTYPE|ffffffffffffffff| |foo
11 // SYSV
: b |
0000000000000000| N | NOTYPE|
0000000000000000| |foo
12 // SYSV
: c |
0000000000000004| C | OBJECT|
0000000000000004| |
*COM
*
13 // SYSV
: d |ffffffffffffffff|
a | NOTYPE|
0000000000000000| |
*ABS*
17 .size a, 0xffffffffffffffff
24 d
= 0xffffffffffffffff