Home
last modified time | relevance | path

Searched refs:IsAppMem (Results 1 – 17 of 17) sorted by relevance

/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_shadow_test.cc55 CHECK(IsAppMem((uptr)&global)); in TEST()
56 CHECK(IsAppMem((uptr)&stack)); in TEST()
57 CHECK(IsAppMem((uptr)heap)); in TEST()
/external/llvm-project/compiler-rt/lib/tsan/tests/unit/
Dtsan_shadow_test.cpp54 CHECK(IsAppMem((uptr)&global)); in TEST()
55 CHECK(IsAppMem((uptr)&stack)); in TEST()
56 CHECK(IsAppMem((uptr)heap)); in TEST()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_mach_vm.cpp26 return !IsAppMem(address) || !IsAppMem(address + size - 1); in intersects_with_shadow()
Dtsan_rtl_mutex.cpp67 if (!(flagz & MutexFlagLinkerInit) && IsAppMem(addr)) { in MutexCreate()
133 if (IsAppMem(addr)) { in MutexDestroy()
165 if (IsAppMem(addr)) in MutexPostLock()
215 if (IsAppMem(addr)) in MutexUnlock()
271 if (IsAppMem(addr)) in MutexPostReadLock()
311 if (IsAppMem(addr)) in MutexReadUnlock()
342 if (IsAppMem(addr)) in MutexReadOrWriteUnlock()
Dtsan_rtl_thread.cpp355 if (!IsAppMem(addr)) { in MemoryAccessRange()
357 DCHECK(IsAppMem(addr)); in MemoryAccessRange()
359 if (!IsAppMem(addr + size - 1)) { in MemoryAccessRange()
361 DCHECK(IsAppMem(addr + size - 1)); in MemoryAccessRange()
Dtsan_platform_posix.cpp91 if (IsAppMem(segment.start)) continue; in CheckAndProtect()
Dtsan_rtl.cpp323 CHECK(IsAppMem(p)); in CheckShadowMapping()
842 if (!IsAppMem(addr)) { in MemoryAccess()
844 DCHECK(IsAppMem(addr)); in MemoryAccess()
932 if (!IsAppMem(addr) || !IsAppMem(addr + size - 1)) in MemoryRangeSet()
Dtsan_platform.h733 bool IsAppMem(uptr mem) { in IsAppMem() function
822 DCHECK(IsAppMem(x)); in MemToShadowImpl()
863 DCHECK(IsAppMem(x)); in MemToMetaImpl()
Dtsan_platform_linux.cpp201 !segment.IsWritable() && IsAppMem(segment.start)) { in MapRodata()
Dtsan_interceptors_posix.cpp757 if (!IsAppMem((uptr)*addr) || !IsAppMem((uptr)*addr + sz - 1)) { in fix_mmap_addr()
2195 return IsAppMem(addr) && *(u64*)MemToShadow(addr) != kShadowRodata; in IsAppNotRodata()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cc69 if (!linker_init && IsAppMem(addr)) { in MutexCreate()
135 if (IsAppMem(addr)) { in MutexDestroy()
147 if (IsAppMem(addr)) in MutexLock()
191 if (IsAppMem(addr)) in MutexUnlock()
235 if (IsAppMem(addr)) in MutexReadLock()
270 if (IsAppMem(addr)) in MutexReadUnlock()
301 if (IsAppMem(addr)) in MutexReadOrWriteUnlock()
Dtsan_rtl_thread.cc331 if (!IsAppMem(addr)) { in MemoryAccessRange()
333 DCHECK(IsAppMem(addr)); in MemoryAccessRange()
335 if (!IsAppMem(addr + size - 1)) { in MemoryAccessRange()
337 DCHECK(IsAppMem(addr + size - 1)); in MemoryAccessRange()
Dtsan_platform.h514 bool IsAppMem(uptr mem) { in IsAppMem() function
585 DCHECK(IsAppMem(x)); in MemToShadowImpl()
620 DCHECK(IsAppMem(x)); in MemToMetaImpl()
Dtsan_platform_posix.cc120 if (IsAppMem(p)) in CheckAndProtect()
Dtsan_rtl.cc299 CHECK(IsAppMem(p)); in CheckShadowMapping()
755 if (!IsAppMem(addr)) { in MemoryAccess()
757 DCHECK(IsAppMem(addr)); in MemoryAccess()
845 if (!IsAppMem(addr) || !IsAppMem(addr + size - 1)) in MemoryRangeSet()
Dtsan_platform_linux.cc187 && IsAppMem(start)) { in MapRodata()
Dtsan_interceptors.cc678 if (!IsAppMem((uptr)*addr) || !IsAppMem((uptr)*addr + sz - 1)) { in fix_mmap_addr()
2082 return IsAppMem(addr) && *(u64*)MemToShadow(addr) != kShadowRodata; in IsAppNotRodata()