2020-04-29 Sterling Augustine <saugustine@google.com>

* dwarf2/read.c (setup_type_unit_groups): Set list_in_scope.
This commit is contained in:
Sterling Augustine 2020-04-28 11:17:50 -07:00 committed by Eric Christopher
parent 44e33ab45d
commit 84ed7a4725
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2020-04-29 Sterling Augustine <saugustine@google.com>
* dwarf2/read.c (setup_type_unit_groups): Set list_in_scope.
2020-04-29 Tom Tromey <tromey@adacore.com>
PR ada/25875:

View File

@ -10942,6 +10942,7 @@ dwarf2_cu::setup_type_unit_groups (struct die_info *die)
= XOBNEWVEC (&COMPUNIT_OBJFILE (cust)->objfile_obstack,
struct symtab *, line_header->file_names_size ());
list_in_scope = get_builder ()->get_file_symbols ();
auto &file_names = line_header->file_names ();
for (i = 0; i < file_names.size (); ++i)
{