tsan: add disabled test case for issue 87



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224422 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Stop calling pthread_getspecific in signal handlers.

pthread_getspecific is not async-signal-safe.

MsanThread pointer is now stored in a TLS variable, and the TSD slot
is used only for its destructor, and never from a signal handler.

This should fix intermittent CHECK failures in MsanTSDSet.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224423 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "Fix test cases given Clang's improved location information."

The Clang improevments were reverted due to failures created in an asan
bootstrap.

This reverts commit r224387.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224446 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Move flag parsing logic to asan_flags.cc. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224450 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] allow -fsanitize-coverage=N w/ -fsanitize=leak, compiler-rt part

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224464 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] add CombinedAllocator::InitIfLinkerInitialized and use it in lsan: speeds up lsan start-up time by ~25%

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224469 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Always build shared ASan runtime on Linux.

This commit changes the strategy for building shared ASan runtime
and the way we test it:
  - COMPILER_RT_BUILD_SHARED_ASAN CMake option is removed. We now
    always build shared ASan runtime (it is the default on Android,
    Windows and Mac, and not the default on Linux and FreeBSD).
  - Platforms, which use static runtime by default now have
    "check-asan-dynamic" testsuite. This testsuite contains instrumented
    unit tests, and ASan lit tests, and runs them with shared ASan
    runtime. This testsuite is *not* a part of "check-asan" and
    *not* a part of "check-all", as adding 1000 more test cases, which
    duplicate existing ones is costly. However, you're welcome to
    add this command to your buildbot.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224470 91177308-0d34-0410-b5e6-96231b3b80d8
Fix obvious cut&paste error on AArch64 Compiler-RT settings

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224472 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Add -ldl to linker invocation to lit tests that require it.

This fixes these tests under dynamic ASan runtime.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224473 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Mark test for -fsized-delete as XFAIL for dynamic runtime.

-fsized-delete is implemented via weak symbols, and doesn't work
properly when malloc/free replacements are provided in shared
ASan runtime.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224474 91177308-0d34-0410-b5e6-96231b3b80d8
Do not define CRT_HAS_128BIT for MIPS64

Do not define it for MIPS64 until its backend supports it.
See the bug report [1] for more information.

[1] http://llvm.org/bugs/show_bug.cgi?id=20098

Differential Revision: http://reviews.llvm.org/D6703


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224488 91177308-0d34-0410-b5e6-96231b3b80d8