[UBSan][MIPS] Adding support of MIPS64 in UBSan testing

On mips64 addresses are 40-bit. Where as a 48 bit address is used in TypeCheck/misaligned.cpp.
Using regular expression for that address.

reviewed by : samsonov
submitted by: sagar

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224242 91177308-0d34-0410-b5e6-96231b3b80d8
[ubsan][arm] supporting misaligned testcase

After previous commit: http://reviews.llvm.org/rL224242, misaligned testcase is now supported on ARM also

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224243 91177308-0d34-0410-b5e6-96231b3b80d8
profile: Add the relevant parts of lib/profile to cc_kext on darwin

Patch by Lawrence D'Anna. Thanks!

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224270 91177308-0d34-0410-b5e6-96231b3b80d8
Update lib/profile tests for metadata assembly change

Running the upgrade script from PR21532.  Hopefully this will unstick
compiler-rt bots [1] after r224257.

[1]: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA_check/181/

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224276 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] introduce __sanitizer_set_death_callback, deprecate __asan_set_death_callback

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224286 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Allow to atomically modify malloc_context_size at runtime.

Summary:
Introduce __asan::malloc_context_size atomic that is used to determine
required malloc/free stack trace size. It is initialized with
common_flags()->malloc_context_size flag, but can later be overwritten
at runtime (e.g. when ASan is activated / deactivated).

Test Plan: regression test suite

Reviewers: kcc, eugenis

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6645

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224305 91177308-0d34-0410-b5e6-96231b3b80d8
Fix data symbolization with libbacktrace. Patch by Jakub Jelinek!

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224308 91177308-0d34-0410-b5e6-96231b3b80d8
Add an MACOS_VERSION_UNKNOWN_NEWER enum value for OS X versions above 10.10.

We recently had a broken version check because an newer OS X version is treated as MACOS_VERSION_UNKNOWN which is less than all the defined values. Let's have a separate enum value for unknown but newer versions, so the ">=" and "<=" version checks still work even in upcoming OS X releases.

Reviewed at http://reviews.llvm.org/D6137



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

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