1
Fork 0

Remove rarely used -Zdisable_instrumentation_preinliner flag.

The same effect can be achieved by `-Cllvm-args=-disable-preinline`.
This commit is contained in:
Michael Woerister 2019-12-18 14:28:06 +01:00
parent 963f20db1a
commit 1ca145c3b5
2 changed files with 1 additions and 5 deletions

View file

@ -80,9 +80,7 @@ unsafe fn configure_llvm(sess: &Session) {
add("rustc", true); // fake program name
if sess.time_llvm_passes() { add("-time-passes", false); }
if sess.print_llvm_passes() { add("-debug-pass=Structure", false); }
if sess.opts.debugging_opts.disable_instrumentation_preinliner {
add("-disable-preinline", false);
}
if sess.opts.debugging_opts.generate_arange_section {
add("-generate-arange-section", false);
}