vitalybuka wrote:

> So long as the debuggability is preserved so that it is possible to attribute 
> crashes to specific lines of code, I am fine! Do you have an alternate 
> solution?

In  IR these traps are not de-duplicated with -ubsan-unique-traps
It happens later, in LLVM backend, it needs to be fixed.
Another alternative just to use function call, e.g using 
https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#minimal-runtime.


https://github.com/llvm/llvm-project/pull/65972
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to