[libcxx-commits] [libcxxabi] [libc++abi] Don't do pointer arithmetic on nullptr (PR #119520)

Vitaly Buka via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 11 10:45:03 PST 2024


vitalybuka wrote:

> > @vitalybuka Why don't we run into this issue in our `-fsanitize=undefined` existing (pre-commit) CI bot?
> 
> I detected this after adding -fno-sanitize-recover=all to our bots, by default ubsan just prints a warning and moves on. So probably CI missing this as well

@ldionne 
Actually problem is that if we only rely on `-DLLVM_USE_SANITIZER=Undefined`
libcxxabi/src/private_typeinfo.cpp compiler without -fsanitize=undefined at all
I think entire cxxabi

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


More information about the libcxx-commits mailing list