tsan: allow to override OnPrint() callback in Go runtime



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192576 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Regression test for r192575.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192577 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Don't die with internal ASan error on large buffer overflows

Summary:
Out-of-bound access may touch not-yet allocated or already freed
and recycled from quarantine chunks. We should treat this situation as
a "free-range memory access" and avoid printing any data about that
irrelevant chunk (which may be inconsistent).

This should fix https://code.google.com/p/address-sanitizer/issues/detail?id=183

Reviewers: kcc

Reviewed By: kcc

CC: timurrrr, llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1893

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192581 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Intercept strto(d|f|ld)_l and glibc-specific __strto(d|f|ld)_l.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192583 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Improve thread lifetime tracking on POSIX systems.

Call AsanThread::Destroy() from a late-running TSD destructor.
Previously we called it before any user-registered TSD destructors, which caused
false positives in LeakSanitizer.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192585 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Remove a long-outdated comment.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192592 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Support ASan's stack-use-after-return mode in LSan.

Treat the fake stack as live memory.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192593 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Test for r192599.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192600 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Make test from r192581 Linux-only, as wild memory contents is less predictable on Mac

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