[patch] Twice stored record RTTI data
Original Reporter info from Mantis: hnb
-
Reporter name: Maciej Izak
Original Reporter info from Mantis: hnb
- Reporter name: Maciej Izak
Description:
when "TypeInfo" is used for managed record, then RTTI data for those record is stored twice into executable file, into:
-INIT table
-RTTI table
Patch to reduce generated RTTI size attached.
Example code to generate extra RTTI bytes:
===
uses
typinfo;
type
TFoo = record
foo: string;
end;
var
f: TFoo;
begin
WriteLn(Integer(GetTypeData(TypeInfo(TFoo))));
WriteLn(f.foo);
end.
Mantis conversion info:
- Mantis ID: 29767