Tom Tromey 7f032bbedf Require trivial destructor in allocate_on_obstack
This patch makes allocate_on_obstack a little bit safer, by enforcing
the rule that objects allocated on an obstack must have a trivial
destructor.

The static assert is done in a method -- doing it inside the class
itself won't work because the class is incomplete at that point.
2024-03-21 12:21:24 -06:00
..
2023-11-15 12:53:04 +00:00
2024-02-27 10:30:29 -07:00
2024-02-27 10:30:29 -07:00
2023-11-15 12:53:04 +00:00
2024-02-27 09:46:31 -07:00
2024-02-27 09:46:31 -07:00

This is a helper library that is used by gdb and gdbserver.

To send patches, follow the gdb patch submission instructions in
../gdb/CONTRIBUTE.  For maintainers, see ../gdb/MAINTAINERS.