diff options
author | Tom Tromey <tromey@adacore.com> | 2020-09-15 09:27:01 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-09-15 09:27:01 -0600 |
commit | 08cc37dd042338209c8e2aa5db04aef2ecb5c62b (patch) | |
tree | d53ceebe483d7a77b4701254429be25206f54432 /gdb/python/py-record-btrace.c | |
parent | cbe256847e19f044039afeba7b152ef19d9e0635 (diff) | |
download | gdb-08cc37dd042338209c8e2aa5db04aef2ecb5c62b.zip gdb-08cc37dd042338209c8e2aa5db04aef2ecb5c62b.tar.gz gdb-08cc37dd042338209c8e2aa5db04aef2ecb5c62b.tar.bz2 |
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.
Diffstat (limited to 'gdb/python/py-record-btrace.c')
0 files changed, 0 insertions, 0 deletions