Home
last modified time | relevance | path

Searched refs:MmapOrDie (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-head/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_procmaps_bsd.cpp38 InfoProc = (struct kinfo_proc *)MmapOrDie(Size, "GetMemoryProfile()"); in GetMemoryProfile()
52 InfoProc = (struct kinfo_proc2 *)MmapOrDie(Size, "GetMemoryProfile()");
85 void *VmMap = MmapOrDie(MmapedSize, "ReadProcMaps()"); in ReadProcMaps()
HDsanitizer_deadlock_detector2.cpp118 void *mem = MmapOrDie(sizeof(DD), "deadlock detector"); in Create()
125 DDPhysicalThread *pt = (DDPhysicalThread*)MmapOrDie(sizeof(DDPhysicalThread), in CreatePhysicalThread()
177 mutex[id_gen / kL2Size] = (MutexState *)MmapOrDie( in allocateId()
HDsanitizer_procmaps_solaris.cpp37 void *VmMap = MmapOrDie(MmapedSize, "ReadProcMaps()"); in ReadProcMaps()
HDsanitizer_flags.cpp94 char *buf = (char *)MmapOrDie(kMaxPathLength, "FlagHandlerInclude"); in Parse()
HDsanitizer_posix.cpp46 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
258 char *filename = (char*)MmapOrDie(kBufSize, __func__); in DumpProcessMap()
HDsanitizer_flat_map.h147 res = reinterpret_cast<T *>(MmapOrDie(MmapSize(), "TwoLevelMap")); in Create()
HDsanitizer_tls_get_addr.cpp54 (DTLS::DTVBlock *)MmapOrDie(sizeof(DTLS::DTVBlock), "DTLS_NextBlock"); in DTLS_NextBlock()
HDsanitizer_ring_buffer.h26 void *Ptr = MmapOrDie(SizeInBytes(Size), "RingBuffer"); in New()
HDsanitizer_allocator.cpp155 allocated_current_ = (char *)MmapOrDie(size_to_allocate, __func__); in Allocate()
HDsanitizer_fuchsia.cpp218 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
223 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie()
HDsanitizer_common.h90 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false);
93 return MmapOrDie(size, mem_type, /*raw_report*/ true); in MmapOrDieQuietly()
599 (T *)MmapOrDie(new_capacity_bytes, "InternalMmapVector", raw_report); in Realloc()
HDsanitizer_win.cpp139 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() function
320 return MmapOrDie(size, mem_type); in MmapNoReserveOrDie()
660 hmodules = (HMODULE *)MmapOrDie(modules_buffer_size, __FUNCTION__); in init()
HDsanitizer_file.cpp142 *buff = (char*)MmapOrDie(size, __func__); in ReadFileToBuffer()
HDsanitizer_deadlock_detector1.cpp63 void *mem = MmapOrDie(sizeof(DD), "deadlock detector"); in Create()
HDsanitizer_stoptheworld_netbsd_libcdep.cpp240 (uptr)MmapOrDie(stack_size_ + guard_size_, "ScopedStackWithGuard"); in ScopedStackSpaceWithGuard()
HDsanitizer_allocator_primary32.h141 void *res = MmapOrDie(size, PrimaryAllocatorName); in MapWithCallback()
HDsanitizer_posix_libcdep.cpp199 altstack.ss_sp = (char *)MmapOrDie(altstack.ss_size, __func__); in SetAlternateSignalStack()
/freebsd-head/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
HDtsan_platform_mac.cpp77 auto dts = (ThreadState *)MmapOrDie(sizeof(ThreadState), "ThreadState"); in InitializeThreadStateStorage()
98 thr = (ThreadState *)MmapOrDie(sizeof(ThreadState), "ThreadState"); in cur_thread()
HDtsan_platform_linux.cpp616 thr = reinterpret_cast<ThreadState*>(MmapOrDie(sizeof(ThreadState), in cur_thread()
621 MmapOrDie(sizeof(ThreadState), "ThreadState")); in cur_thread()
HDtsan_dense_alloc.h180 T *batch = (T *)MmapOrDie(kL2Size * sizeof(T), name_); in AllocSuperBlock()
/freebsd-head/contrib/llvm-project/compiler-rt/lib/dfsan/
HDdfsan_thread.cpp14 DFsanThread *thread = (DFsanThread *)MmapOrDie(size, __func__); in Create()
/freebsd-head/contrib/llvm-project/compiler-rt/lib/msan/
HDmsan_thread.cpp14 MsanThread *thread = (MsanThread*)MmapOrDie(size, __func__); in Create()
/freebsd-head/contrib/llvm-project/compiler-rt/lib/memprof/
HDmemprof_thread.cpp79 MemprofThread *thread = (MemprofThread *)MmapOrDie(size, __func__); in Create()
/freebsd-head/contrib/llvm-project/compiler-rt/lib/asan/
HDasan_fuchsia.cpp122 AsanThread *thread = (AsanThread *)MmapOrDie(AsanThreadMmapSize(), __func__); in CreateAsanThread()
HDasan_fake_stack.cpp54 : MmapOrDie(size, "FakeStack")); in Create()

12