[all-commits] [llvm/llvm-project] c0a3c5: [scudo] Change tests that use setrlimit to cause m...
Christopher Ferris via All-commits
all-commits at lists.llvm.org
Fri Mar 29 14:19:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c0a3c5c81ff7ff9e2a90b1664d6e419bf99c1aa9
https://github.com/llvm/llvm-project/commit/c0a3c5c81ff7ff9e2a90b1664d6e419bf99c1aa9
Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
Date: 2024-03-29 (Fri, 29 Mar 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/tests/strings_test.cpp
M compiler-rt/lib/scudo/standalone/tests/vector_test.cpp
Log Message:
-----------
[scudo] Change tests that use setrlimit to cause mmap to fail. (#87004)
It appears that qemu does not actually cause mmap to fail when calling
setrlimit to limit the address space size. In the two tests that use
setrlimit, detect if mmap still works and skip the tests in that case.
Since all Android targets should support setrlimit, compile out the mmap
check code for them.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list