commit | d15acc425222d23f9224bca4299319179a479801 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Sat Feb 08 13:40:54 2020 -0700 |
committer | Tom Tromey <tom@tromey.com> | Sat Feb 08 13:43:24 2020 -0700 |
tree | ed2c4b70aa8b9f17db85c99ec2016aebc9c97213 | |
parent | eaa5fa8b291fed6f97c315680953ca94d4eafb72 [diff] |
Change dwarf2_per_objfile::line_header_hash to htab_up This changes dwarf2_per_objfile::line_header_hash to be an htab_up, and changes it to use heap allocation. 2020-02-08 Tom Tromey <tom@tromey.com> * dwarf2/read.c (~dwarf2_per_objfile): Don't delete line_header_hash. (handle_DW_AT_stmt_list): Update. Don't allocate on obstack. * dwarf2/read.h (struct dwarf2_per_objfile) <line_header_hash>: Change type to htab_up. Change-Id: Icb148a270838c0f96f38fc4a28b5b77d067927b6