[fpc-devel] aarch64-linux: PATCH: implement gprt0.as for profiling

Jonas Maebe jonas.maebe at elis.ugent.be
Fri May 29 08:17:23 CEST 2015


Edmund Grimley Evans wrote:
> rtl/linux/aarch64/gprt0.as is based on aarch64/cprt0.as and
> x86_64/gprt0.as.

Thanks, committed.

> webtbs/tw0876 now passes.

I didn't commit the change to options.pas, because as the comment there 
mentions, you first also have to implement the g_profilecode method of 
the code generator.

cgobj.pas contains a dummy implementation that does not do anything. 
While that means the test will successfully compile and run, no actual 
profile information will be generated because there are no calls to 
mcount in the program (the testsuite does not contain any logic to check 
whether the generated gprof information by the test program is probably 
correct).


Jonas



More information about the fpc-devel mailing list