[fpc-devel] Maximum symbol length -- answer needed

Jonas Maebe jonas at freepascal.org
Fri Jun 22 20:42:24 CEST 2018


On 22/06/18 17:19, Blaise at blaise.ru wrote:
> On 15.06.2018 11:54, Blaise wrote:
> 
>> Side question: I see that the define "symansistr" is used for JVM and 
>> LLVM. What was the rationale?
> 
> Anyone?

The rationale for the above is that they need symbols that are longer 
than 255 characters. The reason the rest uses shortstrings is this is 
assumed to be faster.

> In case I was not clear enough: when I asked should "those 
> concatenations be converted into chains of invocations", I meant "will a 
> patch with such fixes be accepted", or is there a recommended solution 
> for these bugs?

I would propose to switch all targets to use use ansistrings for symbol 
names.


Jonas



More information about the fpc-devel mailing list