Comment #6 on issue 302 by [email protected]: Add ability to forward SEGVs to ASAN handler
http://code.google.com/p/address-sanitizer/issues/detail?id=302

Glad I could help :)

For an example, see also https://bugzilla.mozilla.org/show_bug.cgi?id=857189

In particular the last hunk of the patch:

+# ifdef MOZ_ASAN
+// When running with asm.js under AddressSanitizer, we need to explicitely
+// tell AddressSanitizer to allow custom signal handlers because it will
+// otherwise trigger ASan's SIGSEGV handler for the internal SIGSEGVs that
+// asm.js would otherwise handle.
+extern "C" MOZ_ASAN_BLACKLIST
+const char* __asan_default_options() {
+    return "allow_user_segv_handler=1";
+}
+# endif

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to