diff options
author | Tom Tromey <tom@tromey.com> | 2020-02-12 15:45:08 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-02-12 15:51:58 -0700 |
commit | 0d404d447ae34e31bdf58ba09c5d3254db3766e1 (patch) | |
tree | ee47cdf3f464aba9c516d2ea46fa4885f64d9432 /gdbsupport/common-debug.cc | |
parent | a7a3ae5c02d6d8711c2c336b9b809d05211fc497 (diff) | |
download | binutils-0d404d447ae34e31bdf58ba09c5d3254db3766e1.zip binutils-0d404d447ae34e31bdf58ba09c5d3254db3766e1.tar.gz binutils-0d404d447ae34e31bdf58ba09c5d3254db3766e1.tar.bz2 |
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.
Diffstat (limited to 'gdbsupport/common-debug.cc')
0 files changed, 0 insertions, 0 deletions