[asan] Add malloc_usable_size to android malloc dispatch.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210452 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Simplify tests.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210457 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Add a test for mmx.packuswb.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210458 91177308-0d34-0410-b5e6-96231b3b80d8
Fix line numbers for code inlined from __nodebug__ functions.

Instructions from __nodebug__ functions don't have file:line
information even when inlined into no-nodebug functions. As a result,
intrinsics (SSE and other) from <*intrin.h> clang headers _never_
have file:line information.

With this change, an instruction without !dbg metadata gets one from
the call instruction when inlined.

Fixes PR19001.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210459 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Intercept __strto*_internal.

This should fix strtoimax/strtoumax on newer glibc.
https://code.google.com/p/memory-sanitizer/issues/detail?id=36


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210463 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Remove dependency of tests on runtime library in standalone build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210465 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] Exclude blacklist tests from manual test runner

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210494 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Disable a flaky test.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210517 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Relax sanity checks in ioctl decoding.

Standard KVM ioctls don't pass currect ioctl_decode().


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210533 91177308-0d34-0410-b5e6-96231b3b80d8
Add detection of OS X relocatable SDK to compiler-rt as a lit.util function

Clang's lit cfg already detects the currently selected SDK via
"xcrun --show-sdk-path". The same thing should be done for compiler-rt tests,
to make them work on recent OS X versions. Instead of duplicating the detection
code, this patch extracts the detection function into a lit.util method.

Patch by Kuba Brecka (kuba.brecka@gmail.com),
reviewed at http://reviews.llvm.org/D4072


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@210534 91177308-0d34-0410-b5e6-96231b3b80d8
Merge pull request #10 from llvm-mirror/master

git pull