1 ; RUN: llvm-ml %s /Fo - | llvm-readobj --syms - | FileCheck %s
16 ; CHECK-NEXT: Value: 0
17 ; CHECK-NEXT: Section: IMAGE_SYM_UNDEFINED (0)
18 ; CHECK-NEXT: BaseType: Null
19 ; CHECK-NEXT: ComplexType: Null
20 ; CHECK-NEXT: StorageClass: WeakExternal
21 ; CHECK-NEXT: AuxSymbolCount: 1
22 ; CHECK-NEXT: AuxWeakExternal {
23 ; CHECK-NEXT: Linked: proc1
24 ; CHECK-NEXT: Search: Alias
31 ; CHECK-NEXT: Value: 0
32 ; CHECK-NEXT: Section: IMAGE_SYM_UNDEFINED (0)
33 ; CHECK-NEXT: BaseType: Null
34 ; CHECK-NEXT: ComplexType: Null
35 ; CHECK-NEXT: StorageClass: WeakExternal
36 ; CHECK-NEXT: AuxSymbolCount: 1
37 ; CHECK-NEXT: AuxWeakExternal {
38 ; CHECK-NEXT: Linked: proc2
39 ; CHECK-NEXT: Search: Alias
46 ; CHECK-NEXT: Value: 0
47 ; CHECK-NEXT: Section: IMAGE_SYM_UNDEFINED (0)
48 ; CHECK-NEXT: BaseType: Null
49 ; CHECK-NEXT: ComplexType: Null
50 ; CHECK-NEXT: StorageClass: WeakExternal
51 ; CHECK-NEXT: AuxSymbolCount: 1
52 ; CHECK-NEXT: AuxWeakExternal {
53 ; CHECK-NEXT: Linked: foo
54 ; CHECK-NEXT: Search: Alias
65 ; CHECK-NEXT: Value: 0
66 ; CHECK-NEXT: Section: IMAGE_SYM_UNDEFINED (0)
67 ; CHECK-NEXT: BaseType: Null
68 ; CHECK-NEXT: ComplexType: Null
69 ; CHECK-NEXT: StorageClass: WeakExternal
70 ; CHECK-NEXT: AuxSymbolCount: 1
71 ; CHECK-NEXT: AuxWeakExternal {
72 ; CHECK-NEXT: Linked: bar
73 ; CHECK-NEXT: Search: Alias
80 ; CHECK-NEXT: Value: 0
81 ; CHECK-NEXT: Section: IMAGE_SYM_UNDEFINED (0)
82 ; CHECK-NEXT: BaseType: Null
83 ; CHECK-NEXT: ComplexType: Null
84 ; CHECK-NEXT: StorageClass: WeakExternal
85 ; CHECK-NEXT: AuxSymbolCount: 1
86 ; CHECK-NEXT: AuxWeakExternal {
87 ; CHECK-NEXT: Linked: t2
88 ; CHECK-NEXT: Search: Alias