[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / COFF / weak-val.s
blobcb5872b057eb0f9c003cec1215006fc072055b27
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-win32 %s -o %t.o
2 // RUN: llvm-readobj --symbols %t.o | FileCheck %s
4 // test that b and .weak.b have the correct values.
6 .data
7 .long 42
8 .weak b
9 b:
10 .long 42
12 // CHECK: Symbol {
13 // CHECK: Name: b
14 // CHECK-NEXT: Value: 0
15 // CHECK-NEXT: Section: IMAGE_SYM_UNDEFINED (0)
16 // CHECK-NEXT: BaseType: Null (0x0)
17 // CHECK-NEXT: ComplexType: Null (0x0)
18 // CHECK-NEXT: StorageClass: WeakExternal (0x69)
19 // CHECK-NEXT: AuxSymbolCount: 1
20 // CHECK-NEXT: AuxWeakExternal {
21 // CHECK-NEXT: Linked: .weak.b.default (8)
22 // CHECK-NEXT: Search: Alias (0x3)
23 // CHECK-NEXT: }
24 // CHECK-NEXT: }
25 // CHECK-NEXT: Symbol {
26 // CHECK-NEXT: Name: .weak.b.default
27 // CHECK-NEXT: Value: 4
28 // CHECK-NEXT: Section: .data (2)
29 // CHECK-NEXT: BaseType: Null (0x0)
30 // CHECK-NEXT: ComplexType: Null (0x0)
31 // CHECK-NEXT: StorageClass: External (0x2)
32 // CHECK-NEXT: AuxSymbolCount: 0
33 // CHECK-NEXT: }