diff options
| author | Tom Tromey <tom@tromey.com> | 2018-09-26 12:58:10 -0600 |
|---|---|---|
| committer | Tom Tromey <tom@tromey.com> | 2018-10-30 12:09:04 -0600 |
| commit | 8bbb62f849c6b97900751ac0f0cff0d4c9b1328a (patch) | |
| tree | b0d8e2fa1527aa39329f076985ca0c2c6f726871 /src/test/debuginfo/destructured-for-loop-variable.rs | |
| parent | da7b6b4b4dcdf9adf25eca12293be029ce9ce24c (diff) | |
| download | rust-8bbb62f849c6b97900751ac0f0cff0d4c9b1328a.tar.gz rust-8bbb62f849c6b97900751ac0f0cff0d4c9b1328a.zip | |
Update enum debuginfo tests
Bug #52452 notes some debuginfo test regressions when moving to gdb 8.1. This series will also cause versions of gdb before 8.2 to fail when a recent LLVM is used -- DW_TAG_variant_part support was not added until 8.2. This patch updates one of the builders to a later version of Ubuntu, which comes with gdb 8.2. It updates the relevant tests to require both a new-enough LLVM and a new-enough gdb; the subsequent patch arranges to continue testing the fallback mode. The "gdbg" results are removed from these tests because the tests now require a rust-enabled gdb. If you read closely, you'll see that some of the lldb results in this patch still look a bit strange. This will be addressed in a subsequent patch; I believe the fix is to disable the Python pretty-printers when lldb is rust-enabled.
Diffstat (limited to 'src/test/debuginfo/destructured-for-loop-variable.rs')
| -rw-r--r-- | src/test/debuginfo/destructured-for-loop-variable.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/debuginfo/destructured-for-loop-variable.rs b/src/test/debuginfo/destructured-for-loop-variable.rs index 48231a906c9..77583ab1037 100644 --- a/src/test/debuginfo/destructured-for-loop-variable.rs +++ b/src/test/debuginfo/destructured-for-loop-variable.rs @@ -12,6 +12,10 @@ // min-lldb-version: 310 +// This fails on lldb 6.0.1 on x86-64 Fedora 28; so mark it macOS-only +// for now. +// only-macos + // compile-flags:-g // === GDB TESTS =================================================================================== |
