1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-14 06:12:38 +02:00

(unw_addr_space): If HAVE_ATOMIC_OPS_H is defined, declare cache_generation

of type AO_T.  This is a temporary work-around until atomic_ops.h
	supports atomic ops on 32-bit variables.

(Logical change 1.123)
This commit is contained in:
hp.com!davidm 2003-11-24 21:37:22 +00:00
parent 92b48f5fe8
commit 8e36032bc5

View file

@ -93,7 +93,11 @@ struct unw_addr_space
int big_endian;
int abi; /* abi < 0 => unknown, 0 => SysV, 1 => HP-UX, 2 => Windows */
unw_caching_policy_t caching_policy;
#ifdef HAVE_ATOMIC_OPS_H
AO_T cache_generation;
#else
uint32_t cache_generation;
#endif
unw_word_t dyn_generation; /* see dyn-common.h */
unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */