Alexander Potapenko
2011-Dec-29 10:42 UTC
[LLVMdev] [PATCH] AddressSanitizer: emit the unwind tables for the runtime library.
(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>
Kostya Serebryany
2011-Dec-29 17:32 UTC
[LLVMdev] [PATCH] AddressSanitizer: emit the unwind tables for the runtime library.
r147341. 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>
Seemingly Similar Threads
- [LLVMdev] Verifying unwind info/debugging a crash in _Unwind_Backtrace() on OSX
- [LLVMdev] [PATCH] AddressSanitizer: force the __asan_unregister_globals to reside in the runtime library
- [LLVMdev] [PATCH] Add the disable_aslr option that will disable the address space layout randomization under AddressSanitizer on 10.6
- [LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
- [LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"