[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710)
[llvm-project.git] / llvm / test / Object / X86 / nm-print-size.s
blobda67f1fcba236e389133e7b8038edde61f085c13
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*
15 .section foo
17 .size a, 0xffffffffffffffff
19 .global b
22 .comm c,4,8
24 d = 0xffffffffffffffff