1 // RUN
: llvm-mc
-filetype
=obj
-triple x86_64-pc-linux-gnu
%s
-o
- | llvm-readobj
--symbols | FileCheck
%s
3 // Test that this produces
a weak undefined symbol.
8 // And that bar is after all local symbols
and has non-zero value.
14 // CHECK-NEXT
: Value
: 0x4
15 // CHECK-NEXT
: Size
: 0
16 // CHECK-NEXT
: Binding
: Weak
17 // CHECK-NEXT
: Type
: None
18 // CHECK-NEXT
: Other
: 0
19 // CHECK-NEXT
: Section
: .text
23 // CHECK-NEXT
: Value
: 0x0
24 // CHECK-NEXT
: Size
: 0
25 // CHECK-NEXT
: Binding
: Weak
26 // CHECK-NEXT
: Type
: None
27 // CHECK-NEXT
: Other
: 0
28 // CHECK-NEXT
: Section
: Undefined
(0x0)