[clang] [llvm] Modify BoundsSan to improve debuggability (PR #65972)
Vitaly Buka via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 29 11:55:19 PST 2024
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
More information about the cfe-commits
mailing list