Commit Graph

26936 Commits

Author SHA1 Message Date
Jonas Maebe
2949d0b548 LLVM: only add sret attribute for first parameter on caller side
We already did this when generating the definitions, but not yet
when generating the calls
2023-07-30 22:22:28 +02:00
Jonas Maebe
b49d58a9fa LLVM: Xcode 14.3 support 2023-07-30 22:22:28 +02:00
Michaël Van Canneyt
681a00a76f * Fixes based on feedback of team, fixes issue #40368 2023-07-30 11:19:47 +02:00
kamischi
40d0464e88 update German errordx.msg files 2023-07-29 16:01:37 +02:00
kamischi
69e775630a Update errore.msg
Someminor corrections, found when translating to german.
2023-07-29 15:55:07 +02:00
Michaël Van Canneyt
9e228ff355 * Allow System.Variants (Delphi-compatible name) to be found when inserting variants unit 2023-07-27 18:40:34 +02:00
Michaël Van Canneyt
a9cc89ff46 * Allow hidden units to be found when replaying generic 2023-07-27 18:40:34 +02:00
Michael VAN CANNEYT
64feb6a5cd * $NAMESPACES directive 2023-07-26 09:45:53 +02:00
Michael VAN CANNEYT
ed50a1941b * Unicode resource strings 2023-07-25 16:06:53 +02:00
Michael VAN CANNEYT
70b0cb99d4 * SetString needs correctly typed argument 2023-07-25 16:06:53 +02:00
Michael VAN CANNEYT
f364bb6b11 * Forbid use of string alias in system unit 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
fb9c718371 * get_stringconst should handle widestring correctly: library & import names are unicodestring constants in unicode rtl 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
9cfe6e97a0 * add uachar loading for unicode rtl 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
cd6d048588 * Add is_systemunit_unicode function (cchartype suymbol) 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
3eee2d8ff3 * Do not insert a widestring <-> ansistring conversion node when checking for (un)equal empty string. 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
4e959de2c7 * Do not insert widechar -> ansichar conversion node in const declaration
* Allow array constructor to contain widechars in mode unicodestring.
2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
56006aa002 * Allow widechar sets, reduce to ansichar set 2023-07-22 08:26:22 +00:00
Michaël Van Canneyt
adf9f98f7c * Define char as AnsiChar 2023-07-22 08:26:22 +00:00
J. Gareth "Curious Kit" Moreton
e4d5de8d05 * x86: Fixed bug with BT optimisation where operand
sizes bigger than the register word size caused
    incorrect code generation (fixes #40358)
2023-07-21 07:27:30 +01:00
Pierre Muller
79d1fcd40d Introduce -XLL option for link using ld.lld linker 2023-07-19 19:00:30 +02:00
Pierre Muller
513ba3c733 Add -Aas-clang for i386/x86_64 unix targets 2023-07-19 19:00:30 +02:00
Pierre Muller
a6e0e1fe59 Handle unaligned copy in TCGSparcGen.g_concatcopy method 2023-07-16 01:31:09 -05:00
Michaël Van Canneyt
fd1f7b2ef8 * Shorter form of copy, remark by Alexey Torgashin 2023-07-13 21:12:46 +02:00
Michaël Van Canneyt
d3111517d5 * More option processing 2023-07-13 17:24:34 +02:00
Michaël Van Canneyt
28a3223b6b * Handle some options required by android, nasm and darwin assemblers 2023-07-13 14:31:11 +02:00
Michaël Van Canneyt
125bd9d5e9 Create invoke helper if requested and reference it in RTTI 2023-07-13 07:32:21 +00:00
Michaël Van Canneyt
d3cc976551 * Mark method for invoke helper 2023-07-13 07:32:21 +00:00
Michaël Van Canneyt
7085083559 * Additional fields/enums for invoke helper 2023-07-13 07:32:21 +00:00
Michaël Van Canneyt
92f148e667 * Generate hidden class to be used for TVirtualInterface (wasm only) 2023-07-11 08:36:57 +00:00
florian
299f942d29 * change TCachedSearchRec.Attr to longint as TCachedDirectoryEntry.Attr is also a longint, resolves #40343 2023-07-09 16:20:18 +02:00
Pierre Muller
21b135a6ec Regenerate msgidx.inc and msgtxt.inc files 2023-07-07 17:21:08 +00:00
mattias
e14692f594 git ignore msg2inc binary 2023-07-07 11:17:33 +02:00
Michaël Van Canneyt
486f3a0c7f * Lowercase subtarget file, as done in compiler 2023-07-07 10:15:39 +02:00
Michaël Van Canneyt
0261a025de * Restore -aR, lost in refactoring 2023-07-07 10:15:03 +02:00
Pierre Muller
2cc319bb8e Add -Tlinux for loongarch64 compiler 2023-07-04 16:31:26 +00:00
florian
1e62913183 * check properly for the supported cpu type, resolves #40298 2023-07-02 17:53:12 +02:00
Nikolay Nikolov
f47ca0c5d1 * fixed ppudump for WebAssembly after the JS Promise Integration branch merge 2023-07-02 18:31:53 +03:00
florian
78c0c267a5 * cleanup 2023-07-01 20:54:08 +02:00
Michaël Van Canneyt
188fc9c112 * Fix compilation for ARM 2023-07-01 18:40:41 +00:00
Michaël Van Canneyt
1930aaa340 * Make use of copy() without count when rest of string is needed 2023-07-01 18:40:41 +00:00
Michaël Van Canneyt
535107a700 * Split out option parsing in one routine per letter 2023-07-01 18:40:41 +00:00
Sven/Sarah Barth
c994b5efe8 * fix #39447: when checking whether the parameters are valid for pointer arithmetic check the *correct* parameter for being valid pointer-like type (I'd say that this was a copy&paste mistake...)
+ added test
2023-06-30 17:42:39 +02:00
Sven/Sarah Barth
a20e8b9a3d * fix #40095: when searching a suitable constructor for the custom attribute don't allow the return of a procvar which can happen in Mac/TP procvar modes (like Delphi)
+ added test
2023-06-30 17:12:56 +02:00
Sven/Sarah Barth
78025d90b3 + add a tcallnodeflag value that prohibits the tcallnode.pass_typecheck to return a procvar in case of a call without parameters with a found symbol, but no suitable procdef 2023-06-30 17:11:43 +02:00
Sven/Sarah Barth
c7776d899b * in case there hasn't been an error generated with an invalid attribute declaration then print at least "illegal expression" error 2023-06-30 17:09:52 +02:00
Sven/Sarah Barth
3dc64dd67e * fix typo in comment 2023-06-30 17:02:37 +02:00
Sven/Sarah Barth
d97d34ee9c * fix #40332: apply patch by Rika to avoid a crash when an overload can't be picked outside of a function (e.g. when using intrinsics inside constants)
+ added test
2023-06-30 15:35:28 +02:00
Nikolay Nikolov
adf843196a Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2023-06-24 15:08:18 +03:00
Sven/Sarah Barth
f721210638 * fix #40142 and #40324: don't alias the function name to the $result variable for anonymous functions unless an explicit result name is provided
+ added tests
2023-06-23 17:06:41 +02:00
Sven/Sarah Barth
34f1a3ee28 * don't insert anonymous functions into a withsymtable
+ added test
2023-06-23 17:02:15 +02:00