[compiler-rt] [scudo] Handle failed mmap for allocation ring buffer (PR #71817)
Fabio D'Urso via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 10 11:18:30 PST 2023
================
@@ -1501,6 +1503,11 @@ class Allocator {
getPageSizeCached()),
"scudo:ring_buffer");
----------------
fabio-d wrote:
Oh, and you may want to just check the return value of `map` (it returns a bool) instead of testing if `getBase()` is a nullptr later
https://github.com/llvm/llvm-project/pull/71817
More information about the llvm-commits
mailing list