[compiler-rt] [sanitizer_common] Introduce SANITIZER_MMAP_BEGIN macro (PR #147645)

David Justo via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 22:47:51 PDT 2025


================
@@ -318,6 +318,9 @@
 #  endif
 #endif
 
+// The beginning of mmap range of addresses.
----------------
davidmrdavid wrote:

_nit_: the pre-existing verbiage for `SANITIZER_MMAP_RANGE_SIZE` reads: 

> "// The range of addresses which can be returned my mmap."

So I think it would be nice to keep a similar phrasing, so I recommend:

```suggestion
// The first address that can be returned by mmap
```

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


More information about the llvm-commits mailing list