diff options
| author | Markus Reiter <me@reitermark.us> | 2024-03-10 14:55:58 +0100 |
|---|---|---|
| committer | Markus Reiter <me@reitermark.us> | 2024-03-14 17:34:58 +0100 |
| commit | 75fba9d574dfd85d9046ddda67d2da2da86ce61c (patch) | |
| tree | c14244a0a965a180b32f4785d3f71bd2686826b0 /src/tools | |
| parent | 36a8daeb44ebee51fb769a106e5aafbbb4a59ebb (diff) | |
| download | rust-75fba9d574dfd85d9046ddda67d2da2da86ce61c.tar.gz rust-75fba9d574dfd85d9046ddda67d2da2da86ce61c.zip | |
Remove LLDB persistent results in `compiletest`.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index e26e9df6f16..8655d3512e1 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -1477,15 +1477,6 @@ impl<'test> TestCx<'test> { let rust_pp_module_rel_path = Path::new("./src/etc"); let rust_pp_module_abs_path = rust_src_root.join(rust_pp_module_rel_path); - // In newer versions of lldb, persistent results (the `$N =` part at the start of - // expressions you have evaluated that let you re-use the result) aren't printed, but lots - // of rustc's debuginfo tests rely on these, so re-enable this. - // See <https://reviews.llvm.org/rG385496385476fc9735da5fa4acabc34654e8b30d>. - script_str.push_str("command unalias print\n"); - script_str.push_str("command alias print expr --\n"); - script_str.push_str("command unalias p\n"); - script_str.push_str("command alias p expr --\n"); - script_str.push_str(&format!( "command script import {}/lldb_lookup.py\n", rust_pp_module_abs_path.to_str().unwrap() |
