mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-19 07:18:22 +02:00
![]() a single external symbol may be used with multiple declarations that have different types: o always declare an alias with the Pascal-mangled name that aliases the external symbol, with the type of that Pascal declaration o if the external symbol is not actually external but in the same unit, we will determine the type of that symbol via its declaration and insert type conversions in the alias declarations in case they use a different type o if it is external (so there is no declaration from which we can determine its real type) and there are nevertheless multiple aliases for it with different types, we just take the type of the first alias and insert type conversions for the other aliases. LLVM will take care of the conflicting types in multiple modules when performing WPO if necessary git-svn-id: trunk@31054 - |
||
---|---|---|
.. | ||
aasmllvm.pas | ||
agllvm.pas | ||
cgllvm.pas | ||
hlcgllvm.pas | ||
itllvm.pas | ||
llvmbase.pas | ||
llvmdef.pas | ||
llvminfo.pas | ||
llvmnode.pas | ||
llvmpara.pas | ||
llvmsym.pas | ||
llvmtarg.pas | ||
llvmtype.pas | ||
nllvmadd.pas | ||
nllvmcal.pas | ||
nllvmcnv.pas | ||
nllvmcon.pas | ||
nllvminl.pas | ||
nllvmld.pas | ||
nllvmmat.pas | ||
nllvmmem.pas | ||
nllvmtcon.pas | ||
nllvmutil.pas | ||
rgllvm.pas | ||
symllvm.pas | ||
tgllvm.pas |