Clean up some warnings that become errors. Seen in Xcode.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170843 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: use clang in cmake build + add -Werror


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170844 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add lit test with statically linker libstdc++


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170866 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] add a flag alloc_dealloc_mismatch (off by default for now) which finds malloc/delete, new/free, new/delete[], etc mismatches

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170869 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Don't implicitly add object files to the list of dependencies when building compiler_rt unittests. Fix sanitizer_common and asan build rules accordingly. This also fixes check-sanitizer command on Ninja.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170870 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: disable checks for limited address space and unlimited stack for Go


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170876 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix lint warnings


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170877 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Fix another FileCheck pattern to be c++filt-proof.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170878 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add a high-level comment to tsan_interface_java.h


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170881 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: java: move shadow memory on GC compaction


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170882 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: update mutex table for java


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170884 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: update mutex lock table for java


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170885 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] asan_allocator2: better memory stats

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170888 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: less debug output


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170889 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix Java memory move operations and add the test


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170891 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: move common part of java tests into a separate header


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170892 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add a test for java memory move


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170893 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add java rwlock test


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170894 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] mmap less on every size class to make the allocator more friendly to small programs

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170895 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add java malloc stress test


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