[fpc-pascal] Get all caller adresses of a given function/procedure before executing
Jonas Maebe
jonas.maebe at elis.ugent.be
Sun Aug 12 15:29:44 CEST 2012
On 12 Aug 2012, at 15:25, Mark Morgan Lloyd wrote:
> Rainer Stratmann wrote:
>
>> For the above mentioned purpose it works perfect since some days.
>> I got all caller adresses and even more I got all text snippets (pchar to the snippet!). If you know something about assembler language then it is not a huge effort to get this information from the compiled code.
>
> Hey, Jonas, when are you introducing the optimisation that a call at the end of a procedure can be replaced by a jmp? :-)
Florian already implemented that quite a while ago :) I suggest to drop the topic though, because Rainer does not appear to be open to taking another approach (and he has said he does not enable optimizations).
Jonas
More information about the fpc-pascal
mailing list