diff options
| -rw-r--r-- | src/librustc_codegen_llvm/llvm_util.rs | 4 | ||||
| -rw-r--r-- | src/librustc_session/options.rs | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/librustc_codegen_llvm/llvm_util.rs b/src/librustc_codegen_llvm/llvm_util.rs index 6f9bb6d1ac5..3145b0df63b 100644 --- a/src/librustc_codegen_llvm/llvm_util.rs +++ b/src/librustc_codegen_llvm/llvm_util.rs @@ -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); } diff --git a/src/librustc_session/options.rs b/src/librustc_session/options.rs index 9ddc9c0d602..2f2d03fc596 100644 --- a/src/librustc_session/options.rs +++ b/src/librustc_session/options.rs @@ -866,8 +866,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, "extra arguments to prepend to the linker invocation (space separated)"), profile: bool = (false, parse_bool, [TRACKED], "insert profiling code"), - disable_instrumentation_preinliner: bool = (false, parse_bool, [TRACKED], - "Disable the instrumentation pre-inliner, useful for profiling / PGO."), relro_level: Option<RelroLevel> = (None, parse_relro_level, [TRACKED], "choose which RELRO level to use"), nll_facts: bool = (false, parse_bool, [UNTRACKED], |
