1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 03:53:43 +01:00
libunwind-eh_elf/tests
Paul Pluzhnikov 9626d66019 Fix a race condition in dwarf unwinding.
Original code was accessing rs_cache memory without holding a lock
in some cases. If there was sufficient cache pressure, entry being
accessed may be overwritten by another thread, resulting in a data
race.

We now make a thread local copy of the data, before releasing the
lock. If we end up supporting UNW_CACHE_PER_THREAD properly
in the future, this memcpy should be unnecessary.
2009-11-24 15:18:48 -08:00
..
check-namespace.sh.in Implement _Unwind_GetIPInfo() as required by the C++ ABI 2009-04-02 22:22:05 -07:00
flush-cache.S [ARM] This patch add some missing bits on ARM platform. 2008-04-21 13:43:18 -06:00
forker.c Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
Gia64-test-nat.c Include "tdep-ia64/rse.h" instead of "ia64/rse.h". 2005-05-20 09:48:08 +00:00
Gia64-test-rbs.c (ARRAY_SIZE): Rename from NELEMS. 2005-05-20 09:48:08 +00:00
Gia64-test-readonly.c Make libunwind compile with recent versions of GAS. 2006-07-25 21:34:32 -06:00
Gia64-test-stack.c Rename: tests/ia64-test-stack.c -> tests/Gia64-test-stack.c 2003-02-22 03:08:22 +00:00
Gperf-simple.c Tweak such that GCC v4 doesn't optimize it to the point where the 2005-05-03 09:13:17 +00:00
Gtest-bt.c Reduce stack use and apply CONFIG_DEBUG_FRAME to more code. 2009-10-07 12:51:03 -07:00
Gtest-concurrent.c Fix tests/Gtest-concurrent.c to test all caching policies 2009-11-24 11:12:49 -08:00
Gtest-dyn1.c Fix another compiler warning. 2009-10-16 14:26:55 -07:00
Gtest-exc.c Include "config.h" and <ia64intrin.h> if we have them. 2005-05-03 09:13:17 +00:00
Gtest-init.cxx Print normal output only if "verbose" mode is requested. 2003-09-25 05:29:14 +00:00
Gtest-nomalloc.c Verify that we don't call malloc when unwinding locally. 2009-03-16 21:34:48 -07:00
Gtest-resume-sig.c (handler): get_bsp() returns an integer, not a pointer. 2005-05-03 09:13:17 +00:00
ia64-dyn-asm.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
ia64-test-dyn1.c (create_func): Change %Zu to %zu. 2004-05-12 20:54:56 +00:00
ia64-test-nat-asm.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
ia64-test-rbs-asm.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
ia64-test-rbs.h (Logical change 1.47) 2003-02-14 06:25:36 +00:00
ia64-test-readonly-asm.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
ia64-test-setjmp.c [IA64] Fix ia64-test-setjmp.c. With MAP_SHARED the kernel will try to 2007-08-09 16:26:58 -06:00
ia64-test-sig.c Fix up a little so it's silent by default. 2004-08-31 13:59:10 +00:00
ia64-test-stack-asm.S Mark Wielaard <mwielaard@redhat.com> writes: 2007-10-01 08:35:01 -06:00
ia64-test-stack.h Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
ident.c (Logical change 1.276) 2004-10-15 13:48:38 +00:00
Lia64-test-nat.c Regenerate. 2004-05-04 22:19:18 +00:00
Lia64-test-rbs.c Regenerate. 2004-05-04 22:19:18 +00:00
Lia64-test-readonly.c (Logical change 1.231) 2004-05-06 20:26:29 +00:00
Lia64-test-stack.c Regenerate. 2004-05-04 22:19:18 +00:00
Lperf-simple.c Regenerate. 2004-05-04 22:19:18 +00:00
Ltest-bt.c (Logical change 1.270) 2004-09-15 11:37:04 +00:00
Ltest-concurrent.c Regenerate. 2004-05-04 22:19:18 +00:00
Ltest-dyn1.c Regenerate. 2004-05-04 22:19:18 +00:00
Ltest-exc.c Regenerate. 2004-05-04 22:19:18 +00:00
Ltest-init.cxx Regenerate. 2004-05-04 22:19:18 +00:00
Ltest-nomalloc.c Verify that we don't call malloc when unwinding locally. 2009-03-16 21:34:48 -07:00
Ltest-resume-sig.c Regenerate. 2004-05-04 22:19:18 +00:00
Makefile.am Fix a race condition in dwarf unwinding. 2009-11-24 15:18:48 -08:00
mapper.c 2007-03-20 Nurdin Premji <npremji@redhat.com> 2007-05-16 13:32:58 -06:00
perf-startup Make tests/perf-startup executable. Suggested by Mark Wielaard. 2007-12-10 09:34:57 -07:00
ppc64-test-altivec-utils.c Add PPC64 support. 2007-08-02 09:59:43 -06:00
ppc64-test-altivec.c Add PPC64 support. 2007-08-02 09:59:43 -06:00
ppc64-test-wchar.c Add PPC64 support. 2007-08-02 09:59:43 -06:00
rs-race.c Fix a race condition in dwarf unwinding. 2009-11-24 15:18:48 -08:00
run-check-namespace Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
run-ia64-test-dyn1 Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
run-ptrace-mapper Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
run-ptrace-misc Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
test-async-sig.c When libunwind is configured with --enable-block-signals=no, 2009-09-25 14:17:35 -07:00
test-flush-cache.c (Logical change 1.96) 2003-09-19 06:56:12 +00:00
test-init-remote.c (do_backtrace): Delete unused variable "pi". 2004-08-19 13:40:08 +00:00
test-mem.c Include <string.h> to get memset() declared. 2005-05-03 09:13:17 +00:00
test-proc-info.c (main): Fix a typo in the argument-checking code. 2005-05-03 09:13:17 +00:00
test-ptrace-misc.c (bar): Fix missing initialization warned on by GCC v4. 2005-05-03 09:13:17 +00:00
test-ptrace.c * tests/test-async-sig.c: Move "const" definition to separate area to keep 2007-05-16 13:19:46 -06:00
test-setjmp.c Add some more debug statements and fix some typos. 2003-09-25 05:08:18 +00:00
test-static-link-gen.c (test_generic): Fix "unused variable" warning. 2004-09-09 13:06:01 +00:00
test-static-link-loc.c (test_local): Use unw_context_t instead of ucontext_t. 2004-05-04 20:13:07 +00:00
test-strerror.c Bring git v0.98.5 tree in sync with released v0.98.5. 2006-07-25 21:32:28 -06:00
test-varargs.c (Logical change 1.21) 2002-11-09 03:59:27 +00:00