CONVERT(rwlock, orig, vg_orig);
if (vg_orig->__vg_rw_writer == NULL)
- rwl = rw_new (orig);
+ rwl = rw_new ((pthread_rwlock_t*)orig);
else if (((Addr)vg_orig->__vg_rw_writer ^ RWLOCK_CHECK_MAGIC) == (Addr)vg_orig->__vg_rw_read_waiting)
rwl = vg_orig->__vg_rw_writer;
else
ret VG_INTERCEPT(soname:libc.so.6, __##name) args \
__attribute__((alias(VG_INTERCEPT_ALIAS(soname:libc.so.6, ##name)), \
visibility("protected"))); \
+ ret VG_INTERCEPT(soname:libstdc++*, __##name##_internal) args \
+ __attribute__((alias(VG_INTERCEPT_ALIAS(soname:libc.so.6, ##name)), \
+ visibility("protected"))); \
+ ret VG_INTERCEPT(soname:libc.so.6, __##name##_internal) args \
+ __attribute__((alias(VG_INTERCEPT_ALIAS(soname:libc.so.6, ##name)), \
+ visibility("protected"))); \
ret VG_INTERCEPT(soname:libstdc++*, ##name) args \
__attribute__((alias(VG_INTERCEPT_ALIAS(soname:libc.so.6, ##name)), \
visibility("protected"))); \