rsmith added a comment.

In http://reviews.llvm.org/D12181#229358, @rsmith wrote:

> Can you please give a brief description of the motivation for this change? 
> When would it be appropriate to use this rather than `-ftrap-function`?


I'd still like an answer to this. It's not clear to me what the purpose of this 
is, and why you'd want a custom runtime hook for sanitizer traps but not other 
traps. The only time we emit a trap using `-ftrap-function` where there is no 
corresponding sanitizer is for `__builtin_trap()`; is the intention that you 
still want a normal trap for that builtin?


http://reviews.llvm.org/D12181



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to