[compiler-rt] [scudo] Always zero on linux even if the memory cannot be released. (PR #167788)

Mark Danial via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 17 05:37:50 PST 2025


madanial0 wrote:

The new test also fails on ppc64le starting with https://lab.llvm.org/buildbot/#/builders/145/builds/10835
```
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/runtimes/runtimes-bins/compiler-rt/lib/scudo/standalone/tests/./ScudoUnitTest-powerpc64le-Test --gtest_filter=ScudoMapTest.Zeroing
--
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/compiler-rt/lib/scudo/standalone/tests/map_test.cpp:123: Failure
Expected: (-1) != (mlock(Data, MemMap.getCapacity())), actual: -1 vs -1
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/compiler-rt/lib/scudo/standalone/tests/map_test.cpp:123
Expected: (-1) != (mlock(Data, MemMap.getCapacity())), actual: -1 vs -1

```

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


More information about the llvm-commits mailing list