Commit Graph

65727 Commits

Author SHA1 Message Date
mattias
88efd9eed6 webidl: write function with result type undefined as procedure 2022-07-21 11:17:03 +02:00
mattias
d35640bf10 webidl: parse deleter 2022-07-21 11:15:16 +02:00
mattias
368289d5d8 webidl: wasmjob: rename conflicting arg names 2022-07-21 11:03:38 +02:00
mattias
f1a6d97765 webidl: wasmjob: skip constructor 2022-07-21 10:48:40 +02:00
mattias
e660f2ea84 webidl: wasmjob: skip getter 2022-07-21 10:42:12 +02:00
mattias
984dcbb810 webidl: sort interfaces topological 2022-07-21 09:33:41 +02:00
florian
e66378ee59 * RiscV: generate mret only for FreeRTOS and Embedded 2022-07-20 22:16:19 +02:00
Michaël Van Canneyt
0e8d87bc26 * Add Cross-Origin Isolation headers 2022-07-20 08:58:09 +02:00
Michaël Van Canneyt
7930b31da7 * Patch from RDA to add S/MIME functions. Fix issue #39839 2022-07-20 08:58:09 +02:00
Yuri Serebrennikov
258b4576a2 Fix error getting payload when receiving a close command. 2022-07-19 22:33:28 +03:00
mattias
769b8a07b0 webidl: using JOB_JS, record as TJSObject 2022-07-18 20:35:32 +02:00
mattias
99f34158ca webidl: remove empty forward interfaces 2022-07-18 19:05:31 +02:00
mattias
62e9de223d webidl: fixed tests 2022-07-18 18:14:13 +02:00
mattias
20746a907d webidl: prefix enum types 2022-07-18 18:11:53 +02:00
mattias
f8c49c4a1f webidl: resolve typedef in args and resulttypes 2022-07-18 17:48:51 +02:00
mattias
2076f200de webidl: add typedef 2022-07-18 17:11:15 +02:00
Pierre Muller
7a1f617194 Cleanup bsd and sysctl units make rules 2022-07-17 21:12:14 +00:00
florian
a16f35dcb1 + support RV32E Extension 2022-07-17 22:14:13 +02:00
florian
399e699b72 * tests for merge request 244 2022-07-16 22:13:21 +02:00
Rika Ichinose
c26f9329b6 Support arrays and classes in compile-time OffsetOf. 2022-07-16 22:12:07 +02:00
Nikolay Nikolov
63c8e458bb * workaround crash when generating WebAssembly DWARF debug info for threadvars, while multithreading is turned off 2022-07-16 19:31:14 +03:00
Nikolay Nikolov
fcadc80163 * don't write R_WASM_TABLE_INDEX_I32 relocations, always use R_WASM_FUNCTION_OFFSET_I32 in debug sections 2022-07-16 19:08:06 +03:00
Nikolay Nikolov
972a9df031 + always (even when multithreading is off) create a "target features" section
in the WebAssembly object writer, since we still require some (very commonly
  supported) extensions, even without multithreading
