Commit Graph

70449 Commits

Author SHA1 Message Date
Nikolay Nikolov
a76ca8f60e + pass '--no-type-check' to llvm-mc-13, because its type checking is broken 2024-09-01 20:03:29 +03:00
Nikolay Nikolov
5e327453a8 + WebAssembly external asm writer: workaround for the 'missing functype' error,
produced by LLVM-MC versions 13 and above
2024-09-01 19:52:50 +03:00
Michaël Van Canneyt
9956cafa65 * Allow vendor specific registry XML files. Patch by Iluha Companets. Fixes issue #40910 2024-09-01 11:40:16 +02:00
florian
4fea0e355e + apply OptPass1FData on FRINT* 2024-08-31 21:51:15 +01:00
Rika Ichinose
cd2c8a6539 Faster RTTIManagementAndSize -_-. 2024-08-31 11:34:49 +03:00
Pierre Muller
8a38755dab Add SEPLOG make variable, and add it to LOGFILES value 2024-08-30 22:57:57 +02:00
Pierre Muller
26a49835b5 Use seplog name for separate chunck output file 2024-08-30 22:57:57 +02:00
Pierre Muller
2db7b8d565 announce start of each chunk 2024-08-30 22:57:57 +02:00
Pierre Muller
7e07a36fe4 Rename separate logs to use sep_log prefix 2024-08-30 22:57:57 +02:00
Pierre Muller
70998b6720 Use MAKEINC_SEPARATE to enable use of '-f' option of gparmake, to redirect dotest output to separate log files 2024-08-30 22:57:57 +02:00
Pierre Muller
e60bf232b9 Add '-f' option to gparmake, to redirect dotest output to separate log files 2024-08-30 22:57:57 +02:00
Pierre Muller
9f69dd28b4 Allow to pass antoher exitcode to fail utility by command line first parameter 2024-08-30 22:57:56 +02:00
Pierre Muller
34a18adea6 Set Result to false at ExecuteRedir function entry 2024-08-30 22:57:56 +02:00
Pierre Muller
b36c8199bd Add non-empty UniqueSuffix also as string prefix to all Verbose procedure calls 2024-08-30 22:57:56 +02:00
Michaël Van Canneyt
3b0d2b329a * Webassembly HTTP request API 2024-08-30 22:51:21 +02:00
florian
d8278b1699 * make typing more consitent; cosmetics 2024-08-30 21:42:07 +01:00
Pierre Muller
b40d312521 Recompile rtl before trying to compile msg2inc binary 2024-08-29 22:48:15 +02:00
Pierre Muller
94d7aeb998 Add msg as prerequisite for compiler to fix 'make distclean all' failure 2024-08-29 22:41:40 +02:00
florian
7d1bb89455 * patch by Alexander (Rouse_) Bagel: TArrayHelper.BinarySearch, when searching
for an element that is obviously missing from the array, should return
    the position where the element should have been, but instead it reset AFoundIndex to -1, resolves #40867
2024-08-29 21:18:57 +01:00
florian
90cc6db5cb * armv7 should a synonyme for arm7a 2024-08-28 20:27:09 +01:00
Pierre Muller
c88873cd46 Add missing Makefile for h68units, testinsight and wasm-oi packages 2024-08-28 09:21:24 +00:00
Pierre Muller
d40aac6cca Implement regeneration of compiler msgidx.inc and msgtxt.inc files for IDE if needed 2024-08-27 21:57:55 +00:00
florian
f81ce16d2a + AArch64: apply OptPass1FData also to FCSEL 2024-08-27 20:22:53 +01:00
J. Gareth "Curious Kit" Moreton
096d5f50b2 * arm / a64: New optimisation for removing the number of necessary S/UXTB/H instructions 2024-08-27 18:32:14 +00:00
J. Gareth "Curious Kit" Moreton
b1a9150160 * arm / a64: Factored out common conditional checks in "OptPass1UXTB",
"OptPass1SXTB", "OptPass1UXTH" and "OptPass1SXTH" to
               improve performance.
