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

Kostya Serebryany kcc at google.com
Tue Dec 27 15:36:22 PST 2011


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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111227/db840bee/attachment.html>


More information about the llvm-commits mailing list