filcab added a comment.

In http://reviews.llvm.org/D19666#422150, @ygribov wrote:

> Can we have generic option for other sanitizers?


Do other sanitizers emit paths this way?
For ASan, for example, we end up emitting them only when there are global 
constructors involved, where we'd emit an __asan_global.
I don't know much about msan and tsan, but I'd think it wouldn't make as much a 
difference as this does in ubsan, since ubsan basically emits checks in every 
(non-trivial) file you compile.

I'm not opposed to doing it for other sanitizers, but the better option would 
be to measure first to see if it's useful. If it is, then deprecate this flag 
and do a more generic one.
BTW, how would we pass this information along to llvm-land so the other 
sanitizers could use it? Is there a mechanism already in place?


http://reviews.llvm.org/D19666



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

Reply via email to