2024-08-27 18:32:14 +00:00
Rika Ichinose
6de766e40a Redesign RTTISizeAndOp to return more useful information. 2024-08-27 14:44:48 +03:00
Michaël Van Canneyt
97b61b64c3 * Fix compilation when using unicode rtl 2024-08-27 10:08:48 +02:00
Michaël Van Canneyt
8139c0a8bd * Properly nest beginupdate/endupdate in doaddobject 2024-08-27 09:52:36 +02:00
florian
dd26c1502c * estimate complexity of ordconst node better on RiscV 2024-08-26 21:42:51 +01:00
Alligator-1
00d5351b55 partial revert 2024-08-26 20:20:57 +00:00
mattias
887826cd7c fcl-css: test scan -10.2e+2 2024-08-26 19:01:10 +02:00
Alligator-1
8c3829e698 nostackframe 2024-08-26 13:02:45 +00:00
mattias
37ad2c42ef fcl-css: fixed parsing attribute value hex color 2024-08-26 13:51:08 +02:00
Nikolay Nikolov
54d65ff75c * WebAssembly: fixed crash when attempting to generate a functype directive for
a generic function
2024-08-25 20:49:55 +03:00
Nikolay Nikolov
7ce2f95db0 - disallow enabling regvars for WebAssembly, because it's not supported, yet 2024-08-25 19:58:05 +03:00
Nikolay Nikolov
b6527c6c03 + WebAssembly: check for exceptions after call of fpc_rangeerror in branchful
exceptions mode. This fixes catching of ERangeError exceptions when using
  SysUtils and runtime errors are converted to exceptions.
2024-08-25 13:43:50 +03:00
Nikolay Nikolov
58a3f2ef64 * WebAssembly: changed the generated code in a_op_reg_reg_reg_checkoverflow to
avoid using a label
2024-08-25 13:23:45 +03:00
Rika Ichinose
d7352e7b66 Remove most of the VER3_0 conditionals. 2024-08-25 09:44:11 +00:00
Nikolay Nikolov
7a1c50ff87 * fix warning 2024-08-25 12:20:55 +03:00
Nikolay Nikolov
d2785117df * WebAssembly: fixed overflow checking for unsigned subtraction 2024-08-25 11:48:53 +03:00
Nikolay Nikolov
4f42553cb3 * fix bug in thlcgwasm.a_op_reg_reg_reg_checkoverflow when either src1 or src2
is the same as dst
2024-08-25 11:33:33 +03:00
florian
0735ac0d1f * throw an error in iso/extended pascal mode if enum types are passed to writeln, resolves #40896 2024-08-24 22:14:43 +02:00
marcoonthegit
4b4e40dbc9 * fixes #40893 using Otherfiles parameter to fpdoc with CHM backend. 2024-08-24 17:25:51 +02:00
mattias
0a6344270a fcl-css: comment 2024-08-24 16:43:42 +02:00
Michaël Van Canneyt
58560d333e * Keep old behaviour, but keep issue #40898 solved 2024-08-24 16:20:27 +02:00
Nikolay Nikolov
97ad8fafd8 * fix compilation error in test for OSes that have no HAS_MONITOR defined 2024-08-24 15:11:20 +03:00
Nikolay Nikolov
cad9cd22d3 * ignore the '-gl' parameter on WebAssembly, since it's impossible to implement
this feature on this target. WebAssembly is a Harvard architecture and allows
  no way for inspecting code addresses in stack traces from within the program
  itself. Maybe a future extension to the WebAssembly spec would allow that, but
  currently, it's not possible. The '-gl' option is ignored (producing only a
  warning, instead of a fatal error), because not having line info should not be
  fatal for most programs. It also reduces the number of test failures, since
  many tests compile with '-gl', but don't actually require the line info, it's
  just there for debugging purposes.
2024-08-24 14:31:31 +03:00
Nikolay Nikolov
184c612f78 + WebAssembly: allow specifying heapsize and maxheapsize larger than 2GiB
(WebAssembly has a 32-bit address space, so there's still a 4GiB limit)
2024-08-24 14:09:43 +03:00
Nikolay Nikolov
7fc6d5aaa1 + introduced method tscannerfile.readval64, similar to readval, but returns an int64 2024-08-24 13:58:49 +03:00
Nikolay Nikolov
71ada8453a + increase WebAssembly max memory limit for test tw11006.pp, because the test
runs out of memory with the default memory limit of 256 MiB
2024-08-24 13:19:08 +03:00