[LLVMdev] [PATCH] AddressSanitizer: emit the unwind tables for the runtime library.

Kostya Serebryany kcc at google.com
Thu Dec 29 09:32:58 PST 2011


On Thu, Dec 29, 2011 at 2:42 AM, Alexander Potapenko <glider at google.com>wrote:

> (see http://code.google.com/p/address-sanitizer/issues/detail?id=23)
> In order for exceptions to work correctly, it should be possible to
> unwind through the functions wrapped by ASan RTL (in particular,
> __cxa_throw())
> Because we intentionally build the runtime with -fno-exceptions, we
> need at least the unwind tables to support _Unwind_Backtrace().
> --
> Alexander Potapenko
> Software Engineer
> Google Moscow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111229/58d336c8/attachment.html>

More information about the llvm-dev mailing list