1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-rc
Martin Storsjo 6a5bc398fd [llvm-rc] Add rudimentary support for codepages
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
2018-05-02 19:43:44 +00:00
..
CMakeLists.txt
llvm-rc.cpp [llvm-rc] Add rudimentary support for codepages 2018-05-02 19:43:44 +00:00
LLVMBuild.txt
Opts.td [llvm-rc] Add rudimentary support for codepages 2018-05-02 19:43:44 +00:00
ResourceFileWriter.cpp [llvm-rc] Add rudimentary support for codepages 2018-05-02 19:43:44 +00:00
ResourceFileWriter.h [llvm-rc] Add rudimentary support for codepages 2018-05-02 19:43:44 +00:00
ResourceScriptParser.cpp
ResourceScriptParser.h
ResourceScriptStmt.cpp
ResourceScriptStmt.h
ResourceScriptToken.cpp
ResourceScriptToken.h
ResourceScriptTokenList.def
ResourceVisitor.h