[libc-commits] [libc] [libc] Expand usage of libc null checks. (PR #116262)

via libc-commits libc-commits at lists.llvm.org
Fri Apr 25 05:24:23 PDT 2025


lntue wrote:

> @lntue can you please check the tests out when you have the time 👀

```
[ RUN      ] LlvmLibcMemRChrTest.CrashOnNullPtr
/home/runner/work/llvm-project/llvm-project/libc/test/src/string/memrchr_test.cpp:121: FAILURE
              Expected: []() { __llvm_libc_21_0_0_git::memrchr(nullptr, 'd', 1); }
To be killed by signal: 4
              Which is: Illegal instruction
  But it was killed by: 5
              Which is: Trace/breakpoint trap
```
Looks like the test needs to be updated?

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


More information about the libc-commits mailing list