llvm-project/compiler-rt/lib
Vitaly Buka 3f1fd7988c [asan] Workaround to avoid hangs in Chromium tests
Summary:
For some reasons on Chromium when we start leak checking we get own pid as 1.
After that we see threads with PPID:0 assuming that thread is dead in infinite
loop.

To resolve particularly this case and possible issues like this, when IsAlive check failed to detect thread status, we need to limit the number of SuspendAllThreads
iterations.

Reviewers: eugenis

Subscribers: kubamracek, llvm-commits

Differential Revision: https://reviews.llvm.org/D46852

llvm-svn: 332319
2018-05-15 01:39:13 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [ASan] Fix range check in AddrIsInHighShadow 2018-05-11 14:23:39 +00:00
builtins Add basic compiler-rt builtins support for hexagon. 2018-05-09 14:44:54 +00:00
cfi [sanitizer] Build failures fixes post D45457 2018-04-16 16:58:34 +00:00
dfsan [dfsan] add one more sanitizer-coverage hook to the whitelist 2018-05-09 18:35:09 +00:00
esan [sanitizer] Replace InternalScopedBuffer with InternalMmapVector 2018-05-07 05:56:36 +00:00
fuzzer [libFuzzer] deprecate equivalence_server 2018-05-15 01:15:47 +00:00
hwasan [CMake] Build shared version of runtimes for Fuchsia 2018-05-09 21:24:06 +00:00
interception [winasan] Update GetInstructionSize for Win10 1803 2018-05-11 14:31:14 +00:00
lsan [lsan] Report unsuspended threads 2018-05-09 23:02:14 +00:00
msan [CMake] Build shared version of runtimes for Fuchsia 2018-05-09 21:24:06 +00:00
profile [CMake] Build shared version of runtimes for Fuchsia 2018-05-09 21:24:06 +00:00
safestack [sanitizer] Remove unneeded blank lines 2018-05-09 00:44:26 +00:00
sanitizer_common [asan] Workaround to avoid hangs in Chromium tests 2018-05-15 01:39:13 +00:00
scudo [scudo] Adding an interface function to print allocator stats 2018-04-25 18:52:29 +00:00
stats [sanitizer] Replace InternalScopedBuffer with InternalMmapVector 2018-05-07 05:56:36 +00:00
tsan [tsan] Add debugging API to retrieve the "external tag" from reports 2018-05-10 21:46:00 +00:00
ubsan [CMake] Build shared version of runtimes for Fuchsia 2018-05-09 21:24:06 +00:00
ubsan_minimal [CMake] Build shared version of runtimes for Fuchsia 2018-05-09 21:24:06 +00:00
xray [XRay][profiler] Part 2: XRay Function Call Trie 2018-05-15 00:42:36 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00