[compiler-rt] [msan] Add 'MappingDesc::ALLOCATOR' type and check it is available (PR #85153)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 13 17:55:41 PDT 2024
================
@@ -236,7 +241,9 @@ inline bool addr_is_type(uptr addr, MappingDesc::Type mapping_type) {
return false;
}
-#define MEM_IS_APP(mem) addr_is_type((uptr)(mem), MappingDesc::APP)
+#define MEM_IS_APP(mem) \
----------------
vitalybuka wrote:
```suggestion
#define MEM_IS_APP(mem) addr_is_type((uptr)(mem), MappingDesc::APP | MappingDesc::ALLOCATOR))
```
https://github.com/llvm/llvm-project/pull/85153
More information about the llvm-commits
mailing list