This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Clear rust_unions in rust_union_quirks
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 14 May 2018 12:13:25 -0400
- Subject: [binutils-gdb] Clear rust_unions in rust_union_quirks
*** TEST RESULTS FOR COMMIT 2d79090eabe8aa972b07cb71a3dd73ef9498acfa ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 2d79090eabe8aa972b07cb71a3dd73ef9498acfa
Clear rust_unions in rust_union_quirks
It turns out that a dwarf2_cu can remain allocated after psymtab
expansion is done, and so it makes sense to clear rust_unions when
done processing it.
Tested on x86-64 Fedora 27.
2018-05-14 Tom Tromey <tom@tromey.com>
* dwarf2read.c (rust_union_quirks): Clear rust_unions.