1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-08 02:18:11 +01:00
libunwind-eh_elf/include
Simon Atanasyan 5b37b3cff1 Fix intermittent failures of Lrs-race test case
After the following change the Lrs-race test case starts to intermittently
fails:

eac65dc Add basic support for the QNX operating system

When we include "config.h" into the "libunwind_i.h" we undefine
the HAVE___THREAD macro in a few lines below in #include "config.h"
pragma. The change eac65dc includes "config.h" into the "dwarf.h"
but forgets to undefine HAVE___THREAD. So now this macro has inconsistent
state among the code. Somewhere it is defined, somewhere not. In particular
it becomes defined in the mi/Gset_caching_policy.c and we do not replace
UNW_CACHE_PER_THREAD caching policy by the UNW_CACHE_GLOBAL.

The fix is rather dirty. It adds the code to undefine HAVE___THREAD in
the "dwarf.h" like we do that in the "libunwind_i.h". Probably the ideal
solution should fix per-thread caching implementation or turned it off
at all on platforms where it is not completely and correctly supported.

Signed-off-by: Simon Atanasyan <simon@atanasyan.com>
2014-10-24 22:05:46 -07:00
..
tdep Add TileGx platform support to libunwind. 2014-09-08 16:21:53 -04:00
tdep-aarch64 One time whitespace fixup. 2014-09-27 09:47:23 -07:00
tdep-arm One time whitespace fixup. 2014-09-27 09:47:23 -07:00
tdep-hppa One time whitespace fixup. 2014-09-27 09:47:23 -07:00
tdep-ia64 One time whitespace fixup. 2014-09-27 09:47:23 -07:00
tdep-mips One time whitespace fixup. 2014-09-27 09:47:23 -07:00
tdep-ppc32 One time whitespace fixup. 2014-09-27 09:47:23 -07:00
tdep-ppc64 One time whitespace fixup. 2014-09-27 09:47:23 -07:00
tdep-sh One time whitespace fixup. 2014-09-27 09:47:23 -07:00
tdep-tilegx Add TileGx platform support to libunwind. 2014-09-08 16:21:53 -04:00
tdep-x86 One time whitespace fixup. 2014-09-27 09:47:23 -07:00
tdep-x86_64 Store location type in local unwinding mode for x86_64 2014-10-04 09:04:08 -07:00
x86 One time whitespace fixup. 2014-09-27 09:47:23 -07:00
compiler.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
dwarf-eh.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
dwarf.h Fix intermittent failures of Lrs-race test case 2014-10-24 22:05:46 -07:00
dwarf_i.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-aarch64.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-arm.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-common.h.in Export unw_backtrace() and alias backtrace() to it. 2011-04-01 00:00:33 -07:00
libunwind-coredump.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-dynamic.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-hppa.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-ia64.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-mips.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-ppc32.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-ppc64.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-ptrace.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-sh.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-tilegx.h Add TileGx platform support to libunwind. 2014-09-08 16:21:53 -04:00
libunwind-x86.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind-x86_64.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
libunwind.h.in Add TileGx platform support to libunwind. 2014-09-08 16:21:53 -04:00
libunwind_i.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
mempool.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
remote.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00
unwind.h One time whitespace fixup. 2014-09-27 09:47:23 -07:00