1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
| ; RUN: llvm-rc /FO %t -- %p/Inputs/tag-dialog.rc
; RUN: llvm-readobj %t | FileCheck %s --check-prefix=DIALOG
; DIALOG: Resource type (int): DIALOG (ID 5)
; DIALOG-NEXT: Resource name (string): EMPTY
; DIALOG-NEXT: Data version: 0
; DIALOG-NEXT: Memory flags: 0x1030
; DIALOG-NEXT: Language ID: 1033
; DIALOG-NEXT: Version (major): 0
; DIALOG-NEXT: Version (minor): 0
; DIALOG-NEXT: Characteristics: 0
; DIALOG-NEXT: Data size: 32
; DIALOG-NEXT: Data: (
; DIALOG-NEXT: 0000: 0100FFFF 00000000 00000000 00008880 |................|
; DIALOG-NEXT: 0010: 00000200 03000400 05000000 00000000 |................|
; DIALOG-NEXT: )
; DIALOG-DAG: Resource type (int): DIALOG (ID 5)
; DIALOG-NEXT: Resource name (string): ARGS
; DIALOG-NEXT: Data version: 0
; DIALOG-NEXT: Memory flags: 0x1030
; DIALOG-NEXT: Language ID: 1033
; DIALOG-NEXT: Version (major): 0
; DIALOG-NEXT: Version (minor): 0
; DIALOG-NEXT: Characteristics: 0
; DIALOG-NEXT: Data size: 552
; DIALOG-NEXT: Data: (
; DIALOG-NEXT: 0000: 0100FFFF 00000000 00000000 00008880 |................|
; DIALOG-NEXT: 0010: 0C000200 03000400 05000000 00000000 |................|
; DIALOG-NEXT: 0020: 00000000 00000000 00000250 00000000 |...........P....|
; DIALOG-NEXT: 0030: 32000A00 01000000 FFFF8200 4C006500 |2...........L.e.|
; DIALOG-NEXT: 0040: 66007400 20007400 65007800 74000000 |f.t. .t.e.x.t...|
; DIALOG-NEXT: 0050: 00000000 00000000 00000000 2A000250 |............*..P|
; DIALOG-NEXT: 0060: 0C000000 32000A00 02000000 FFFF8200 |....2...........|
; DIALOG-NEXT: 0070: 52006900 67006800 74002000 74006500 |R.i.g.h.t. .t.e.|
; DIALOG-NEXT: 0080: 78007400 00000000 00000000 AD0BD0BA |x.t.............|
; DIALOG-NEXT: 0090: FECAAF5B 18000000 32000A00 03000000 |...[....2.......|
; DIALOG-NEXT: 00A0: FFFF8200 4C006500 66007400 20007400 |....L.e.f.t. .t.|
; DIALOG-NEXT: 00B0: 65007800 74002000 32000000 00000000 |e.x.t. .2.......|
; DIALOG-NEXT: 00C0: 78563412 02000000 03000250 24000000 |xV4........P$...|
; DIALOG-NEXT: 00D0: 32000A00 04000000 FFFF8200 52006900 |2...........R.i.|
; DIALOG-NEXT: 00E0: 67006800 74002000 74006500 78007400 |g.h.t. .t.e.x.t.|
; DIALOG-NEXT: 00F0: 20003200 00000000 00000000 00000000 | .2.............|
; DIALOG-NEXT: 0100: 00008150 64000000 3C000A00 10000000 |...Pd...<.......|
; DIALOG-NEXT: 0110: FFFF8100 00000000 00000000 00000000 |................|
; DIALOG-NEXT: 0120: 0000BBFA 64001000 3C000A00 11000000 |....d...<.......|
; DIALOG-NEXT: 0130: FFFF8100 00000000 00000000 DD0000CC |................|
; DIALOG-NEXT: 0140: 0B0081F0 64002000 3C000A00 12000000 |....d. .<.......|
; DIALOG-NEXT: 0150: FFFF8100 00000000 146A0ACE 00000000 |.........j......|
; DIALOG-NEXT: 0160: 00008150 64002000 3C000A00 13000000 |...Pd. .<.......|
; DIALOG-NEXT: 0170: FFFF8100 00000000 00000000 00000000 |................|
; DIALOG-NEXT: 0180: 00000150 C8000000 36000B00 20000000 |...P....6... ...|
; DIALOG-NEXT: 0190: FFFF8000 50007500 73006800 20003100 |....P.u.s.h. .1.|
; DIALOG-NEXT: 01A0: 00000000 00000000 00000000 39300150 |............90.P|
; DIALOG-NEXT: 01B0: C9000F00 36000B00 21000000 FFFF8000 |....6...!.......|
; DIALOG-NEXT: 01C0: 50007500 73006800 20003200 00000000 |P.u.s.h. .2.....|
; DIALOG-NEXT: 01D0: 00000000 420000C0 0A000150 CA001E00 |....B......P....|
; DIALOG-NEXT: 01E0: 36000B00 22000000 FFFF8000 50007500 |6...".......P.u.|
; DIALOG-NEXT: 01F0: 73006800 20003300 00000000 02000000 |s.h. .3.........|
; DIALOG-NEXT: 0200: 01000000 00000150 C8002D00 36000B00 |.......P..-.6...|
; DIALOG-NEXT: 0210: 23000000 FFFF8000 50007500 73006800 |#.......P.u.s.h.|
; DIALOG-NEXT: 0220: 20003400 00000000 | .4.....|
; DIALOG-NEXT: )
; DIALOG-DAG: Resource type (int): DIALOG (ID 5)
; DIALOG-NEXT: Resource name (string): TYPES
; DIALOG-NEXT: Data version: 0
; DIALOG-NEXT: Memory flags: 0x1030
; DIALOG-NEXT: Language ID: 1033
; DIALOG-NEXT: Version (major): 0
; DIALOG-NEXT: Version (minor): 0
; DIALOG-NEXT: Characteristics: 0
; DIALOG-NEXT: Data size: 778
; DIALOG-NEXT: Data: (
; DIALOG-NEXT: 0000: 0100FFFF 54535251 00000000 00008880 |....TSRQ........|
; DIALOG-NEXT: 0010: 15003930 31D43412 ED1E0000 00000000 |..901.4.........|
; DIALOG-NEXT: 0020: 00000000 00000000 00000250 02000300 |...........P....|
; DIALOG-NEXT: 0030: 04000500 01000000 FFFF8200 4C000000 |............L...|
; DIALOG-NEXT: 0040: 00000000 00000000 00000000 01000250 |...............P|
; DIALOG-NEXT: 0050: 07000800 09000A00 06000000 FFFF8200 |................|
; DIALOG-NEXT: 0060: 43000000 00000000 00000000 00000000 |C...............|
; DIALOG-NEXT: 0070: 02000250 0C000D00 0E000F00 0B000000 |...P............|
; DIALOG-NEXT: 0080: FFFF8200 52000000 00000000 00000000 |....R...........|
; DIALOG-NEXT: 0090: 00000000 00000150 EA03EB03 EC03ED03 |.......P........|
; DIALOG-NEXT: 00A0: E9030000 FFFF8000 50004200 00000000 |........P.B.....|
; DIALOG-NEXT: 00B0: 00000000 00000000 01000150 EF03F003 |...........P....|
; DIALOG-NEXT: 00C0: F103F203 EE030000 FFFF8000 44005000 |............D.P.|
; DIALOG-NEXT: 00D0: 42000000 00000000 00000000 00000000 |B...............|
; DIALOG-NEXT: 00E0: 00008150 D207D307 D407D507 D1070000 |...P............|
; DIALOG-NEXT: 00F0: FFFF8100 00000000 00000000 00000000 |................|
; DIALOG-NEXT: 0100: 00000250 BA0BBB0B BC0BBD0B B90B0000 |...P............|
; DIALOG-NEXT: 0110: FFFF8200 FFFFFFFF 00000000 00000000 |................|
; DIALOG-NEXT: 0120: 00000000 06000150 02000300 04000500 |.......P........|
; DIALOG-NEXT: 0130: 0C000000 FFFF8000 41003300 00000000 |........A.3.....|
; DIALOG-NEXT: 0140: 00000000 00000000 03000150 02000300 |...........P....|
; DIALOG-NEXT: 0150: 04000500 0D000000 FFFF8000 41004300 |............A.C.|
; DIALOG-NEXT: 0160: 00000000 00000000 00000000 09000050 |...............P|
; DIALOG-NEXT: 0170: 02000300 04000500 0E000000 FFFF8000 |................|
; DIALOG-NEXT: 0180: 41005200 00000000 00000000 00000000 |A.R.............|
; DIALOG-NEXT: 0190: 02000150 02000300 04000500 0F000000 |...P............|
; DIALOG-NEXT: 01A0: FFFF8000 43000000 00000000 00000000 |....C...........|
; DIALOG-NEXT: 01B0: 00000000 00000050 02000300 04000500 |.......P........|
; DIALOG-NEXT: 01C0: 10000000 FFFF8500 00000000 00000000 |................|
; DIALOG-NEXT: 01D0: 00000000 07000050 02000300 04000500 |.......P........|
; DIALOG-NEXT: 01E0: 11000000 FFFF8000 47000000 00000000 |........G.......|
; DIALOG-NEXT: 01F0: 00000000 00000000 03000050 02000300 |...........P....|
; DIALOG-NEXT: 0200: 04000500 12000000 FFFF8200 49000000 |............I...|
; DIALOG-NEXT: 0210: 00000000 00000000 00000000 01008050 |...............P|
; DIALOG-NEXT: 0220: 02000300 04000500 13000000 FFFF8300 |................|
; DIALOG-NEXT: 0230: 00000000 00000000 00000000 04000050 |...............P|
; DIALOG-NEXT: 0240: 02000300 04000500 14000000 FFFF8000 |................|
; DIALOG-NEXT: 0250: 52000000 00000000 00000000 00000000 |R...............|
; DIALOG-NEXT: 0260: 00000050 02000300 04000500 15000000 |...P............|
; DIALOG-NEXT: 0270: FFFF8500 00000000 00000000 00000000 |................|
; DIALOG-NEXT: 0280: 00000050 02000300 04000500 16000000 |...P............|
; DIALOG-NEXT: 0290: FFFF8400 00000000 00000000 00000000 |................|
; DIALOG-NEXT: 02A0: 05000150 02000300 04000500 17000000 |...P............|
; DIALOG-NEXT: 02B0: FFFF8000 53000000 00000000 00000000 |....S...........|
; DIALOG-NEXT: 02C0: 00000000 0A000150 02000300 04000500 |.......P........|
; DIALOG-NEXT: 02D0: 18000000 FFFF8000 50000000 00000000 |........P.......|
; DIALOG-NEXT: 02E0: 00000000 00000000 2A000050 02000300 |........*..P....|
; DIALOG-NEXT: 02F0: 04000500 19000000 43006C00 61007300 |........C.l.a.s.|
; DIALOG-NEXT: 0300: 73000000 43000000 0000 |s...C.....|
; DIALOG-NEXT: )
; DIALOG-DAG: Resource type (int): DIALOG (ID 5)
; DIALOG-NEXT: Resource name (string): EMPTYOLD
; DIALOG-NEXT: Data version: 0
; DIALOG-NEXT: Memory flags: 0x1030
; DIALOG-NEXT: Language ID: 1033
; DIALOG-NEXT: Version (major): 0
; DIALOG-NEXT: Version (minor): 0
; DIALOG-NEXT: Characteristics: 0
; DIALOG-NEXT: Data size: 24
; DIALOG-NEXT: Data: (
; DIALOG-NEXT: 0000: 00008880 00000000 00000100 02000300 |................|
; DIALOG-NEXT: 0010: 04000000 00000000 |........|
; DIALOG-NEXT: )
; DIALOG-DAG: Resource type (int): DIALOG (ID 5)
; DIALOG-NEXT: Resource name (string): ARGSOLD
; DIALOG-NEXT: Data version: 0
; DIALOG-NEXT: Memory flags: 0x1030
; DIALOG-NEXT: Language ID: 1033
; DIALOG-NEXT: Version (major): 0
; DIALOG-NEXT: Version (minor): 0
; DIALOG-NEXT: Characteristics: 0
; DIALOG-NEXT: Data size: 198
; DIALOG-NEXT: Data: (
; DIALOG-NEXT: 0000: 00008880 00000000 06000100 02000300 |................|
; DIALOG-NEXT: 0010: 04000000 00000000 00000250 00000000 |...........P....|
; DIALOG-NEXT: 0020: 02000300 04000500 0100FFFF 82004C00 |..............L.|
; DIALOG-NEXT: 0030: 00000000 0B000250 00000000 07000800 |.......P........|
; DIALOG-NEXT: 0040: 09000A00 0600FFFF 82004C00 32000000 |..........L.2...|
; DIALOG-NEXT: 0050: 00000000 11000250 12000000 0D000E00 |.......P........|
; DIALOG-NEXT: 0060: 0F001000 FFFFFFFF 82004C00 33000000 |..........L.3...|
; DIALOG-NEXT: 0070: 00000000 00008150 00000000 14001500 |.......P........|
; DIALOG-NEXT: 0080: 16001700 1300FFFF 81000000 00000000 |................|
; DIALOG-NEXT: 0090: 1D008150 00000000 19001A00 1B001C00 |...P............|
; DIALOG-NEXT: 00A0: 1800FFFF 81000000 00000000 23008150 |............#..P|
; DIALOG-NEXT: 00B0: 24000000 1F002000 21002200 1E00FFFF |$..... .!.".....|
; DIALOG-NEXT: 00C0: 81000000 0000 |......|
; DIALOG-NEXT: )
; RUN: llvm-rc /FO %t -- %p/Inputs/tag-dialog-headers.rc
; RUN: llvm-readobj %t | FileCheck %s --check-prefix=HEADERS
; HEADERS: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 1
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 32
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 00008880 |................|
; HEADERS-NEXT: 0010: 00000100 02000300 04000000 00000000 |................|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 2
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 24
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 00008880 00000000 00000100 02000300 |................|
; HEADERS-NEXT: 0010: 04000000 00000000 |........|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 3
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 52
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 0000C880 |................|
; HEADERS-NEXT: 0010: 00001027 204E3075 FF7F0000 00004D00 |...' N0u......M.|
; HEADERS-NEXT: 0020: 79002000 43006100 70007400 69006F00 |y. .C.a.p.t.i.o.|
; HEADERS-NEXT: 0030: 6E000000 |n...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 4
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 44
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0000C880 00000000 00000080 FF7F0000 |................|
; HEADERS-NEXT: 0010: FF7F0000 00004D00 79002000 43006100 |......M.y. .C.a.|
; HEADERS-NEXT: 0020: 70007400 69006F00 6E000000 |p.t.i.o.n...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 5
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 32
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 27452301 |............'E#.|
; HEADERS-NEXT: 0010: 00000000 01000000 09000000 00000000 |................|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 6
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 24
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 27452301 00000000 00000000 01000000 |'E#.............|
; HEADERS-NEXT: 0010: 09000000 00000000 |........|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 7
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 42
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 40008880 |............@...|
; HEADERS-NEXT: 0010: 00000800 07000600 05000000 00000000 |................|
; HEADERS-NEXT: 0020: 32000000 00016100 0000 |2.....a...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 8
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 36
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 40008880 00000000 00000800 07000600 |@...............|
; HEADERS-NEXT: 0010: 05000000 00000000 32006100 61006100 |........2.a.a.a.|
; HEADERS-NEXT: 0020: 61000000 |a...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 9
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 42
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 40008880 |............@...|
; HEADERS-NEXT: 0010: 00000800 07000600 05000000 00000000 |................|
; HEADERS-NEXT: 0020: 32000000 00016100 0000 |2.....a...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 10
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 36
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 40008880 00000000 00000800 07000600 |@...............|
; HEADERS-NEXT: 0010: 05000000 00000000 32006100 61006100 |........2.a.a.a.|
; HEADERS-NEXT: 0020: 61000000 |a...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 11
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 48
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 40008880 |............@...|
; HEADERS-NEXT: 0010: 00000100 02000300 04000000 00000000 |................|
; HEADERS-NEXT: 0020: 32003300 00014600 4F004E00 54000000 |2.3...F.O.N.T...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 12
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 48
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 40008880 |............@...|
; HEADERS-NEXT: 0010: 00000100 02000300 04000000 00000000 |................|
; HEADERS-NEXT: 0020: 32003300 01014600 4F004E00 54000000 |2.3...F.O.N.T...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 13
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 48
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 40008880 |............@...|
; HEADERS-NEXT: 0010: 00000100 02000300 04000000 00000000 |................|
; HEADERS-NEXT: 0020: 32003300 01354600 4F004E00 54000000 |2.3..5F.O.N.T...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 14
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 62
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 4000C880 |............@...|
; HEADERS-NEXT: 0010: 00000100 01000100 01000000 00004300 |..............C.|
; HEADERS-NEXT: 0020: 41005000 54004900 4F004E00 00002A00 |A.P.T.I.O.N...*.|
; HEADERS-NEXT: 0030: 00000001 46004F00 4E005400 0000 |....F.O.N.T...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 15
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 50
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 4000C880 00000000 00000100 01000100 |@...............|
; HEADERS-NEXT: 0010: 01000000 00004300 41005000 54004900 |......C.A.P.T.I.|
; HEADERS-NEXT: 0020: 4F004E00 00002A00 46004F00 4E005400 |O.N...*.F.O.N.T.|
; HEADERS-NEXT: 0030: 0000 |..|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 16
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 62
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 4000C000 |............@...|
; HEADERS-NEXT: 0010: 00000200 02000200 02000000 00004300 |..............C.|
; HEADERS-NEXT: 0020: 41005000 54004900 4F004E00 00002A00 |A.P.T.I.O.N...*.|
; HEADERS-NEXT: 0030: 00000001 46004F00 4E005400 0000 |....F.O.N.T...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 17
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 50
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 4000C000 00000000 00000200 02000200 |@...............|
; HEADERS-NEXT: 0010: 02000000 00004300 41005000 54004900 |......C.A.P.T.I.|
; HEADERS-NEXT: 0020: 4F004E00 00002A00 46004F00 4E005400 |O.N...*.F.O.N.T.|
; HEADERS-NEXT: 0030: 0000 |..|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 18
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 46
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 0000C000 |................|
; HEADERS-NEXT: 0010: 00000300 03000300 03000000 00004300 |..............C.|
; HEADERS-NEXT: 0020: 41005000 54004900 4F004E00 0000 |A.P.T.I.O.N...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 19
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 38
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0000C000 00000000 00000300 03000300 |................|
; HEADERS-NEXT: 0010: 03000000 00004300 41005000 54004900 |......C.A.P.T.I.|
; HEADERS-NEXT: 0020: 4F004E00 0000 |O.N...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 20
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 32
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 00FF00FF |................|
; HEADERS-NEXT: 0010: 00000400 04000400 04000000 00000000 |................|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 21
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 24
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 00FF00FF 00000000 00000400 04000400 |................|
; HEADERS-NEXT: 0010: 04000000 00000000 |........|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 22
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 32
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 BF00FF00 |................|
; HEADERS-NEXT: 0010: 00000400 04000400 04000000 00000000 |................|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 23
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 24
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: BF00FF00 00000000 00000400 04000400 |................|
; HEADERS-NEXT: 0010: 04000000 00000000 |........|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 24
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 32
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 0000C000 |................|
; HEADERS-NEXT: 0010: 00000500 05000500 05000000 00000000 |................|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 25
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 24
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0000C000 00000000 00000500 05000500 |................|
; HEADERS-NEXT: 0010: 05000000 00000000 |........|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 26
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 32
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 05000000 00000000 00008880 |................|
; HEADERS-NEXT: 0010: 00000100 02000300 04000000 00000000 |................|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 27
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 44
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 00000000 00008880 |................|
; HEADERS-NEXT: 0010: 00000500 05000500 05000000 46006F00 |............F.o.|
; HEADERS-NEXT: 0020: 6F006200 61007200 00000000 |o.b.a.r.....|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 28
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 26
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 00008880 00000000 00000500 05000500 |................|
; HEADERS-NEXT: 0010: 05000000 FFFF2A00 0000 |......*...|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 29
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 32
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 67452301 00008880 |........gE#.....|
; HEADERS-NEXT: 0010: 00000000 01000000 09000000 00000000 |................|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 30
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 24
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 00008880 67452301 00000000 01000000 |....gE#.........|
; HEADERS-NEXT: 0010: 09000000 00000000 |........|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 31
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 32
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 0100FFFF 00000000 67452301 10325476 |........gE#..2Tv|
; HEADERS-NEXT: 0010: 00000000 01000000 09000000 00000000 |................|
; HEADERS-NEXT: )
; HEADERS-DAG: Resource type (int): DIALOG (ID 5)
; HEADERS-NEXT: Resource name (int): 32
; HEADERS-NEXT: Data version: 0
; HEADERS-NEXT: Memory flags: 0x1030
; HEADERS-NEXT: Language ID: 1033
; HEADERS-NEXT: Version (major): 0
; HEADERS-NEXT: Version (minor): 0
; HEADERS-NEXT: Characteristics: 0
; HEADERS-NEXT: Data size: 24
; HEADERS-NEXT: Data: (
; HEADERS-NEXT: 0000: 10325476 56341200 00000000 01000000 |.2TvV4..........|
; HEADERS-NEXT: 0010: 09000000 00000000 |........|
; HEADERS-NEXT: )
; RUN: not llvm-rc /FO %t -- %p/Inputs/tag-dialog-large-coord.rc 2>&1 | FileCheck %s --check-prefix COORD1
; COORD1: llvm-rc: Error in DIALOGEX statement (ID 1):
; COORD1-NEXT: Dialog x-coordinate (50000) does not fit in 16-bit signed integer type.
; RUN: not llvm-rc /FO %t -- %p/Inputs/tag-dialog-large-coord-neg.rc 2>&1 | FileCheck %s --check-prefix COORD2
; COORD2: llvm-rc: Error in DIALOG statement (ID 1):
; COORD2-NEXT: Dialog y-coordinate (-40000) does not fit in 16-bit signed integer type.
; RUN: not llvm-rc /FO %t -- %p/Inputs/tag-dialog-large-size.rc 2>&1 | FileCheck %s --check-prefix COORD3
; COORD3: llvm-rc: Error in DIALOGEX statement (ID 1):
; COORD3-NEXT: Dialog height (32768) does not fit in 16-bit signed integer type.
; RUN: not llvm-rc /FO %t -- %p/Inputs/tag-dialog-negative-size.rc 2>&1 | FileCheck %s --check-prefix COORD4
; COORD4: llvm-rc: Error in DIALOGEX statement (ID 1):
; COORD4-NEXT: Dialog width (-50) cannot be negative.
; RUN: not llvm-rc /FO %t -- %p/Inputs/tag-dialog-ctl-large-coord.rc 2>&1 | FileCheck %s --check-prefix CTL-COORD1
; CTL-COORD1: llvm-rc: Error in DIALOGEX statement (ID 1):
; CTL-COORD1-NEXT: Error in LTEXT control (ID 1):
; CTL-COORD1-NEXT: Dialog control x-coordinate (44444) does not fit in 16-bit signed integer type.
; RUN: not llvm-rc /FO %t -- %p/Inputs/tag-dialog-ctl-large-coord-neg.rc 2>&1 | FileCheck %s --check-prefix CTL-COORD2
; CTL-COORD2: llvm-rc: Error in DIALOG statement (ID 1):
; CTL-COORD2-NEXT: Error in LTEXT control (ID 1):
; CTL-COORD2-NEXT: Dialog control y-coordinate (-32769) does not fit in 16-bit signed integer type.
; RUN: not llvm-rc /FO %t -- %p/Inputs/tag-dialog-ctl-large-size.rc 2>&1 | FileCheck %s --check-prefix CTL-COORD3
; CTL-COORD3: llvm-rc: Error in DIALOGEX statement (ID 1):
; CTL-COORD3-NEXT: Error in LTEXT control (ID 1):
; CTL-COORD3-NEXT: Dialog control width (40000) does not fit in 16-bit signed integer type.
; RUN: not llvm-rc /FO %t -- %p/Inputs/tag-dialog-ctl-negative-size.rc 2>&1 | FileCheck %s --check-prefix CTL-COORD4
; CTL-COORD4: llvm-rc: Error in DIALOG statement (ID 1):
; CTL-COORD4-NEXT: Error in LTEXT control (ID 1):
; CTL-COORD4-NEXT: Dialog control height (-700) cannot be negative.
; RUN: not llvm-rc /FO %t -- %p/Inputs/tag-dialog-ctl-large-id.rc 2>&1 | FileCheck %s --check-prefix CTL-ID
; CTL-ID: llvm-rc: Error in DIALOG statement (ID 5):
; CTL-ID-NEXT: Error in RTEXT control (ID 100000):
; CTL-ID-NEXT: Control ID in simple DIALOG resource (100000) does not fit in 16 bits.
; RUN: not llvm-rc /FO %t -- %p/Inputs/tag-dialog-ctl-large-ref-id.rc 2>&1 | FileCheck %s --check-prefix CTL-REF-ID
; CTL-REF-ID: llvm-rc: Error in DIALOGEX statement (ID 1):
; CTL-REF-ID-NEXT: Error in CTEXT control (ID 42):
; CTL-REF-ID-NEXT: Control reference ID (65536) does not fit in 16 bits.
; RUN: not llvm-rc /FO %t -- %p/Inputs/tag-dialog-bad-style.rc 2>&1 | FileCheck %s --check-prefix STYLE
; STYLE: llvm-rc: Error in DIALOG statement (ID 1):
; STYLE-NEXT: 16 higher bits of DIALOG resource style cannot be equal to 0xFFFF
|