[compiler-rt] [compiler-rt][fuchsia] Preallocate a vmar for sanitizer internals (PR #75256)
Roland McGrath via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 10 17:35:21 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:
This needs to use the fallback logic in case the root vmar was used, as above.
https://github.com/llvm/llvm-project/pull/75256
More information about the llvm-commits
mailing list