1 # RUN: yaml2obj -docnum=1 %s \
2 # RUN: | llvm-readobj -symbols - | FileCheck -check-prefix=DOC1 %s
3 # RUN: yaml2obj -docnum=2 %s \
4 # RUN: | llvm-readobj -symbols - | FileCheck -check-prefix=DOC2 %s
5 # RUN: not yaml2obj -docnum=3 %s 2>&1 \
6 # RUN: | FileCheck -check-prefix=DOC3 %s
10 # DOC3: yaml2obj: Cannot find the 3rd document
14 Machine: IMAGE_FILE_MACHINE_I386
15 Characteristics: [ IMAGE_FILE_DEBUG_STRIPPED ]
20 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE,
22 SectionData: "00000000"
28 SimpleType: IMAGE_SYM_TYPE_NULL
29 ComplexType: IMAGE_SYM_DTYPE_NULL
30 StorageClass: IMAGE_SYM_CLASS_STATIC
33 NumberOfRelocations: 3
34 NumberOfLinenumbers: 0
41 SimpleType: IMAGE_SYM_TYPE_NULL
42 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
43 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
48 SimpleType: IMAGE_SYM_TYPE_NULL
49 ComplexType: IMAGE_SYM_DTYPE_NULL
50 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
54 Machine: IMAGE_FILE_MACHINE_I386
55 Characteristics: [ IMAGE_FILE_DEBUG_STRIPPED ]
60 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE,
62 SectionData: "00000000"
68 SimpleType: IMAGE_SYM_TYPE_NULL
69 ComplexType: IMAGE_SYM_DTYPE_NULL
70 StorageClass: IMAGE_SYM_CLASS_STATIC
73 NumberOfRelocations: 3
74 NumberOfLinenumbers: 0
81 SimpleType: IMAGE_SYM_TYPE_NULL
82 ComplexType: IMAGE_SYM_DTYPE_FUNCTION
83 StorageClass: IMAGE_SYM_CLASS_EXTERNAL
88 SimpleType: IMAGE_SYM_TYPE_NULL
89 ComplexType: IMAGE_SYM_DTYPE_NULL
90 StorageClass: IMAGE_SYM_CLASS_EXTERNAL