2
0
mirror of https://sourceware.org/git/binutils-gdb.git synced 2024-12-21 04:42:53 +08:00
binutils-gdb/gdb/compile
Tom Tromey 98badbfdc2 Use gdb_bfd_ref_ptr in objfile
This changes struct objfile to use a gdb_bfd_ref_ptr.  In addition to
removing some manual memory management, this fixes a use-after-free
that was introduced by the registry rewrite series.  The issue there
was that, in some cases, registry shutdown could refer to memory that
had already been freed.  This help fix the bug by delaying the
destruction of the BFD reference (and thus the per-bfd object) until
after the registry has been shut down.
2022-08-03 13:26:58 -06:00
..
compile-c-support.c
compile-c-symbols.c
compile-c-types.c
compile-c.h
compile-cplus-symbols.c
compile-cplus-types.c
compile-cplus.h
compile-internal.h
compile-loc2c.c
compile-object-load.c
compile-object-load.h
compile-object-run.c
compile-object-run.h
compile.c
compile.h
gcc-c-plugin.h
gcc-cp-plugin.h