blob: 4aed80257eae67d57321148581c8154fc45e663b [file] [log] [blame]
Rafael Espindolad7a32ea2015-06-24 10:20:30 +00001// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-linux
2// RUN: llvm-nm --print-size %t | FileCheck %s
3
Rafael Espindola60c1a8c2015-06-25 16:01:53 +00004// CHECK: 0000000000000000 ffffffffffffffff n a
5// CHECK: 0000000000000000 0000000000000000 N b
Rafael Espindola80c33542015-07-06 18:18:44 +00006// CHECK: 0000000000000004 0000000000000004 C c
Rafael Espindolad7a32ea2015-06-24 10:20:30 +00007
Rafael Espindola60c1a8c2015-06-25 16:01:53 +00008 .section foo
Rafael Espindolad7a32ea2015-06-24 10:20:30 +00009a:
10 .size a, 0xffffffffffffffff
Rafael Espindola60c1a8c2015-06-25 16:01:53 +000011
12 .global b
13b:
Rafael Espindola80c33542015-07-06 18:18:44 +000014
15 .comm c,4,8