[llvm-commits] [PATCH] asan-rt: add definitions for ucontext_t and friends on Android

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Dec 28 03:36:25 PST 2011


On Wed, Dec 28, 2011 at 3:36 AM, Kostya Serebryany <kcc at google.com> wrote:
> You are kidding :)
> Let's not put the definition of ucontext into asan-rt. Can't we really get
> it from somewhere in the system?
> If no, we can simply have
> # if defined(__arm__)
>   *pc = *sp = *bp = 0;
> These used to be required when asan worked through SIGILL. Not any more by
> default.
> I am actually considering to remove SIGILL-related code altogether (not 100%
> sure yet).
>
> --kcc
>
>
>
>
> On Wed, Dec 21, 2011 at 4:08 AM, Evgeniy Stepanov
> <eugeni.stepanov at gmail.com> wrote:
>>
>> Hi,
>>
>> libc headers on Android miss ucontext_t and friends. This patch adds
>> some compatible definitions.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ucontext.patch
Type: text/x-patch
Size: 1070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111228/35352518/attachment.bin>


More information about the llvm-commits mailing list