1 # RUN: yaml2obj %s -o %t.obj
4 # RUN: llvm-ar crs %t.a %t.obj
5 # RUN: llvm-nm --print-armap %t.a | FileCheck %s
8 # CHECK-NEXT: WeakSearchAlias in coff-weak.yaml.tmp.obj
13 Machine: IMAGE_FILE_MACHINE_UNKNOWN
17 Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
20 - Name: NormalUndefined
23 SimpleType: IMAGE_SYM_TYPE_NULL
24 ComplexType: IMAGE_SYM_DTYPE_NULL
25 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
26 - Name: WeakSearchAlias
29 SimpleType: IMAGE_SYM_TYPE_NULL
30 ComplexType: IMAGE_SYM_DTYPE_NULL
31 StorageClass: IMAGE_SYM_CLASS_WEAK_EXTERNAL
34 Characteristics: IMAGE_WEAK_EXTERN_SEARCH_ALIAS
35 - Name: WeakSearchLibrary
38 SimpleType: IMAGE_SYM_TYPE_NULL
39 ComplexType: IMAGE_SYM_DTYPE_NULL
40 StorageClass: IMAGE_SYM_CLASS_WEAK_EXTERNAL
43 Characteristics: IMAGE_WEAK_EXTERN_SEARCH_LIBRARY
44 - Name: WeakSearchNolibrary
47 SimpleType: IMAGE_SYM_TYPE_NULL
48 ComplexType: IMAGE_SYM_DTYPE_NULL
49 StorageClass: IMAGE_SYM_CLASS_WEAK_EXTERNAL
52 Characteristics: IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY