[compiler-rt] r201084 - Add a copy of missing <ucontext.h> for Android and enable ASan SEGV handler.

Chandler Carruth chandlerc at google.com
Mon Mar 3 23:54:13 PST 2014

On Mon, Feb 10, 2014 at 5:34 AM, Evgeniy Stepanov <eugeni.stepanov at gmail.com
> wrote:

> Author: eugenis
> Date: Mon Feb 10 07:34:43 2014
> New Revision: 201084
> URL: http://llvm.org/viewvc/llvm-project?rev=201084&view=rev
> Log:
> 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.
> Added:
>     compiler-rt/trunk/third_party/
>     compiler-rt/trunk/third_party/android/
>     compiler-rt/trunk/third_party/android/LICENSE.TXT   (with props)

Evgeniy, this seems a somewhat concerning development. This adds a second
license which impacts any code that links in the sanitizer runtimes. Is
that really OK? The license is not the same as the MIT license under which
compiler-rt is (dual) licensed to make the impact on software built with
clang absolutely minimal.

I've added Danny to help clarify whether this poses a problem in practice,
or if this is reasonably well isolated from the standard usage of asan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140303/19a0bba4/attachment.html>

More information about the llvm-commits mailing list