Remove wrapper functions for some unstable options
They are trivial and just forward to the option. Like most other options, we can just access it directly.
This commit is contained in:
parent
eb9e5e711d
commit
fb79e44df6
8 changed files with 10 additions and 40 deletions
|
@ -81,10 +81,10 @@ unsafe fn configure_llvm(sess: &Session) {
|
|||
};
|
||||
// Set the llvm "program name" to make usage and invalid argument messages more clear.
|
||||
add("rustc -Cllvm-args=\"...\" with", true);
|
||||
if sess.time_llvm_passes() {
|
||||
if sess.opts.unstable_opts.time_llvm_passes {
|
||||
add("-time-passes", false);
|
||||
}
|
||||
if sess.print_llvm_passes() {
|
||||
if sess.opts.unstable_opts.print_llvm_passes {
|
||||
add("-debug-pass=Structure", false);
|
||||
}
|
||||
if sess.target.generate_arange_section
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue