Add test rdx, rdx to fix ASan tests on Mac OS 10.7 x64


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158312 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] remove obsolete header asan_procmaps.h

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158447 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] don't include deleted header

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158448 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Workaround for -Wunused-private-field warning - add an attribute in TSan unit test, and silence this warning as gtest has unused fields.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158449 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Move internal_memcmp to common sanitizer libc

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158450 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] move portable GetEnv to common sanitizer runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158451 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] move rest of mmap routines to common sanitizer runtime

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158465 91177308-0d34-0410-b5e6-96231b3b80d8
Don't build compiler-rt arm code on darwin. Fixes PR12918.

I'm not sure if this is the right fix, but this has been broken
for two weeks and pleas for review were ignored. It seems to do
the right thing.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158466 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix COMPAT mapping to not produce false reports


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158473 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] move DumpProcessMap and DisableCoreDumper to common runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158490 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] move more portability wrappers to common runtime: sleep, _exit, abort, atexit, pthread_self

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158493 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] move atomic ops, min/max and sort to commnon runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158496 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] move ShadowRangeIsAvailable and several defines to common runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158499 91177308-0d34-0410-b5e6-96231b3b80d8
[TSan] don't use too new __attribute__((unused)) for class member

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158500 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Use mmaped buffer in DumpProcessMaps to avoid large stack frames

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158502 91177308-0d34-0410-b5e6-96231b3b80d8
Free the allocated filename. Found by clang static analyzer.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158514 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc implementations of functions. Move strchr to sanitizer_libc.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158517 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] move all the rest re-implementations of libc functions from ASan runtime to common sanitizer runtime

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158519 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Use ProcessMaps in symbolizer to get module name and offset for instruction address

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