Add support for more instruction prefixes so we can intercept functions in the VS2013 RTL

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200366 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix asan_device_setup.sh failure on userdebug Android.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200382 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] experimental intercetor for __tls_get_addr. So far it does nothing interesting, actual usage will come later. See https://groups.google.com/forum/#!topic/address-sanitizer/BfwYD8HMxTM for background

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200384 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] fix build on Mac (hopefully)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200386 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] increase the buffer size for printing asan legend, add a test for legend

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200387 91177308-0d34-0410-b5e6-96231b3b80d8
Remove -arm-enable-ehabi from Android build rules. It's enabled by default.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200392 91177308-0d34-0410-b5e6-96231b3b80d8
Optimized implementation of __clzdi2 and __clzsi2 for ARM. Written in
collaboration with Matt Thomas.

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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200394 91177308-0d34-0410-b5e6-96231b3b80d8
Move JMP/JMPc definition into assembly.h's ARM block.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200396 91177308-0d34-0410-b5e6-96231b3b80d8
Support ARMv4 in the remaining non-VFP routines.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200397 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] disable __tls_get_addr interceptor while I am investigating why it causes trouble; few more debugging 

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200462 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] re-enable __tls_get_addr interceptor with a proper fix (use __attribute__((tls_model(initial-exec))))

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200463 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Intercept *getxattr and *listxattr.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200464 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Fix typo that breaks shmctl() interceptor.

https://code.google.com/p/address-sanitizer/issues/detail?id=259


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200468 91177308-0d34-0410-b5e6-96231b3b80d8
Add an /FS flag to the ASan RTL CMake to make it buildable with VS2013

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200474 91177308-0d34-0410-b5e6-96231b3b80d8
Copy&paste errors. Found by Thomas Klausner.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200477 91177308-0d34-0410-b5e6-96231b3b80d8
Add an /FS flag to the sanitizer_common CMake to make it buildable with VS2013

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200480 91177308-0d34-0410-b5e6-96231b3b80d8
Add an /FS flag to the lib/interception CMake to make it buildable with VS2013 too

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200482 91177308-0d34-0410-b5e6-96231b3b80d8
Quick-fix a typo

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200483 91177308-0d34-0410-b5e6-96231b3b80d8
Move /FS to SANITIZER_COMMON_CFLAGS

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200485 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix Go build
Go linker does not like function-static objects.



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