[llvm-commits] [PATCH] AddressSanitizer: allow disabling __cxa_throw at runtime

Alexander Potapenko glider at google.com
Wed Dec 28 07:56:31 PST 2011


On Wed, Dec 28, 2011 at 5:18 PM, Alexander Potapenko <glider at google.com> wrote:
> The attached patch introduces the wrap_cxa_throw flag that should help
> us to build Chrome while
> http://code.google.com/p/address-sanitizer/issues/detail?id=23 is not
> fixed (tl;dr: wrapping __cxa_throw possibly affects stack unwinding
> and exception handling).
>
Actually it looks like Chrome does not work with wrap___cxa_throw
either, so we'll need to disable it on Mac.
Kostya, is it safe to do so, or this will lead to false positives?



More information about the llvm-commits mailing list