diff options
| author | Marek Sokolowski <mnbvmar@gmail.com> | 2017-07-25 00:25:18 +0000 |
|---|---|---|
| committer | Marek Sokolowski <mnbvmar@gmail.com> | 2017-07-25 00:25:18 +0000 |
| commit | 2ce2fa481d7ceebcda70454a1d9ad7348f809c17 (patch) | |
| tree | fdfa8366a28d1bda623aee8168ba76eaa161e1d0 /llvm/test | |
| parent | dc49af9d32e72cd60a8d8eb1adcca8ea328631ae (diff) | |
| download | bcm5719-llvm-2ce2fa481d7ceebcda70454a1d9ad7348f809c17.tar.gz bcm5719-llvm-2ce2fa481d7ceebcda70454a1d9ad7348f809c17.zip | |
Add an empty shell of llvm-rc.
This starts the development on one of MS Visual Studio binutils,
Resource Converter. The tool compiles resource scripts (.rc)
into binary resource files (.res).
The current implementation does nothing but parse the command
line arguments. It is going to be extended in the future.
Differential Revision: https://reviews.llvm.org/D35810
llvm-svn: 308940
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/tools/llvm-rc/helpmsg.test | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-rc/helpmsg.test b/llvm/test/tools/llvm-rc/helpmsg.test new file mode 100644 index 00000000000..f0d4015e91c --- /dev/null +++ b/llvm/test/tools/llvm-rc/helpmsg.test @@ -0,0 +1,20 @@ +; RUN: llvm-rc /h > %t1 +; RUN: llvm-rc /? > %t2 +; RUN: diff %t1 %t2 +; RUN: FileCheck -input-file=%t1 %s + +; CHECK: OVERVIEW: Resource Converter +; CHECK-DAG: USAGE: rc [options] <inputs> +; CHECK-DAG: OPTIONS: +; CHECK-NEXT: /? Display this help and exit. +; CHECK-NEXT: /D <value> Define a symbol for the C preprocessor. +; CHECK-NEXT: /FO <value> Change the output file location. +; CHECK-NEXT: /H Display this help and exit. +; CHECK-NEXT: /I <value> Add an include path. +; CHECK-NEXT: /LN <value> Set the default language name. +; CHECK-NEXT: /L <value> Set the default language identifier. +; CHECK-NEXT: /N Null-terminate all strings in the string table. +; CHECK-NEXT: /U <value> Undefine a symbol for the C preprocessor. +; CHECK-NEXT: /V Be verbose. +; CHECK-NEXT: /X Ignore 'include' variable. +; CHECK-NEXT: /Y Suppress warnings on duplicate resource IDs. |

