$ perl ppport.h --patch=the.patch
Scanning ./BeginLift.xs ...
=== Analyzing ./BeginLift.xs ===
Uses INT2PTR, which depends on PTRV
Uses PTR2IV, which depends on INT2PTR, PTRV
Uses SvREFCNT_inc, which depends on PL_Sv, SvREFCNT
Uses aTHX
Uses aTHX_
Uses newRV_inc, which depends on newRV
Uses pTHX_
*** WARNING: Uses LINKLIST, which may not be portable below perl 5.13.6, even with 'ppport.h'
*** WARNING: Uses sv_derived_from, which may not be portable below perl 5.004, even with 'ppport.h'
Needs to include 'ppport.h'
Analysis completed (2 warnings)
####
$ objdump -p C:\perl\5.14.1\bin\MSWin32-x86-multi-thread\perl514.dll | grep pad
[ 47] PL_ppaddr
[ 346] Perl_get_ppaddr
[ 648] Perl_pad_findmy
[ 649] Perl_pad_push
[ 765] Perl_save_padsv_and_mortalize
####
embed.h
1173 #define pad_swipe(a,b) Perl_pad_swipe(aTHX_ a,b)
op.c
671 pad_swipe(cPADOPo->op_padix, TRUE);
699 pad_swipe(o->op_targ,1);
716 pad_swipe(cPADOPo->op_padix, TRUE);
737 pad_swipe(cPMOPo->op_pmreplrootu.op_pmtargetoff, TRUE);
3072 pad_swipe(o->op_targ, FALSE);
pad.c
1496 =for apidoc m|void|pad_swipe|PADOFFSET po|bool refadjust
1505 Perl_pad_swipe(pTHX_ PADOFFSET po, bool refadjust)
1508 ASSERT_CURPAD_LEGAL("pad_swipe");
1512 Perl_croak(aTHX_ "panic: pad_swipe curpad, %p!=%p",
1515 Perl_croak(aTHX_ "panic: pad_swipe po=%ld, fill=%ld",
1705 /* XXX DAPM integrate with pad_swipe ???? */