about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-29 15:45:54 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-29 15:45:54 -0700
commit5d85d8d80081211ca26cdf5a19671e7462ef4fe2 (patch)
tree7c5126fbe1197fe615c0d33775541f604d5bdce1 /src/rustllvm/RustWrapper.cpp
parent373d6202cffedd379cbb22128fb754f42fdbfb97 (diff)
parentdf82df8cf846246577507d32edcec14c6d3d0851 (diff)
downloadrust-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