Lines Matching refs:tid
252 void* MC_(new_block) ( ThreadId tid,
280 ec = VG_(record_ExeContext)(tid, 0/*first_ip_delta*/);
296 void* MC_(malloc) ( ThreadId tid, SizeT n )
301 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment),
306 void* MC_(__builtin_new) ( ThreadId tid, SizeT n )
311 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment),
316 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n )
321 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment),
326 void* MC_(memalign) ( ThreadId tid, SizeT alignB, SizeT n )
331 return MC_(new_block) ( tid, 0, n, alignB,
336 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 )
341 return MC_(new_block) ( tid, 0, nmemb*size1, VG_(clo_alignment),
347 void die_and_free_mem ( ThreadId tid, MC_Chunk* mc, SizeT rzB )
361 mc->where = VG_(record_ExeContext) ( tid, 0/*first_ip_delta*/ );
370 void MC_(handle_free) ( ThreadId tid, Addr p, UInt rzB, MC_AllocKind kind )
378 MC_(record_free_error) ( tid, p );
383 MC_(record_freemismatch_error) ( tid, mc );
385 die_and_free_mem ( tid, mc, rzB );
389 void MC_(free) ( ThreadId tid, void* p )
392 tid, (Addr)p, MC_(Malloc_Redzone_SzB), MC_AllocMalloc );
395 void MC_(__builtin_delete) ( ThreadId tid, void* p )
398 tid, (Addr)p, MC_(Malloc_Redzone_SzB), MC_AllocNew);
401 void MC_(__builtin_vec_delete) ( ThreadId tid, void* p )
404 tid, (Addr)p, MC_(Malloc_Redzone_SzB), MC_AllocNewVec);
407 void* MC_(realloc) ( ThreadId tid, void* p_old, SizeT new_szB )
423 MC_(record_free_error) ( tid, (Addr)p_old );
432 MC_(record_freemismatch_error) ( tid, mc );
455 ec = VG_(record_ExeContext)(tid, 0/*first_ip_delta*/);
477 die_and_free_mem ( tid, mc, MC_(Malloc_Redzone_SzB) );
496 ec = VG_(record_ExeContext)(tid, 0/*first_ip_delta*/);
530 die_and_free_mem ( tid, mc, MC_(Malloc_Redzone_SzB) );
549 SizeT MC_(malloc_usable_size) ( ThreadId tid, void* p )
562 void MC_(handle_resizeInPlace)(ThreadId tid, Addr p,
569 MC_(record_free_error) ( tid, p );
580 ExeContext* ec = VG_(record_ExeContext)(tid, 0/*first_ip_delta*/);
650 ThreadId tid = VG_(get_running_tid)();
651 MC_(record_illegal_mempool_error) ( tid, pool );
755 void MC_(mempool_alloc)(ThreadId tid, Addr pool, Addr addr, SizeT szB)
762 VG_(get_and_pp_StackTrace) (tid, MEMPOOL_DEBUG_STACKTRACE_DEPTH);
767 MC_(record_illegal_mempool_error) ( tid, pool );
770 MC_(new_block)(tid, addr, szB, /*ignored*/0, mp->is_zeroed,
788 ThreadId tid = VG_(get_running_tid)();
792 MC_(record_illegal_mempool_error)(tid, pool);
798 VG_(get_and_pp_StackTrace) (tid, MEMPOOL_DEBUG_STACKTRACE_DEPTH);
804 MC_(record_free_error)(tid, (Addr)addr);
814 die_and_free_mem ( tid, mc, mp->rzB );
823 ThreadId tid = VG_(get_running_tid)();
830 VG_(get_and_pp_StackTrace) (tid, MEMPOOL_DEBUG_STACKTRACE_DEPTH);
835 MC_(record_illegal_mempool_error)(tid, pool);
872 MC_(record_free_error)(tid, (Addr)mc->data);
877 die_and_free_mem ( tid, mc, mp->rzB );
887 MC_(record_free_error)(tid, (Addr)mc->data);
946 ThreadId tid = VG_(get_running_tid)();
947 MC_(record_illegal_mempool_error) ( tid, poolA );
959 ThreadId tid = VG_(get_running_tid)();
964 VG_(get_and_pp_StackTrace) (tid, MEMPOOL_DEBUG_STACKTRACE_DEPTH);
969 MC_(record_illegal_mempool_error)(tid, pool);
977 MC_(record_free_error)(tid, (Addr)addrA);