2022-07-16 07:42:53 +03:00
Nikolay Nikolov
bf17a84dd2 + implemented the R_WASM_FUNCTION_OFFSET_I32 relocation in the WebAssembly object writer 2022-07-16 04:34:15 +03:00
Nikolay Nikolov
6a94d2683b + emit WASM DWARF debug info relocations 2022-07-16 04:19:50 +03:00
Nikolay Nikolov
90305b6032 + write the actual DWARF debug sections in the WebAssembly object writer. The relocations aren't ready, yet, though. 2022-07-16 02:13:42 +03:00
Nikolay Nikolov
b82af25e63 * fixed crashes with the WebAssembly internal object writer, when debug info is enabled. The debug info itself is not yet written to the file, though. 2022-07-16 01:40:21 +03:00
Nikolay Nikolov
a9698b6f6e + introduced TWasmObjSection.IsDebug 2022-07-16 00:54:11 +03:00
Nikolay Nikolov
eed1fbe38a + added custom section descriptions for DWARF debug info for the WebAssembly object writer (not actually emitted, yet) 2022-07-16 00:46:47 +03:00
mattias
22a1849733 webidl: wasmjob: updated class function Cast 2022-07-15 21:04:34 +02:00
Nikolay Nikolov
5395e52539 - disable the cs_opt_nodecse optimization from the -O2 for the WebAssembly target, because it causes a crash, when compiling the classes unit 2022-07-15 21:40:18 +03:00
J. Gareth "Curious Kit" Moreton
d1f035f456 * arm: Labels to constants are now data labels and not jump labels 2022-07-15 17:03:10 +00:00
J. Gareth "Curious Kit" Moreton
be39828fca * arm: Symbol reference counts are corrected when PC-relative data is inserted 2022-07-15 17:03:10 +00:00
J. Gareth "Curious Kit" Moreton
94c87243ca * Reference counts are now properly incremented on duplicated taicpu objects 2022-07-15 17:03:10 +00:00
florian
799c22d553 Revert " * patch by Rika: SwapEndian([u]int16) has unnecessary “and $FFFF”, resolves #39814"
This reverts commit f92102a5f2.

The and $ffff is needed to avoid range check warnings when the function is inlined with a constant parameter
2022-07-15 18:56:11 +02:00
Sven/Sarah Barth
8d90cd3e64 * fix #39826: correctly handle function references that are part of generics/specializations, but are not generics/specializations themselves
+ added test
2022-07-15 16:32:02 +02:00
Nikolay Nikolov
4144f8d93a * apply the same alignment parameters to wasm32-embedded as wasm32-wasi 2022-07-15 17:06:47 +03:00
Nikolay Nikolov
dba189f4af + show a "linking" message before invoking the linker for the wasm32-embedded target 2022-07-15 16:09:52 +03:00
Nikolay Nikolov
46dcd4da76 - removed debug writeln when calling the linker for the wasm32-embedded target 2022-07-15 16:07:16 +03:00
Nikolay Nikolov
b6c4592513 + allow specifying custom extra linker options for the wasm32-wasi target 2022-07-15 16:06:03 +03:00
Nikolay Nikolov
ad35fc82af + allow specifying custom extra linker options for the wasm32-embedded target 2022-07-15 16:04:01 +03:00
Nikolay Nikolov
ec9c81e77e * use current_module.sharedlibfilename instead of current_module.exefilename, when linking a library for the wasm32-embedded target 2022-07-15 15:59:34 +03:00
Nikolay Nikolov
9dfda963a3 + allow creating a linker map file, when compiling for the wasm32-embedded target 2022-07-15 15:57:23 +03:00
Nikolay Nikolov
078aa5d046 + pass '-m wasm32' to the linker, when compiling for the wasm32-embedded target 2022-07-15 15:53:55 +03:00
Nikolay Nikolov
1bbd16d1b7 + allow setting the stack size for the wasm32-embedded target 2022-07-15 15:53:13 +03:00
Nikolay Nikolov
8aee781950 * set the stack size to 64kb and stack align to 16 bytes for the wasm32-embedded target 2022-07-15 15:51:00 +03:00
Nikolay Nikolov
7cef39657f * stack alignment on the WASI platform is 16 bytes 2022-07-15 10:52:50 +03:00
florian
30f5558bf2 * patch by Rika: optimize TStringHelper.StartsWith / EndsWith, resolves #39706 2022-07-14 22:38:07 +02:00
Nikolay Nikolov
4e3c170ad4 + allow changing the stack size for the WASI platform 2022-07-14 20:57:11 +03:00
Nikolay Nikolov
c910ec814c * set the default stack size for the WASI platform to 65536 bytes (this is the
default, used by the linker)
2022-07-14 20:56:11 +03:00