Daniel Dragan wrote: > Father Chrysostomos wrote: > > While that will probably work most of the time (as would xcv_outside > > I think), you would have to be careful not to run it through > > Perl_sv_dump() or the standard thread-cloning code. Can you use > > xcv_depth or xcv_outside_seq? Or does your code have to run > > on 64-bit? > > Must be 64 bit/void * sized. What I am trying to do is stop ABI/linking > problems, where Dynaloader loads a XS module compiled with 5.18 into a > 5.20 process, or DEBUGGING vs no DEBUGGING or DEBUG_LEAKING_SCALARS vs > no DEBUG_LEAKING_SCALARS. I see. If this is a patch for the perl core, then just change the code in dump.c and thread-cloning (the bottom of sv.c) to check the ISXSUB flag before accessing CvPADLIST. pad.c:cv_undef may need to change as well.Thread Previous