diff options
| author | Rich Kadel <richkadel@google.com> | 2020-08-12 15:30:41 -0700 |
|---|---|---|
| committer | Rich Kadel <richkadel@google.com> | 2020-08-12 16:11:17 -0700 |
| commit | d4593af78fb2929f0c46e5e4fc041092b7195f81 (patch) | |
| tree | 961ea491259b6ae1a00ba981c5f48095275ec04d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 3cfc7fe78eccc754b16981704a098d7bd520e2fd (diff) | |
| download | rust-d4593af78fb2929f0c46e5e4fc041092b7195f81.tar.gz rust-d4593af78fb2929f0c46e5e4fc041092b7195f81.zip | |
Change registered "program name" for -Cllvm-args usage messages
While debugging a codegen issue, I tried adding LLVM options with the rustc -Cllvm-args option, and was confused by the error and usage messaging. The LLVM "program name" argument is set to "rustc", and command line error messages make it look like invalid arguments are "rustc" arguments, not LLVM. I changed this argument so error messages and the "-help" usage feedback is easier to understand and react to. (Clang does something similar.)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
