anyone knows *all* the different ways that function names may be mangled (for the linker)?

I asked because this is sometime the only info returned by gdb (if there is no debug info). And it could be useful to parse it.

It  used to be Unit_class_$__function$...
  SYSTEM_TOBJECT_$__DISPATCH$formal

but I also saw
  CLASSES$_$TREADER_$__$$_READINTEGER$$LONGINT

makes me wonder if in some cases there may be more info between all the $$ ?

And also will need the format for plain functions (not methods)

Thanks
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to