mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-11 03:23:43 +01:00
Include "libunwind_i.h" instead of "tdep.h".
Include "mempool.h". (dwarf_reg_state_pool): Move here from dwarf.h. (dwarf_cie_info_pool): Likewise. Include "libunwind_i.h" instead of "tdep.h". (Logical change 1.294)
This commit is contained in:
parent
67f90c24be
commit
3ad4903154
1 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,8 @@
|
||||||
files are compiled with inlining disabled. */
|
files are compiled with inlining disabled. */
|
||||||
|
|
||||||
#include "dwarf.h"
|
#include "dwarf.h"
|
||||||
#include "tdep.h"
|
#include "libunwind_i.h"
|
||||||
|
#include "mempool.h"
|
||||||
|
|
||||||
#ifndef dwarf_to_unw_regnum
|
#ifndef dwarf_to_unw_regnum
|
||||||
# define dwarf_to_unw_regnum_map UNW_OBJ (dwarf_to_unw_regnum_map)
|
# define dwarf_to_unw_regnum_map UNW_OBJ (dwarf_to_unw_regnum_map)
|
||||||
|
@ -19,6 +20,9 @@
|
||||||
(((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0)
|
(((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern struct mempool dwarf_reg_state_pool;
|
||||||
|
extern struct mempool dwarf_cie_info_pool;
|
||||||
|
|
||||||
#ifdef UNW_LOCAL_ONLY
|
#ifdef UNW_LOCAL_ONLY
|
||||||
|
|
||||||
/* In the local-only case, we can let the compiler directly access
|
/* In the local-only case, we can let the compiler directly access
|
||||||
|
|
Loading…
Reference in a new issue