From 2b0cce040dc698332f3602db3dc7b7e5cf352b59 Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Mon, 2 Feb 2026 18:13:43 -0800 Subject: [PATCH] Ignore all debuginfo tests for LLDB that we do not run in CI We only run LLDB 1500 in CI. Any test with a min-lldb-version above that is currently ignored. It's not clear any of these tests actually work with that LLDB version, and they definitely don't work on LLDB ~2100. So, ignore them until we fix debuginfo testing. --- tests/debuginfo/borrowed-enum.rs | 3 ++- tests/debuginfo/by-value-non-immediate-argument.rs | 3 ++- tests/debuginfo/coroutine-objects.rs | 3 ++- tests/debuginfo/enum-thinlto.rs | 3 ++- tests/debuginfo/function-arg-initialization.rs | 3 ++- tests/debuginfo/function-prologue-stepping-regular.rs | 3 ++- tests/debuginfo/issue-57822.rs | 3 ++- tests/debuginfo/macro-stepping.rs | 3 ++- tests/debuginfo/method-on-enum.rs | 3 ++- tests/debuginfo/msvc-pretty-enums.rs | 3 ++- tests/debuginfo/opt/dead_refs.rs | 3 ++- tests/debuginfo/option-like-enum.rs | 3 ++- tests/debuginfo/pretty-std.rs | 3 ++- tests/debuginfo/strings-and-strs.rs | 3 ++- tests/debuginfo/struct-in-enum.rs | 3 ++- tests/debuginfo/struct-style-enum.rs | 3 ++- tests/debuginfo/tuple-style-enum.rs | 3 ++- tests/debuginfo/unique-enum.rs | 3 ++- 18 files changed, 36 insertions(+), 18 deletions(-) diff --git a/tests/debuginfo/borrowed-enum.rs b/tests/debuginfo/borrowed-enum.rs index 9c6e466c43c2..b87d1f2b96d2 100644 --- a/tests/debuginfo/borrowed-enum.rs +++ b/tests/debuginfo/borrowed-enum.rs @@ -1,4 +1,5 @@ -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ compile-flags:-g //@ disable-gdb-pretty-printers diff --git a/tests/debuginfo/by-value-non-immediate-argument.rs b/tests/debuginfo/by-value-non-immediate-argument.rs index 523f6b7623d1..4ecb76ee0846 100644 --- a/tests/debuginfo/by-value-non-immediate-argument.rs +++ b/tests/debuginfo/by-value-non-immediate-argument.rs @@ -1,4 +1,5 @@ -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ min-gdb-version: 13.0 //@ compile-flags:-g //@ disable-gdb-pretty-printers diff --git a/tests/debuginfo/coroutine-objects.rs b/tests/debuginfo/coroutine-objects.rs index 598de2ee4538..783156e07b8e 100644 --- a/tests/debuginfo/coroutine-objects.rs +++ b/tests/debuginfo/coroutine-objects.rs @@ -1,4 +1,5 @@ -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb // LLDB (18.1+) now supports DW_TAG_variant_part, but there is some bug in either compiler or LLDB // with memory layout of discriminant for this particular enum diff --git a/tests/debuginfo/enum-thinlto.rs b/tests/debuginfo/enum-thinlto.rs index 4da49022630a..ef41feec6e24 100644 --- a/tests/debuginfo/enum-thinlto.rs +++ b/tests/debuginfo/enum-thinlto.rs @@ -1,4 +1,5 @@ -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ compile-flags:-g -Z thinlto //@ disable-gdb-pretty-printers //@ ignore-backends: gcc diff --git a/tests/debuginfo/function-arg-initialization.rs b/tests/debuginfo/function-arg-initialization.rs index 78fecd8a4bfe..9b20eb1b8a4f 100644 --- a/tests/debuginfo/function-arg-initialization.rs +++ b/tests/debuginfo/function-arg-initialization.rs @@ -5,7 +5,8 @@ // arguments have been properly loaded when setting the breakpoint via the // function name. -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ compile-flags:-g //@ disable-gdb-pretty-printers //@ ignore-backends: gcc diff --git a/tests/debuginfo/function-prologue-stepping-regular.rs b/tests/debuginfo/function-prologue-stepping-regular.rs index 83d5aa3c0a10..2a4a64f87303 100644 --- a/tests/debuginfo/function-prologue-stepping-regular.rs +++ b/tests/debuginfo/function-prologue-stepping-regular.rs @@ -1,7 +1,8 @@ // This test case checks if function arguments already have the correct value when breaking at the // beginning of a function. -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ ignore-gdb //@ compile-flags:-g //@ disable-gdb-pretty-printers diff --git a/tests/debuginfo/issue-57822.rs b/tests/debuginfo/issue-57822.rs index 6b030686e4ea..a970db873a28 100644 --- a/tests/debuginfo/issue-57822.rs +++ b/tests/debuginfo/issue-57822.rs @@ -1,7 +1,8 @@ // This test makes sure that the LLDB pretty printer does not throw an exception // for nested closures and coroutines. -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ compile-flags:-g //@ disable-gdb-pretty-printers //@ ignore-backends: gcc diff --git a/tests/debuginfo/macro-stepping.rs b/tests/debuginfo/macro-stepping.rs index ba3a4452041a..3f57eb9ad79b 100644 --- a/tests/debuginfo/macro-stepping.rs +++ b/tests/debuginfo/macro-stepping.rs @@ -4,7 +4,8 @@ //! and we can match on them for testing purposes. //@ ignore-android -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ min-gdb-version: 13.0 //@ aux-build:macro-stepping.rs diff --git a/tests/debuginfo/method-on-enum.rs b/tests/debuginfo/method-on-enum.rs index c7955a7e875a..6c724622a89e 100644 --- a/tests/debuginfo/method-on-enum.rs +++ b/tests/debuginfo/method-on-enum.rs @@ -1,4 +1,5 @@ -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ min-gdb-version: 13.0 //@ compile-flags:-g diff --git a/tests/debuginfo/msvc-pretty-enums.rs b/tests/debuginfo/msvc-pretty-enums.rs index efe5b066b52c..1f55adcb5c00 100644 --- a/tests/debuginfo/msvc-pretty-enums.rs +++ b/tests/debuginfo/msvc-pretty-enums.rs @@ -1,5 +1,6 @@ //@ only-msvc -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ ignore-gdb //@ compile-flags:-g diff --git a/tests/debuginfo/opt/dead_refs.rs b/tests/debuginfo/opt/dead_refs.rs index 61c39f4fb778..8653b5d3b251 100644 --- a/tests/debuginfo/opt/dead_refs.rs +++ b/tests/debuginfo/opt/dead_refs.rs @@ -1,4 +1,5 @@ -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ min-gdb-version: 13.0 //@ compile-flags: -g -Copt-level=3 //@ disable-gdb-pretty-printers diff --git a/tests/debuginfo/option-like-enum.rs b/tests/debuginfo/option-like-enum.rs index 047a738574c2..027e9657d8ab 100644 --- a/tests/debuginfo/option-like-enum.rs +++ b/tests/debuginfo/option-like-enum.rs @@ -1,4 +1,5 @@ -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ min-gdb-version: 13.0 //@ compile-flags:-g diff --git a/tests/debuginfo/pretty-std.rs b/tests/debuginfo/pretty-std.rs index d4cb2f6625f4..bf3102993d89 100644 --- a/tests/debuginfo/pretty-std.rs +++ b/tests/debuginfo/pretty-std.rs @@ -2,7 +2,8 @@ //@ ignore-windows-gnu: #128981 //@ ignore-android: FIXME(#10381) //@ compile-flags:-g -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ min-cdb-version: 10.0.18317.1001 //@ ignore-backends: gcc diff --git a/tests/debuginfo/strings-and-strs.rs b/tests/debuginfo/strings-and-strs.rs index afb8b873ca08..165cfcd968a6 100644 --- a/tests/debuginfo/strings-and-strs.rs +++ b/tests/debuginfo/strings-and-strs.rs @@ -1,5 +1,6 @@ //@ min-gdb-version: 14.0 -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ compile-flags:-g //@ disable-gdb-pretty-printers diff --git a/tests/debuginfo/struct-in-enum.rs b/tests/debuginfo/struct-in-enum.rs index 02b2e6eb4cb7..89620c31a04f 100644 --- a/tests/debuginfo/struct-in-enum.rs +++ b/tests/debuginfo/struct-in-enum.rs @@ -1,4 +1,5 @@ -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ compile-flags:-g //@ disable-gdb-pretty-printers diff --git a/tests/debuginfo/struct-style-enum.rs b/tests/debuginfo/struct-style-enum.rs index e3d6c64c36aa..7e38a5dcd079 100644 --- a/tests/debuginfo/struct-style-enum.rs +++ b/tests/debuginfo/struct-style-enum.rs @@ -1,4 +1,5 @@ -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ compile-flags:-g //@ disable-gdb-pretty-printers //@ ignore-backends: gcc diff --git a/tests/debuginfo/tuple-style-enum.rs b/tests/debuginfo/tuple-style-enum.rs index 7541b8aa3c6b..0a06370c979e 100644 --- a/tests/debuginfo/tuple-style-enum.rs +++ b/tests/debuginfo/tuple-style-enum.rs @@ -1,4 +1,5 @@ -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ compile-flags:-g //@ disable-gdb-pretty-printers diff --git a/tests/debuginfo/unique-enum.rs b/tests/debuginfo/unique-enum.rs index 3cc9b7774193..3bc6ce259655 100644 --- a/tests/debuginfo/unique-enum.rs +++ b/tests/debuginfo/unique-enum.rs @@ -1,4 +1,5 @@ -//@ min-lldb-version: 1800 +// LLDB 1800+ tests were not tested in CI, broke, and now are disabled +//@ ignore-lldb //@ compile-flags:-g //@ disable-gdb-pretty-printers