1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/tools/llvm-rc
Martin Storsjo 19d53b6f8f [llvm-rc] Add support for parsing memory flags
Most of the handling is pretty straightforward; fetch the default
memory flags for the specific resource type before parsing the flags
and apply them on top of that, except that some flags imply others
and some flags clear more than one flag.

For icons and cursors, the flags set get passed on to all individual
single icon/cursor resources, while only some flags affect the icon/cursor
group resource.

For stringtables, the behaviour is pretty simple; the first stringtable
resource of a bundle sets the flags for the whole bundle.

The output of these tests match rc.exe byte for byte.

The actual use of these memory flags is deprecated and they have no
effect since Win16, but some resource script files may still happen
to have them in place.

Differential Revision: https://reviews.llvm.org/D46818

llvm-svn: 332329
2018-05-15 06:35:29 +00:00
..
Inputs [llvm-rc] Add support for parsing memory flags 2018-05-15 06:35:29 +00:00
codepage.test
cpp-output.test [llvm-rc] Handle C preprocessor output 2018-05-09 18:21:03 +00:00
helpmsg.test
include-paths.test [llvm-rc] Don't strictly require quotes around external file names 2018-05-08 08:47:37 +00:00
memoryflags-stringtable.test [llvm-rc] Add support for parsing memory flags 2018-05-15 06:35:29 +00:00
memoryflags.test [llvm-rc] Add support for parsing memory flags 2018-05-15 06:35:29 +00:00
parser-expr.test
parser.test [llvm-rc] Don't strictly require quotes around external file names 2018-05-08 08:47:37 +00:00
tag-accelerators.test
tag-dialog.test [llvm-rc] Allow -1 for control IDs in old style dialogs with 16 bit fields 2018-05-09 18:20:49 +00:00
tag-escape.test
tag-html.test
tag-icon-cursor.test [llvm-rc] Read the Planes/BitCount fields from BITMAPINFOHEADER for icons 2018-05-15 06:35:20 +00:00
tag-menu.test [llvm-rc] Default to writing the output next to the input, if no output is specified 2018-05-02 21:15:24 +00:00
tag-stringtable.test
tag-user.test [llvm-rc] Add support for the RCDATA resource type 2018-05-09 18:20:56 +00:00
tag-versioninfo.test
tokenizer.test [llvm-rc] Default to writing the output next to the input, if no output is specified 2018-05-02 21:15:24 +00:00
versioninfo-padding.test [llvm-rc] Exclude padding from sizes in versioninfo resources 2018-05-07 20:27:23 +00:00