rust/src/test/debug-info
Alex Crichton 071ee96277 Consolidate codegen-related compiler flags
Move them all behind a new -C switch. This migrates some -Z flags and some
top-level flags behind this -C codegen option.

The -C flag takes values of the form "-C name=value" where the "=value" is
optional for some flags.

Flags affected:

* --llvm-args           => -C llvm-args
* --passes              => -C passes
* --ar                  => -C ar
* --linker              => -C linker
* --link-args           => -C link-args
* --target-cpu          => -C target-cpu
* --target-feature      => -C target-fature
* --android-cross-path  => -C android-cross-path
* --save-temps          => -C save-temps
* --no-rpath            => -C no-rpath
* -Z no-prepopulate     => -C no-prepopulate-passes
* -Z no-vectorize-loops => -C no-vectorize-loops
* -Z no-vectorize-slp   => -C no-vectorize-slp
* -Z soft-float         => -C soft-float
* -Z gen-crate-map      => -C gen-crate-map
* -Z prefer-dynamic     => -C prefer-dynamic
* -Z no-integrated-as   => -C no-integrated-as

As a bonus, this also promotes the -Z extra-debug-info flag to a first class -g
or --debuginfo flag.

* -Z debug-info         => removed
* -Z extra-debug-info   => -g or --debuginfo

Closes #9770
Closes #12000
2014-02-10 00:50:39 -08:00
..
basic-types-metadata.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
basic-types.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
borrowed-basic.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
borrowed-c-style-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
borrowed-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
borrowed-managed-basic.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
borrowed-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
borrowed-tuple.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
borrowed-unique-basic.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
box.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
boxed-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
boxed-vec.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
by-value-non-immediate-argument.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
by-value-self-argument-in-trait-impl.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
c-style-enum-in-composite.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
c-style-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
closure-in-generic-function.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
destructured-fn-argument.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
destructured-local.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
evec-in-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
function-arg-initialization.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
function-arguments.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
function-prologue-stepping-no-split-stack.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
generic-function.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
generic-functions-nested.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
generic-method-on-generic-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
generic-static-method-on-struct-and-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
generic-struct-style-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
generic-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
generic-trait-generic-static-default-method.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
generic-tuple-style-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
include_string.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
issue11600.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
lexical-scope-in-for-loop.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
lexical-scope-in-if.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
lexical-scope-in-match.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
lexical-scope-in-parameterless-closure.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
lexical-scope-in-stack-closure.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
lexical-scope-in-unconditional-loop.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
lexical-scope-in-unique-closure.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
lexical-scope-in-while.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
lexical-scope-with-macro.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
lexical-scopes-in-block-expression.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
managed-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
managed-pointer-within-unique-vec.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
managed-pointer-within-unique.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
method-on-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
method-on-generic-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
method-on-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
method-on-trait.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
method-on-tuple-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
multiple-functions-equal-var-names.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
multiple-functions.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
name-shadowing-and-scope-nesting.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
nil-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
option-like-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
packed-struct-with-destructor.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
packed-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
recursive-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
recursive-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
self-in-default-method.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
self-in-generic-default-method.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
shadowed-argument.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
shadowed-variable.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
simple-lexical-scope.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
simple-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
simple-tuple.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
static-method-on-struct-and-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
struct-in-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
struct-in-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
struct-style-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
struct-with-destructor.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
text-to-include-1.txt Fix CodeMap issue in expand_include_str() 2014-01-08 16:38:58 +01:00
text-to-include-2.txt Fix CodeMap issue in expand_include_str() 2014-01-08 16:38:58 +01:00
text-to-include-3.txt Fix CodeMap issue in expand_include_str() 2014-01-08 16:38:58 +01:00
trait-generic-static-default-method.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
trait-pointers.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
tuple-in-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
tuple-in-tuple.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
tuple-struct.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
tuple-style-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
unique-enum.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
var-captured-in-nested-closure.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
var-captured-in-sendable-closure.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
var-captured-in-stack-closure.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
vec-slices.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00
vec.rs Consolidate codegen-related compiler flags 2014-02-10 00:50:39 -08:00