Mattias Gaertner
894e4823a5
fcl-passrc: pscanner: adapted for pas2js
...
git-svn-id: trunk@39921 -
2018-10-12 15:20:03 +00:00
Mattias Gaertner
80c12f56b7
fcl-passrc: useanalyzer: fixed WPO for record constants
...
git-svn-id: trunk@39919 -
2018-10-12 15:17:45 +00:00
yury
9ef7a17390
* Delete temp files after test.
...
git-svn-id: trunk@39918 -
2018-10-12 15:08:30 +00:00
yury
5fc2ea362f
* Use syscall_nr_renameat for android.
...
git-svn-id: trunk@39917 -
2018-10-12 15:07:55 +00:00
yury
d0b6f427d3
* Fixed checks for exceeding limit of locals space. Prevent range and overflow errors during the checks. Introduced the MaxLocalsSize constant which provides the maximum possible size of locals space (stack frame) depending of bitness of a cpu.
...
git-svn-id: trunk@39916 -
2018-10-12 14:43:17 +00:00
yury
4860f3934a
* Fixed overflow error when calling align() with corner case values such as align($7FFFFFFC, 4) for the longint variant.
...
git-svn-id: trunk@39915 -
2018-10-12 14:38:14 +00:00
pierre
a898ae856f
Adapt ppudump to fix introduced in revision 39912
...
git-svn-id: trunk@39914 -
2018-10-12 06:05:50 +00:00
pierre
66e7c78a8f
fix position of ppuload_platform for trecorddef
...
git-svn-id: trunk@39913 -
2018-10-11 21:02:25 +00:00
pierre
88bddc2cb0
Fix ppuload for string type for i8086, use getasizeint for all string defs but short string
...
git-svn-id: trunk@39912 -
2018-10-11 20:38:39 +00:00
yury
9f32b99ea6
* dotest: When executing a remote test, prevent overwrite of the test's result and log by final cleanup commands.
...
git-svn-id: trunk@39911 -
2018-10-11 18:58:19 +00:00
marco
b3feccb397
* fix trailing quote char. Patch by wp mantis 34405
...
git-svn-id: trunk@39910 -
2018-10-10 08:23:50 +00:00
Mattias Gaertner
4f37b61cdb
fcl-passrc: pastree adapted for pas2js
...
git-svn-id: trunk@39908 -
2018-10-09 11:20:21 +00:00
Mattias Gaertner
27a9d53dd2
fcl-passrc: resolver: fixed high(intvar)
...
git-svn-id: trunk@39906 -
2018-10-09 11:17:00 +00:00
yury
9d7308df42
* Android: Reworked the startup code to use no assembly instructions. Generic assembler startup files contains only section data and are compiled for each CPU.
...
* Android: argc and argv are correct for shared libraries.
git-svn-id: trunk@39905 -
2018-10-08 16:48:41 +00:00
Mattias Gaertner
54841337fe
fcl-json: adapted fpjson for pas2js
...
git-svn-id: trunk@39904 -
2018-10-08 09:12:58 +00:00
yury
88365b6d92
* Enabled safecall support for aarch64 to be on par with other cpus.
...
git-svn-id: trunk@39903 -
2018-10-08 08:37:18 +00:00
yury
da39d06d80
+ Added test object files for aarch64-android.
...
git-svn-id: trunk@39902 -
2018-10-08 08:29:23 +00:00
svenbarth
2f6b15b1e2
* fix tests now that the RTTI of method pointer variables also contains the hidden parameters
...
git-svn-id: trunk@39901 -
2018-10-08 05:43:44 +00:00
Mattias Gaertner
edfd512b22
fcl-passrc: resolver: allow array property accessor argument mismatch const/default for simple types
...
git-svn-id: trunk@39899 -
2018-10-07 16:24:52 +00:00
Mattias Gaertner
ddf409d7ad
fcl-js: adapted jswriter for pas2js
...
git-svn-id: trunk@39898 -
2018-10-07 12:58:35 +00:00
svenbarth
e644e6332b
- remove forgotten debug code
...
git-svn-id: trunk@39897 -
2018-10-07 12:51:09 +00:00
svenbarth
c97b607e60
* also run invoke tests if internal function call manager is available (which we prefer to the ffi one)
...
git-svn-id: trunk@39896 -
2018-10-07 12:26:09 +00:00
svenbarth
509383aeb3
+ add define to use ffi function call manager for tests
...
git-svn-id: trunk@39895 -
2018-10-07 12:26:06 +00:00
svenbarth
ea5f407c49
+ add a TFunctionCallManager that provides built in Invoke() support for x86_64-win64
...
git-svn-id: trunk@39894 -
2018-10-07 12:26:03 +00:00
svenbarth
afc83b9f70
+ implement the high level Invoke() for TRttiMethod (currently only for interface methods), TRttiMethodType and TRttiProcedureType
...
git-svn-id: trunk@39893 -
2018-10-07 12:25:59 +00:00
svenbarth
91899c7bb1
* ensure that the elements field of ffi_type is initialized correctly so that the trick with the dynamic array works correctly
...
git-svn-id: trunk@39892 -
2018-10-07 12:25:55 +00:00
svenbarth
3bdb4aa1a2
* correctly handle ShortString, object and array fields that are part of a record/object
...
git-svn-id: trunk@39891 -
2018-10-07 12:25:52 +00:00
svenbarth
b91c856e38
* also take param flags into consideration
...
git-svn-id: trunk@39890 -
2018-10-07 12:25:49 +00:00
svenbarth
3ca2529b58
* extend TValue.ToString for a few more types
...
git-svn-id: trunk@39889 -
2018-10-07 12:25:45 +00:00
svenbarth
7bb147dce0
+ add TRttiMethodType for method variables and TRttiProcedureType for procedure variables
...
git-svn-id: trunk@39888 -
2018-10-07 12:25:42 +00:00
svenbarth
b8ae04140c
* differentiate between a list of all parameters and one of only visible ones; the former is going to be used for Invoke while the latter is returned by GetParameters
...
git-svn-id: trunk@39887 -
2018-10-07 12:25:39 +00:00
svenbarth
0f7f9c2bb8
+ add support for open arrays in TValue; this is *not* supported by Delphi
...
Note: open array TValue "instances" are only valid till the routine with the open array parameter has returned, but they can be converted to a dynamic array value with the help of the OpenArrayToDynArrayValue<> function
git-svn-id: trunk@39886 -
2018-10-07 12:25:36 +00:00
svenbarth
b9ec7e1e06
* generate RTTI for *all* parameters of a method or procedure variable
...
git-svn-id: trunk@39885 -
2018-10-07 12:25:33 +00:00
svenbarth
bb11ec6375
+ add TRttiType.GetMethod to find a method by name
...
git-svn-id: trunk@39884 -
2018-10-07 12:25:30 +00:00
svenbarth
be698b970b
* ensure the correct values for TValue.GetReferenceToRawData for TObject and dynamic array types
...
git-svn-id: trunk@39883 -
2018-10-07 12:25:27 +00:00
svenbarth
a8b2ad31d1
* fix for Mantis #34355 : correctly check whether the array constructor is empty (aka []) or not
...
git-svn-id: trunk@39882 -
2018-10-07 12:25:24 +00:00
svenbarth
00e700d598
* adjust Invoke API of FunctionCallManager to not rely on TValue
...
git-svn-id: trunk@39881 -
2018-10-07 12:25:21 +00:00
svenbarth
76a95f61e2
* fix warning about result not being initialized
...
git-svn-id: trunk@39880 -
2018-10-07 12:25:18 +00:00
svenbarth
608da3d255
* ensure that a valid reference to the raw data is provided as long as the typeinfo is set
...
git-svn-id: trunk@39879 -
2018-10-07 12:25:15 +00:00
svenbarth
daa91bc462
* fix casing of constructors so that Lazarus doesn't complete them in lowercase
...
git-svn-id: trunk@39878 -
2018-10-07 12:25:12 +00:00
svenbarth
2f74a51eb8
* fix .seh_savereg: the offset is checked with a bitmask, not a divisor, so use "and", not "mod"
...
git-svn-id: trunk@39877 -
2018-10-07 12:25:09 +00:00
florian
40598944f8
+ support fpc include output in avx test generation code
...
git-svn-id: trunk@39876 -
2018-10-07 10:10:20 +00:00
florian
8943c0584e
+ patch by J. Gareth Moreton to support BMI2 instructions
...
+ extended avx test generator with the newly added BMI2 instructions
git-svn-id: trunk@39875 -
2018-10-07 10:10:19 +00:00
florian
172384fedd
* fix to write correct output file name
...
git-svn-id: trunk@39874 -
2018-10-07 10:10:17 +00:00
florian
5604e98b1c
+ lazarus project files for the avx assembler test generators
...
git-svn-id: trunk@39873 -
2018-10-07 10:10:16 +00:00
yury
87c5e703fb
* revision.inc
...
git-svn-id: trunk@39872 -
2018-10-06 18:43:14 +00:00
yury
42c46207cd
* Corrected TUContext record for aarch64-linux and aarch64-android. It fixes obtaining of an address of the instruction where a signal has thrown.
...
git-svn-id: trunk@39871 -
2018-10-06 18:36:02 +00:00
florian
15e656c36e
+ -x option to output all numeric constants as hex constants
...
git-svn-id: trunk@39870 -
2018-10-06 16:28:19 +00:00
yury
19fa828466
* android: Use the current dir as temp.
...
git-svn-id: trunk@39869 -
2018-10-06 15:20:20 +00:00
yury
ff3d7862d6
* Erase the temp file.
...
git-svn-id: trunk@39868 -
2018-10-06 15:10:24 +00:00