marco
|
9c8a2d29e1
# revisions: 40702,40703,40704,40747,40750,40765,41277,41535,41536,41537,41548,41549,41770
|
преди 5 години |
Jonas Maebe
|
3ac703506c
* rest of the previous accidental partial commit
|
преди 6 години |
marco
|
f42dffb36d
--- Merging r39877 into '.':
|
преди 6 години |
marco
|
edf32cd5dc
The Important Ones:
|
преди 6 години |
svenbarth
|
3f96c0baed
* use reverse_longword() instead of reverse_byte(); fixes the management operators of records inside classes on big endian systems
|
преди 7 години |
svenbarth
|
ac0322c323
+ add a flags field to the record init RTTI which declares whether
|
преди 7 години |
florian
|
31f78ea2b6
+ implementation of the vectorcall calling convention by J. Gareth Moreton
|
преди 7 години |
svenbarth
|
0bf71958f2
* ensure that the correct RTTI data is written for "array of const" parameters as well
|
преди 7 години |
svenbarth
|
50788e8b3b
* correctly encapsulate the RTTI data for sets to avoid alignment problems with the new SetSize field (fixes compilation on Sparc and basically every other target that requires proper alignment with 64-bit values dictating an 8-Byte alignment)
|
преди 8 години |
svenbarth
|
5c97248f85
+ also write the set's size to the RTTI as that simplifies handling in Invoke()
|
преди 8 години |
svenbarth
|
7b675b6769
* correctly write the type of open array parameters as the element def and not the array def
|
преди 8 години |
florian
|
126b834976
* ncgrtti has to use target pointer sizes, so changed SizeOf(PtrInt) into SizeOf(PInt), should fix #31964
|
преди 8 години |
florian
|
b1dff29cbf
* removed unused units
|
преди 8 години |
maciej-izak
|
af8e0efe57
* Rtti info about Management Operators (MO) in init table for records. Note: commit contains minimal changes for RTL (for proper "make") no functional changes. More RTL changes for fully functionally MO in next commits.
|
преди 8 години |
Jonas Maebe
|
265c8e7bbc
+ support for specifying ms_abi_default, ms_abi_cdelc, sysv_abi_default, and
|
преди 8 години |
maciej-izak
|
1d301b6dbe
More consequent writing of Rtti. Part of code related to recorddef moved from recorddef_rtti to write_child_data_rtti(). When typeinfo is used in code init Rtti is a child of the full Rtti. Commit also contains correction for code commited for mantis #31249 (r35376) and mantis #31305 (r35377) for objects. Before was impossible to compile code with usage of typeinfo() function for object without managed fields ("Undefined symbol" error).
|
преди 8 години |
svenbarth
|
7e85e27865
* fix ncgrtti correctly (for once that warning was indeed useful :P )
|
преди 8 години |
florian
|
4b63da81aa
* initialize para to avoid warning
|
преди 8 години |
svenbarth
|
c1390b3442
* fix for Mantis #31249: applied (adjusted) patch provided by Maciej Izak
|
преди 8 години |
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 години |
svenbarth
|
1d40e7e159
* correctly encapsulate the location records
|
преди 8 години |
svenbarth
|
26135d605f
+ implement interface RTTI inspired by the changes from Steve Hildebrandt, yet not exactly the same. Like his implementation this one isn't Delphi compatible either.
|
преди 8 години |
svenbarth
|
41dccb75b9
* for open array parameters the RTTI of the element def needs to be available/written; this is Delphi compatible
|
преди 8 години |
svenbarth
|
d044969d88
* applied adjusted patch from Mantis #31250 by Maciej Izak
|
преди 8 години |
svenbarth
|
5fa5ff1730
+ new method TRTTIWriter.methods_write_rtti() to ensure that the TypeInfo of parameters and result type of methods is written (can be restricted to certain visibilities and whether hidden parameters shall be checked as well)
|
преди 8 години |
svenbarth
|
22e23fea8c
+ new parameter allow_hidden for params_write_rtti() so that writing of the TypeInfo of hidden parameters can be enforced as well
|
преди 8 години |
svenbarth
|
cf18b7116e
* write_paralocs() takes a pcgpara instead of a tparavarsym as this is needed for the result location as well
|
преди 8 години |
svenbarth
|
f905303c4a
+ new TParamFlag pfResult if the result is passed as a parameter and thus needs to be set up as well
|
преди 8 години |
svenbarth
|
854a82b58b
* move write_param_flag() from local to class scope
|
преди 8 години |
svenbarth
|
5275c36393
+ extend TParamFlags by values for hidden parameters in general and especially the hidden high, self and vmt parameters (this is necessary so a manager approach for Invoke() can be used with as few knowledge about the involved calling conventions as possible)
|
преди 8 години |