[llvm] [cross-project-tests] Add `has-gdb` LIT feature (PR #188780)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 26 09:02:40 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions c,cpp -- cross-project-tests/debuginfo-tests/dexter-tests/memvars/const-branch.c cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/direction.cpp cross-project-tests/debuginfo-tests/llgdb-tests/forward-declare-class.cpp cross-project-tests/debuginfo-tests/llgdb-tests/nested-struct.cpp cross-project-tests/debuginfo-tests/llgdb-tests/nrvo-string.cpp cross-project-tests/debuginfo-tests/llgdb-tests/sret.cpp cross-project-tests/debuginfo-tests/llgdb-tests/static-member-2.cpp cross-project-tests/debuginfo-tests/llgdb-tests/static-member.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/direction.cpp b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/direction.cpp
index 47938a30c..1886e34e8 100644
--- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/direction.cpp
+++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/direction.cpp
@@ -10,8 +10,8 @@
// TODO: The dbgeng debugger does not support column step reporting at present.
// XFAIL: system-windows
//
-// TODO: fails in on Linux CI (https://github.com/llvm/llvm-project/issues/188775)
-// XFAIL: system-linux
+// TODO: fails in on Linux CI
+// (https://github.com/llvm/llvm-project/issues/188775) XFAIL: system-linux
//
// RUN: %dexter_regression_test_cxx_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
diff --git a/cross-project-tests/debuginfo-tests/llgdb-tests/nrvo-string.cpp b/cross-project-tests/debuginfo-tests/llgdb-tests/nrvo-string.cpp
index 4139a1d99..541f8adce 100644
--- a/cross-project-tests/debuginfo-tests/llgdb-tests/nrvo-string.cpp
+++ b/cross-project-tests/debuginfo-tests/llgdb-tests/nrvo-string.cpp
@@ -3,12 +3,10 @@
// This ensures that DW_OP_deref is inserted when necessary, such as when NRVO
// of a string object occurs in C++.
//
-// RUN: %clangxx -O0 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -g
-// RUN: %test_debuginfo %s %t.out
-// RUN: %clangxx -O1 -fno-exceptions %target_itanium_abi_host_triple %s -o %t.out -g
-// RUN: %test_debuginfo %s %t.out
-// XFAIL: !system-darwin && gdb-clang-incompatibility
-// PR34513
+// RUN: %clangxx -O0 -fno-exceptions %target_itanium_abi_host_triple %s -o
+// %t.out -g RUN: %test_debuginfo %s %t.out RUN: %clangxx -O1 -fno-exceptions
+// %target_itanium_abi_host_triple %s -o %t.out -g RUN: %test_debuginfo %s
+// %t.out XFAIL: !system-darwin && gdb-clang-incompatibility PR34513
volatile int sideeffect = 0;
void __attribute__((noinline)) stop() { sideeffect++; }
``````````
</details>
https://github.com/llvm/llvm-project/pull/188780
More information about the llvm-commits
mailing list