summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-rc/codepage.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-readobj] Print the resource type textually for .res filesMartin Storsjo2019-08-291-2/+2
| | | | | | | | This already is done when dumping resources from coff objects. Differential Revision: https://reviews.llvm.org/D66816 llvm-svn: 370308
* Fix llvm-rc tests.Evgeniy Stepanov2019-03-271-2/+2
| | | | | | | | | | | | | | | | | | Summary: Follow-up for D56743. * Add more "--" in llvm-rc invocations. * Add llvm-rc to the tools list. This uses full path to llvm-rc in test RUN lines (llvm-lit -v), making them copy-pasteable. Reviewers: mstorsjo, zturner Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D59858 llvm-svn: 357118
* [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 rudimentary support for codepagesMartin Storsjo2018-05-021-0/+44
Only support UTF-8 (since LLVM contains UTF-8 parsing support already, and the code even does that already) and Windows-1252 (where most code points has the same value in unicode). Keep the existing default as only allowing ASCII input. Using the option type JoinedOrSeparate, since the real rc.exe handles options in this form, even if llvm-rc uses Separate for other similar existing options. Rename the struct SearchParams to WriterParams since it's now used for more than just include paths. Add a missing getResourceTypeName method to the BundleResource class, to fix error printing from within STRINGTABLE resources (used in tests). Differential Revision: https://reviews.llvm.org/D46238 llvm-svn: 331391
OpenPOWER on IntegriCloud