1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-23 16:07:37 +01:00

(dwarf_cie_info_pool): New variable.

(dwarf_init): Initialize dwarf_cie_info_pool.

(Logical change 1.290)
This commit is contained in:
mostang.com!davidm 2005-05-03 09:13:17 +00:00
parent bbe87ea403
commit 3239e7db60

View file

@ -1,5 +1,5 @@
/* libunwind - a platform-independent unwind library /* libunwind - a platform-independent unwind library
Copyright (c) 2003 Hewlett-Packard Development Company, L.P. Copyright (c) 2003-2004 Hewlett-Packard Development Company, L.P.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com> Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind. This file is part of libunwind.
@ -26,10 +26,12 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "dwarf.h" #include "dwarf.h"
HIDDEN struct mempool dwarf_reg_state_pool; HIDDEN struct mempool dwarf_reg_state_pool;
HIDDEN struct mempool dwarf_cie_info_pool;
HIDDEN int HIDDEN int
dwarf_init (void) dwarf_init (void)
{ {
mempool_init (&dwarf_reg_state_pool, sizeof (dwarf_reg_state_t), 0); mempool_init (&dwarf_reg_state_pool, sizeof (dwarf_reg_state_t), 0);
mempool_init (&dwarf_cie_info_pool, sizeof (struct dwarf_cie_info), 0);
return 0; return 0;
} }