1 // Check COFF emission of cvtres
2 // The input was generated with the following command, using the original Windows
4 // > rc /fo test_resource.res /nologo test_resource.rc
5 // The object file we are comparing against was generated with this command using
6 // the original Windows cvtres.exe.
7 // > cvtres /machine:X86 /readonly /nologo /out:test_resource.obj.coff \
10 RUN: llvm-cvtres /verbose /out:%t %p/Inputs/test_resource.res
11 RUN: llvm-readobj --symbols %t | FileCheck %s
13 // Test that parameters can be preceded by '-' in addition to '/':
14 RUN: llvm-cvtres -verbose -machine:X86 -out:%t %p/Inputs/test_resource.res
15 RUN: llvm-readobj --symbols %t | FileCheck %s
19 CHECK-NEXT: Section: .rsrc$02
22 CHECK-NEXT: Section: .rsrc$02
24 CHECK-NEXT: Value: 832
25 CHECK-NEXT: Section: .rsrc$02
27 CHECK-NEXT: Value: 1640
28 CHECK-NEXT: Section: .rsrc$02
30 CHECK-NEXT: Value: 1688
31 CHECK-NEXT: Section: .rsrc$02
33 CHECK-NEXT: Value: 1824
34 CHECK-NEXT: Section: .rsrc$02
36 CHECK-NEXT: Value: 1872
37 CHECK-NEXT: Section: .rsrc$02