Add a copy of missing <ucontext.h> for Android and enable ASan SEGV handler.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 10 Feb 2014 13:34:43 +0000 (13:34 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 10 Feb 2014 13:34:43 +0000 (13:34 +0000)
commit6db97e82a4e1989bfd8ed49681a29c8eb0fd7f27
treea226bb6a7399d6b9dd1ed0c641efe08da3226b78
parent48ee75b7e36af08c2e2b49e086afac01a96d7bf1
Add a copy of missing <ucontext.h> for Android and enable ASan SEGV handler.

This change adds a copy of <ucontext.h> for Android found in google-breakpad
that is missing from the official NDK.
ASan SEGV handler is still disabled by default and can be enabled with
ASAN_OPTIONS=handle_segv.

llvm-svn: 201084
compiler-rt/CMakeLists.txt
compiler-rt/lib/asan/CMakeLists.txt
compiler-rt/lib/asan/asan_linux.cc
compiler-rt/third_party/android/LICENSE.TXT [new file with mode: 0644]
compiler-rt/third_party/android/README.LLVM [new file with mode: 0644]
compiler-rt/third_party/android/include/sys/ucontext.h [new file with mode: 0644]
compiler-rt/third_party/android/include/ucontext.h [new file with mode: 0644]