svenbarth
|
f517311227
* ensure that the indirect symbols for VMT, RTTI and IID reside in the same sections as the symbols they point to -> reduces the amount of sections for them by half
|
8 tahun lalu |
svenbarth
|
b813fc641f
* put data that's used by the VMT into the same section (that also means changing some sections from rodata_norel to rodata); this way the amount of sections per class is reduced (e.g. two for classes that inherited from a class with interfaces)
|
8 tahun lalu |
Jonas Maebe
|
d36fe53d85
* factored out the code to create an complete alias for a procdef to
|
8 tahun lalu |
nickysn
|
ac186eb85d
* use sizeuinttype instead of ptruinttype for the array range type in the
|
9 tahun lalu |
nickysn
|
7d15b688e8
* TInterfaceEntry changed to a variant record, that overlays a CodePointer on
|
9 tahun lalu |
nickysn
|
7fceb8aa1f
* use .Create_sizeuint and sizeuinttype when writing tinterfacetable.EntryCount
|
9 tahun lalu |
Jonas Maebe
|
4c9903455e
- don't apply const_align() to alignments passed to high level typed
|
9 tahun lalu |
nickysn
|
5e7ba4a893
* the type of FieldOffset in the TFieldInfo rtti structure changed to SizeUInt,
|
9 tahun lalu |
nickysn
|
f62be8f6e6
* use sizesinttype instead of ptrsinttype to refer to vInstanceSize and
|
9 tahun lalu |
yury
|
e3d9dbbeef
* Removed unused vars.
|
9 tahun lalu |
svenbarth
|
37c32f4b61
* generate indirect symbols for interface IID and IIDSTR (fixes cycling; I wonder why that worked on Windows without problems :/ )
|
9 tahun lalu |
svenbarth
|
fb6546972b
* IID and IIDStr references of the VMT's interface table need to be indirect
|
9 tahun lalu |
svenbarth
|
77de5dd968
* reference assembler symbol of FPC_EMPTYMETHOD using AB_EXTERNAL and not AB_GLOBAL
|
9 tahun lalu |
svenbarth
|
2841cd9a9e
* export IID and IIDSTR symbols of interfaces
|
9 tahun lalu |
svenbarth
|
971d05c898
* also import procdefs that are called through the VMT
|
9 tahun lalu |
svenbarth
|
f69b365b77
* declare various symbols as external assembler symbols: RTTI references, parent VMT, FPC_EMPTYMETHOD (all three only if it's used from a different unit), threadvar lists and symbols declared as "external"
|
9 tahun lalu |
svenbarth
|
bb72c1c4df
* declare various assembler symbols (VMT, RTTI, threadvars) as public assembler symbols
|
9 tahun lalu |
svenbarth
|
685f820622
* switch class'/object's parent reference in the VMT to an indirect reference
|
9 tahun lalu |
svenbarth
|
dc21bc842a
* also generate an indirect symbol for the VMT
|
9 tahun lalu |
Jonas Maebe
|
a0efde8167
* automatically generate necessary indirect symbols when a new assembler
|
9 tahun lalu |
Jonas Maebe
|
1cb8c0d00c
* specify the def of assembler level symbols defined via
|
9 tahun lalu |
Jonas Maebe
|
c0ff55e95a
* changed the abstract method wrapper generation from thlcgobj to synthetic
|
9 tahun lalu |
svenbarth
|
7a5bac9cd3
Rework the interface table of VMTs to get rid of FPC_EMPTYINTF.
|
9 tahun lalu |
svenbarth
|
345d83c3e3
Merge RTTI changes from packages branch (including adjustments that were required due to changes in trunk since then). These changes favor source backwards compatibility in contrast to Delphi compatibility. Binary compatiblity is however drastically broken due to the indirect references that are platform independant!
|
9 tahun lalu |
svenbarth
|
9857a27ad8
Generate and use an indirect symbol for VMTs.
|
9 tahun lalu |
svenbarth
|
557f74cdbd
(Note to self: always include the root of the working copy in the commit when dealing with merges -.-)
|
9 tahun lalu |
Jonas Maebe
|
7b89072d88
* fixed external wrapper generation on llvm
|
9 tahun lalu |
yury
|
b26fa07f1a
* Fixed notes "var is assigned but not used".
|
10 tahun lalu |
Jonas Maebe
|
919bce9819
* also construct the high level code generator for high level targets; they
|
10 tahun lalu |
Jonas Maebe
|
c7a418829b
* support for implementing interface method wrappers at the node tree
|
10 tahun lalu |