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

Alexander Potapenko glider at google.com
Thu Dec 29 02:42:17 PST 2011


(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 --------------
A non-text attachment was scrubbed...
Name: asan-unwind-tables.patch
Type: text/x-patch
Size: 391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111229/c2d79ca1/attachment.bin>


More information about the llvm-dev mailing list