[clang] [UBSAN] Preserve ubsan code with ubsan-unique-traps (PR #83470)

Oskar Wirga via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 29 12:07:15 PST 2024


oskarwirga wrote:

> It happens later, in LLVM backend, it needs to be fixed.

>From https://github.com/llvm/llvm-project/pull/65972#issuecomment-1971855638

Is this something you have planned to fix? If not would replacing the .size() counter with perhaps a seeded random uint8 be acceptable? 

My use case prevents me from shipping the minimal runtime alongside the instrumentation so my goal was to create an improvement (definitely imperfect!) to the debugability of a production deployment of BoundsSan. This PR as is would revert that behavior entirely. 



https://github.com/llvm/llvm-project/pull/83470


More information about the cfe-commits mailing list