summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-rc/memoryflags-stringtable.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-readobj] Print the resource type textually for .res filesMartin Storsjo2019-08-291-3/+3
| | | | | | | | This already is done when dumping resources from coff objects. Differential Revision: https://reviews.llvm.org/D66816 llvm-svn: 370308
* [llvm-rc] Support '--' for delimiting options from input pathsMartin Storsjo2019-01-161-1/+1
| | | | | | | | | | This allows avoiding conflicts between paths that begin with the same chars as some llvm-rc options (which can be used with either slashes or dashes). Differential Revision: https://reviews.llvm.org/D56743 llvm-svn: 351305
* [llvm-rc] Add support for parsing memory flagsMartin Storsjo2018-05-151-0/+15
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
OpenPOWER on IntegriCloud