]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
Avoid running one Rust test against older LLVM
authorTom Tromey <tromey@adacore.com>
Tue, 15 Sep 2020 15:27:01 +0000 (09:27 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 15 Sep 2020 15:27:01 +0000 (09:27 -0600)
commit08cc37dd042338209c8e2aa5db04aef2ecb5c62b
treed53ceebe483d7a77b4701254429be25206f54432
parentcbe256847e19f044039afeba7b152ef19d9e0635
Avoid running one Rust test against older LLVM

LLVM 8.0 introduced some changes to let the Rust compiler emit DWARF
variant parts.  Before this change, the compiler would emit two types
with the same name, and unfortunately gdb happens to pick the wrong
one.  So, this patch disables the test when using an older version of
LLVM.

gdb/testsuite/ChangeLog
2020-09-15  Tom Tromey  <tromey@adacore.com>

PR rust/26197:
* lib/rust-support.exp (rust_llvm_version): New proc.
* gdb.rust/simple.exp: Check rust_llvm_version.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.rust/simple.exp
gdb/testsuite/lib/rust-support.exp