1 // RUN
: llvm-mc
-filetype
=obj
-triple x86_64-pc-linux-gnu
%s
-o
%t
2 // RUN
: llvm-readobj
--symbols
%t | FileCheck
--check-prefix
=SYMBOLS
%s
3 // RUN
: llvm-nm
%t | FileCheck
--check-prefix
=NM
%s
5 // Test that symbol
a has
a section that could
be confused with common
(0xFFF2)
7 // SYMBOLS-NEXT
: Value
: 0x0
8 // SYMBOLS-NEXT
: Size
: 0
9 // SYMBOLS-NEXT
: Binding
: Local
(0x0)
10 // SYMBOLS-NEXT
: Type
: None
(0x0)
11 // SYMBOLS-NEXT
: Other
: 0
12 // SYMBOLS-NEXT
: Section
: bar
(0xFFF2)
15 // Test that we don
't get confused
16 // NM: 0000000000000000 r a
18 .macro gen_sections4 x
25 .macro gen_sections8 x
30 .macro gen_sections16 x
35 .macro gen_sections32 x
40 .macro gen_sections64 x
45 .macro gen_sections128 x
50 .macro gen_sections256 x
55 .macro gen_sections512 x
60 .macro gen_sections1024 x
65 .macro gen_sections2048 x
70 .macro gen_sections4096 x
75 .macro gen_sections8192 x
80 .macro gen_sections16384 x
85 .macro gen_sections32768 x