How to disable a UBSAN rule on std lib? #82500
Labels
compiler-rt:ubsan
Undefined behavior sanitizer
question
A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Hi Everyone 👋🏼
I experience this error with UBSAN:
So, I'd like to exclude the shift rule for this specific (as I don't have control over it).
So, as the documentation mention, I tried to pass a suppression file as
UBSAN_OPTIONS
:It did not exclude the error, my first attempt was:
Then the compiler spits an error:
I probably should have noticed something. It's probably the path, tho.
Full log:
The text was updated successfully, but these errors were encountered: