[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / tools / llvm-ar / coff-weak.yaml
blob6643fbfd77b291a93f582471d9f1655827a6347e
1 # RUN: yaml2obj %s -o %t.obj
3 # RUN: rm -f %t.ar
4 # RUN: llvm-ar crs %t.a %t.obj
5 # RUN: llvm-nm --print-armap %t.a | FileCheck %s
7 # CHECK: Archive map
8 # CHECK-NEXT: WeakSearchAlias in coff-weak.yaml.tmp.obj
9 # CHECK-EMPTY:
11 --- !COFF
12 header:
13   Machine:         IMAGE_FILE_MACHINE_UNKNOWN
14   Characteristics: [  ]
15 sections:
16   - Name:            .drectve
17     Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ]
18     SectionData:     ''
19 symbols:
20   - Name:            NormalUndefined
21     Value:           0
22     SectionNumber:   0
23     SimpleType:      IMAGE_SYM_TYPE_NULL
24     ComplexType:     IMAGE_SYM_DTYPE_NULL
25     StorageClass:    IMAGE_SYM_CLASS_EXTERNAL
26   - Name:            WeakSearchAlias
27     Value:           0
28     SectionNumber:   0
29     SimpleType:      IMAGE_SYM_TYPE_NULL
30     ComplexType:     IMAGE_SYM_DTYPE_NULL
31     StorageClass:    IMAGE_SYM_CLASS_WEAK_EXTERNAL
32     WeakExternal:
33       TagIndex:        0
34       Characteristics: IMAGE_WEAK_EXTERN_SEARCH_ALIAS
35   - Name:            WeakSearchLibrary
36     Value:           0
37     SectionNumber:   0
38     SimpleType:      IMAGE_SYM_TYPE_NULL
39     ComplexType:     IMAGE_SYM_DTYPE_NULL
40     StorageClass:    IMAGE_SYM_CLASS_WEAK_EXTERNAL
41     WeakExternal:
42       TagIndex:        0
43       Characteristics: IMAGE_WEAK_EXTERN_SEARCH_LIBRARY
44   - Name:            WeakSearchNolibrary
45     Value:           0
46     SectionNumber:   0
47     SimpleType:      IMAGE_SYM_TYPE_NULL
48     ComplexType:     IMAGE_SYM_DTYPE_NULL
49     StorageClass:    IMAGE_SYM_CLASS_WEAK_EXTERNAL
50     WeakExternal:
51       TagIndex:        0
52       Characteristics: IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY
53 ...