<rdar://problem/11668446> Add .subsections_via_symbols to Darwin assembly files

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160062 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] use internal_strnlen in strncpy interceptor (the bug found while booting chromium)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160171 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add missing test for Go runtime


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160258 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: allow to pass CFLAGS to Go runtime build script


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160259 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] implement straightforward nlogn sorting, as qsort() may call malloc, which leads to deadlock in ASan allocator

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

tsan: port Go runtime to Darwin


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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160267 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: Go runtime: support goroutine end event


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160282 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: increase number of dead threads for Go


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160283 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: use dynamic shadow stack for Go


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160288 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: treat malloc() as memory access in Go


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160289 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add platform suffix to Go runtime library


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160304 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] get rid of the last operator new call in asan rtl

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160347 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] cleanup header comments

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160359 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] add missing unit test for flag parsing (forgot to run svn add before)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160428 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] fix confusing error message in CheckFailed

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160435 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] minor enhancements in the new tsan allocator and a test malloc replacement library that can be linked to any program to replace malloc (tested on spec2006)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160436 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] When obtaining the data for loaded modules, add address ranges of loadable segments only. Looks like address range of PT_TLS segment may intersect with loadable segments of other modules.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160498 91177308-0d34-0410-b5e6-96231b3b80d8
Suppress the stderr output from atos.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160502 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] minor fixes in tsan allocator and its testlib. Now runs fine with chrome

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