[compiler-rt] [compiler-rt][fuchsia] Preallocate a vmar for sanitizer internals (PR #75256)

Roland McGrath via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 14:38:22 PST 2024


================
@@ -357,7 +406,7 @@ void *MmapAlignedOrDieOnFatalError(uptr size, uptr alignment,
 }
 
 void UnmapOrDie(void *addr, uptr size) {
-  UnmapOrDieVmar(addr, size, _zx_vmar_root_self());
+  UnmapOrDieVmar(addr, size, gSanitizerHeapVmar);
----------------
frobtech wrote:

I see, thanks. The way I saw the diff that was hard to find, probably just my lack of familiarity with the GH code review UI.


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


More information about the llvm-commits mailing list