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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user