diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2020-08-13 18:00:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-13 18:00:19 -0700 |
| commit | d000fb1ca837f175dc5722bbbc4fe15416eb5cd9 (patch) | |
| tree | 9c3409e5bfc32afcf146f638c60a4f751576c5cf /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b4966a8936be55bc2d95aa134127daae58cd47bf (diff) | |
| parent | d4593af78fb2929f0c46e5e4fc041092b7195f81 (diff) | |
| download | rust-d000fb1ca837f175dc5722bbbc4fe15416eb5cd9.tar.gz rust-d000fb1ca837f175dc5722bbbc4fe15416eb5cd9.zip | |
Rollup merge of #75471 - richkadel:llvm-program-name, r=wesleywiser
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.) r? @wesleywiser
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
