[PATCH] tsan: support C++ exceptions

David Majnemer david.majnemer at gmail.com
Fri Jun 26 08:44:07 PDT 2015


On Fri, Jun 26, 2015 at 6:21 AM, Dmitry Vyukov <dvyukov at google.com> wrote:

> Uh, a bit more involved than I hoped.
> Do you mean code in lib/CodeGen/ShadowStackGCLowering.cpp:EscapeEnumerator?
> How do I determine whether a Call can throw or not? Do I just assume the
> worst and replace all calls?
>

There is a function for it, Instruction::mayThrow:
http://llvm.org/docs/doxygen/html/classllvm_1_1Instruction.html#a4d08c64d4e1caf51f9265e05f5412ba9


> Thanks
>
>
> http://reviews.llvm.org/D10740
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150626/0777edbf/attachment.html>


More information about the llvm-commits mailing list