llvm-project/cross-project-tests/debuginfo-tests/llgdb-tests
OCHyams 5257efdc5b [cross-project-tests] XFAIL llgdb-tests when gdb can't read clang's DWARF
Tests in the `cross-project-tests/debuginfo-tests/llgdb-tests` directory run
gdb on non-darwin platforms. gdb versions less than 10.1 cannot parse the DWARF
v5 emitted by clang, and DWARF v5 is now the default, so these tests fail on
Linux with gdb versions less than 10.1. This patch lets us XFAIL the tests
under these conditions.

Add `gdb-clang-incompatibility` to the `available_features` in
`cross-project-tests/lit.cfg.py` when clang's default DWARF version is 5 or
greater and the gdb (if found) version is less than 10.1.

Discourse discussion:
https://llvm.discourse.group/t/gdb-10-1-cant-read-clangs-dwarf-v5/6035

Reviewed By: jmorse

Differential Revision: https://reviews.llvm.org/D118468
2022-02-09 10:53:35 +00:00
..
apple-accel.cpp
asan-blocks.c [cross-project-tests] XFAIL llgdb-tests when gdb can't read clang's DWARF 2022-02-09 10:53:35 +00:00
asan-deque.cpp [cross-project-tests] XFAIL llgdb-tests when gdb can't read clang's DWARF 2022-02-09 10:53:35 +00:00
asan.c [cross-project-tests] XFAIL llgdb-tests when gdb can't read clang's DWARF 2022-02-09 10:53:35 +00:00
block_var.m
blocks.m
foreach.m
forward-declare-class.cpp
lit.local.cfg
llgdb.py
nested-struct.cpp [cross-project-tests] XFAIL llgdb-tests when gdb can't read clang's DWARF 2022-02-09 10:53:35 +00:00
nrvo-string.cpp [cross-project-tests] XFAIL llgdb-tests when gdb can't read clang's DWARF 2022-02-09 10:53:35 +00:00
safestack.c [cross-project-tests] XFAIL llgdb-tests when gdb can't read clang's DWARF 2022-02-09 10:53:35 +00:00
sret.cpp [cross-project-tests] XFAIL llgdb-tests when gdb can't read clang's DWARF 2022-02-09 10:53:35 +00:00
static-member-2.cpp [cross-project-tests] XFAIL llgdb-tests when gdb can't read clang's DWARF 2022-02-09 10:53:35 +00:00
static-member.cpp [cross-project-tests] XFAIL llgdb-tests when gdb can't read clang's DWARF 2022-02-09 10:53:35 +00:00
test_debuginfo.pl