History log of /external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
8f4cece84c528071202daae54593981e7677dcf9 15-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: be silent if verbosity=0

Currently tests fail with:
Check failed: 'AAA' == 'AAA ==26017==Could not detach from thread 361395 (errno 3).'



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192711 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
5f4984db88b7b67539f62d7653b928aeadf91b16 15-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: move kernel struct definition from sanitizer_linux.h to sanitizer_platform_limits_posix.h



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192695 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
2191fcaa9658166c0c6e9c91013fefc015741395 15-Oct-2013 Sergey Matveev <earthdok@google.com> Clean up StopTheWorld code after r192686.

Remove outdated comments. Also remove code that handled an issue in libc's
sigaction(), which we don't use anymore.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192689 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
0f7a2acb3326a5900d1a1339ebf959b14b372e0d 15-Oct-2013 Dmitry Vyukov <dvyukov@google.com> tsan: implement internal syscall-based versions of sigaction/sigprocmask
use them in stoptheworld
fixes applications that intercept sigaction/sigprocmask




git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
d41fa1b7f2afe5dd78cd4e635e16fd5f079b0318 09-Oct-2013 Sergey Matveev <earthdok@google.com> [sanitizer] Fix the parent liveness check in StopTheWorld.

Comparing the parent PID with 1 isn't sufficient to ensure the parent is alive,
because of prctl(PR_SET_CHILD_SUBREAPER, ...). Compare with the real parent's
recorded PID instead.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192295 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
23a7a43da615bceedefe42b8398b82939e6eeb2d 08-Oct-2013 Sergey Matveev <earthdok@google.com> [sanitizer] Fix deadlock in StopTheWorld.

The tracer thread in StopTheWorld could wait on a mutex forever if the parent
process died before unlocking it. Use PR_SET_PDEATHSIG so that the parent would
kill the child in this scenario.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192210 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
cb339108cca40fb4c1ed520656cb6cb75889a237 02-Sep-2013 Sergey Matveev <earthdok@google.com> [sanitizer_common] Add internal_clone().

Add a wrapper for the clone syscall for use in StopTheWorld. We
implement it only for x86_64, so stop building StopTheWorld for other platforms
(no one uses it outside x86_64 anyway).

See https://code.google.com/p/address-sanitizer/issues/detail?id=214 for why we
can't use the glibc clone() wrapper.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189753 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
c154820b43052cfc54ee20752a3232aa8e6c7843 28-Aug-2013 Alexey Samsonov <samsonov@google.com> [sanitizer] fix code style

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189474 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
90629fb8072efc95e46a0cbc641293511fbaba2e 26-Aug-2013 Sergey Matveev <earthdok@google.com> [sanitizer] Handle Die() in StopTheWorld.

Handle calls to Die() from the tracer thread. Fixes a bug where a CHECK
could fail in the tracer thread, resulting in a call to AsanDie. The tracer
thread then exited and the parent process continued execution despite its
address space being in an unusable state.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189216 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
ec29e26885a224627c2523422760e415c02cf225 11-Jul-2013 Sergey Matveev <earthdok@google.com> [sanitizer] Remove optional arguments from clone() invocation.

Unbreaks compilation on older systems. Patch by Andy Jost.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@186103 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
5f672c4bd8485af39b6bbc3500a8f1b71de1002f 19-Jun-2013 Sergey Matveev <earthdok@google.com> [lsan] Prevent inlining of WipeStack().

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184312 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
c085fe807836b566b4fce7ccdfb307bb025693c5 19-Jun-2013 Sergey Matveev <earthdok@google.com> [lsan] Move symbolization and reporting out of StopTheWorld callback.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184303 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
40527a579131210fcfa2373620a0c2200800e7c4 03-Jun-2013 Kostya Serebryany <kcc@google.com> [asan] ASan Linux MIPS32 support (compiler-rt part), patch by Jyun-Yan Y

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183105 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
705e310b98e85f893a69bccad1a9c066e2f4c277 21-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Move stoptheworld to RTSanitizerCommonLibc.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182369 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc