Home
last modified time | relevance | path

Searched refs:InternalAlloc (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_malloc_mac.cpp31 if (in_symbolizer()) return InternalAlloc(size); \
44 void *p = InternalAlloc(size, nullptr, alignment); \
53 return InternalAlloc(size, nullptr, GetPageSizeCached()); \
H A Dtsan_new_delete.cpp33 return InternalAlloc(size); \
48 return InternalAlloc(size, nullptr, (uptr)align); \
H A Dtsan_rtl_proc.cpp21 void *mem = InternalAlloc(sizeof(Processor)); in ProcCreate()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_malloc_mac.cpp31 if (in_symbolizer()) return InternalAlloc(size); \
44 void *p = InternalAlloc(size, nullptr, alignment); \
53 return InternalAlloc(size, nullptr, GetPageSizeCached()); \
H A Dtsan_new_delete.cpp33 return InternalAlloc(size); \
48 return InternalAlloc(size, nullptr, (uptr)align); \
H A Dtsan_rtl_proc.cpp21 void *mem = InternalAlloc(sizeof(Processor)); in ProcCreate()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_libcdep_new.cpp62 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
63 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
64 uptr* pcs = static_cast<uptr*>(InternalAlloc(len * sizeof(uptr))); in SanitizerDumpCoverage()
H A Dsanitizer_allocator.cpp86 void *InternalAlloc(uptr size, InternalAllocatorCache *cache, uptr alignment) { in InternalAlloc() function
119 void *p = InternalAlloc(count * size, cache); in InternalCalloc()
H A Dsanitizer_allocator_internal.h42 void *InternalAlloc(uptr size, InternalAllocatorCache *cache = nullptr,
H A Dsanitizer_allocator_dlsym.h35 void *ptr = InternalAlloc(size_in_bytes, nullptr, kWordSize); in Allocate()
H A Dsanitizer_vector.h109 T *p = (T*)InternalAlloc(cap * sizeof(T)); in EnsureSize()
H A Dsanitizer_symbolizer.cpp57 void *mem = InternalAlloc(sizeof(SymbolizedStack)); in New()
H A Dsanitizer_symbolizer_posix_libcdep.cpp377 char *res_buff = static_cast<char *>(InternalAlloc(res_length)); in Demangle()
414 char *new_path = (char *)InternalAlloc(kMaxPathLength); in ChooseExternalSymbolizer()
H A Dsanitizer_suppressions.cpp145 s.templ = (char*)InternalAlloc(end2 - line + 1); in Parse()
H A Dsanitizer_addrhashmap.h306 add = (AddBucket*)InternalAlloc(kInitSize); in acquire()
316 AddBucket *add1 = (AddBucket*)InternalAlloc(newsize); in acquire()
H A Dsanitizer_symbolizer_libbacktrace.cpp55 char *buf = (char *)InternalAlloc(data->allocated); in CplusV3DemangleCallback()
H A Dsanitizer_symbolizer_libcdep.cpp34 *result = (char*)InternalAlloc(prefix_len + 1); in ExtractToken()
77 *result = (char *)InternalAlloc(prefix_len + 1); in ExtractTokenUpToDelimiter()
H A Dsanitizer_deadlock_detector1.cpp80 DDLogicalThread *lt = (DDLogicalThread*)InternalAlloc(sizeof(*lt)); in CreateLogicalThread()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_mibmap.cpp26 (LockedMemInfoBlock *)InternalAlloc(sizeof(LockedMemInfoBlock)); in InsertOrMerge()
H A Dmemprof_rawprofile.cpp224 Buffer = (char *)InternalAlloc(TotalSizeBytes); in SerializeToRawProfile()
/llvm-project-15.0.7/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp36 thr = (Thread*)InternalAlloc(sizeof(*thr)); in InitThread()
167 void *newcond = InternalAlloc(sizeof(pthread_cond_t)); in init_cond()
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_common_mac.cpp62 ptr = (thread_local_data_t *)InternalAlloc(sizeof(*ptr)); in get_tls_val()
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_utils.cpp126 LogWriter *LW = reinterpret_cast<LogWriter *>(InternalAlloc(sizeof(LogWriter))); in Open()
H A Dxray_basic_logging.cpp135 InternalAlloc(sizeof(XRayRecord) * GlobalOptions.ThreadBufferSize, in getThreadLocalData()
148 InternalAlloc(sizeof(StackEntry) * GlobalOptions.MaxStackDepth, nullptr, in getThreadLocalData()
H A Dxray_log_interface.cpp76 auto *NewModeImpl = static_cast<ModeImpl *>(InternalAlloc(sizeof(ModeImpl))); in __xray_log_register_mode()

12