[fpc-devel] LLVM, interfaces and nested procedure variables
Kieran
kizz32 at gmail.com
Sat Nov 25 13:34:22 CET 2023
Thanks Jonas, I was mistakenly invoking my non-LLVM compiler.
On Sat, 25 Nov 2023 at 12:08, Jonas Maebe via fpc-devel <
fpc-devel at lists.freepascal.org> wrote:
> On 25/11/2023 12:48, Kieran via fpc-devel wrote:
> > I'm trying to reproduce a minimal viable demo of a problem compiling
> > code using the LLVM backend that has an interface with a parameter
> > that is a nested procedure variable, but I'm not having any luck. I've
> > noticed the difference between my test programs and the large project
> > where I'm seeing the issue reliably is that when compiling the larger
> > project, the line "Parsing internally generated code" (I think that's
> > error string 3319/"Parsen intern erzeugten") gets output with what looks
> > like interface method shims for an object -- methods prefixed "WRPR_".
> >
> > I can't get my test programs to do the same even when trying the same
> > compiler arguments and directives
>
> That should happen whenever you implement an interface method in a class.
>
> I can reproduce the issue with the program in attachment.
>
>
> Jonas_______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20231125/20327c08/attachment.htm>
More information about the fpc-devel
mailing list