[binutils-gdb] Clear rust_unions in rust_union_quirks

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Mon May 14 16:38:00 GMT 2018


*** 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.



More information about the Gdb-testers mailing list