Home | History | Annotate | Download | only in memcheck

Lines Matching refs:nia

2147    Dealing with stack redzones, and the NIA cache
2177 or RET/BLR. In short, one derived from the NIA - the "next
2182 NIA. It converts the NIA to a 1-element ExeContext, and uses that
2184 redzone. The expensive part of this is converting an NIA into an
3444 /* Here's a simple cache to hold nia -> ECU mappings. It could be
3480 static inline UInt convert_nia_to_ecu ( Addr nia )
3486 tl_assert( sizeof(nia_to_ecu_cache[0].nia1) == sizeof(nia) );
3489 i = nia % N_NIA_TO_ECU_CACHE;
3492 if (LIKELY( nia_to_ecu_cache[i].nia0 == nia ))
3495 if (LIKELY( nia_to_ecu_cache[i].nia1 == nia )) {
3504 ec = VG_(make_depth_1_ExeContext_from_Addr)(nia);
3512 nia_to_ecu_cache[i].nia0 = nia;
3522 void MC_(helperc_MAKE_STACK_UNINIT) ( Addr base, UWord len, Addr nia )
3527 VG_(printf)("helperc_MAKE_STACK_UNINIT (%#lx,%lu,nia=%#lx)\n",
3528 base, len, nia );
3531 UInt ecu = convert_nia_to_ecu ( nia );
3535 tl_assert(nia == 0);