diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-04-29 15:45:54 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-29 15:45:54 -0700 |
| commit | 5d85d8d80081211ca26cdf5a19671e7462ef4fe2 (patch) | |
| tree | 7c5126fbe1197fe615c0d33775541f604d5bdce1 /src/rustllvm/RustWrapper.cpp | |
| parent | 373d6202cffedd379cbb22128fb754f42fdbfb97 (diff) | |
| parent | df82df8cf846246577507d32edcec14c6d3d0851 (diff) | |
| download | rust-5d85d8d80081211ca26cdf5a19671e7462ef4fe2.tar.gz rust-5d85d8d80081211ca26cdf5a19671e7462ef4fe2.zip | |
rollup merge of #24945: pnkfelix/fixes-for-dash-g-handling
Fixes for -g handling First: * decouples our handling of `-g` for the test suite from our handling of `-g` for the rest of the compiler/stdlib building. * Namely, if you do `--enable-debug` or `--enable-debuginfo`, that should only affect `rustc` and the standard library crates; the tests should all continue to compile without `-g` unless: * you pass `--enable-debuginfo-tests`, or * the test itself requests the `-g` option (e.g. via a `// compile-flags: -g` embedded comment). Second: * Makes `rustc` more flexible in that it now accepts multiple occurrences of `-g -g` * (as a drive-by, I gave `-O` the same treatment: multiple occurrences of `-O` are treated as synonymous as a single occurrence of `-O`. Fix #24937
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
