]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Add per-unit obstack
authorTom Tromey <tom@tromey.com>
Wed, 12 Feb 2020 22:45:08 +0000 (15:45 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 12 Feb 2020 22:51:58 +0000 (15:51 -0700)
commit0d404d447ae34e31bdf58ba09c5d3254db3766e1
treeee47cdf3f464aba9c516d2ea46fa4885f64d9432
parenta7a3ae5c02d6d8711c2c336b9b809d05211fc497
Add per-unit obstack

This adds an auto_obstack to the DWARF frame comp_unit object, and
then changes the remaining code here to use the comp_unit obstack
rather than the objfile obstack.

At this point, all the storage for frame data is self-contained --
that is, it is independent of the objfile.

gdb/ChangeLog
2020-02-12  Tom Tromey  <tom@tromey.com>

* dwarf2/frame.c (struct comp_unit) <obstack>: New member.
(decode_frame_entry_1): Use the comp_unit obstack.
gdb/ChangeLog
gdb/dwarf2/frame.c