mattias
|
92e960c49a
|
pas2js: marked allowed writeln
|
2023-12-30 18:16:31 +01:00 |
|
mattias
|
108ecaff22
|
fcl-passrc: fixed typo
|
2023-12-30 18:01:17 +01:00 |
|
Michaël Van Canneyt
|
087b6cadda
|
* Not needed
|
2023-12-30 17:08:14 +01:00 |
|
Michaël Van Canneyt
|
6ce2662128
|
* No static versions for 5.6 and 5.7
|
2023-12-30 17:05:40 +01:00 |
|
Jonas Maebe
|
569b35dfc4
|
LLVM: enforce line information for invoke instructions
Like with call instructions, when generating debug information LLVM requires
line information for invoke instructions that may be inline
|
2023-12-30 14:56:38 +01:00 |
|
Sven/Sarah Barth
|
ad61db2ff5
|
* allow a nested function that calls itself can be converted to a function reference
+ added test
|
2023-12-30 14:47:38 +01:00 |
|
Sven/Sarah Barth
|
1853d1ddd8
|
* keep track which nested function definition the new method has been converted from
|
2023-12-30 14:45:41 +01:00 |
|
Sven/Sarah Barth
|
74833bda09
|
* split the two error cases of tanonfunc25 into two different tests
|
2023-12-30 13:58:09 +01:00 |
|
Sven/Sarah Barth
|
b00454bb0e
|
* ensure that nested functions that are assigned to function pointers are considered as captured as well
|
2023-12-30 13:55:15 +01:00 |
|
Sven/Sarah Barth
|
1606d4e28d
|
* only walk the node tree if there are indeed captured symbols to convert
|
2023-12-29 21:52:28 +01:00 |
|
Sven/Sarah Barth
|
ab5c5a7e9a
|
* also keep track of captured def (necessary when functions are captured)
|
2023-12-29 20:26:45 +01:00 |
|
Sven/Sarah Barth
|
b5b7cd54eb
|
* fix typo in comment
|
2023-12-29 20:24:53 +01:00 |
|
Sven/Sarah Barth
|
787454d5b2
|
* correctly handle managed function results when converting a global or nested function to a function reference
+ added test
|
2023-12-29 20:55:37 +01:00 |
|
Sven/Sarah Barth
|
ca0323d4ca
|
* the adjusted nested function needs to access the parent function for the capturer
|
2023-12-29 20:55:37 +01:00 |
|
J. Gareth "Curious Kit" Moreton
|
af40ae2c91
|
* x86: Safety check, since after calling DoJumpOptimizations, the input may no longer be the same tai
|
2023-12-29 14:17:08 +00:00 |
|
J. Gareth "Curious Kit" Moreton
|
3a2342fec4
|
* GetFinalDestination now calls SkipLabels on an alignment field
|
2023-12-29 14:17:08 +00:00 |
|
J. Gareth "Curious Kit" Moreton
|
2c89ddf62b
|
* SkipLabels now handles alignment fields correctly
|
2023-12-29 14:17:08 +00:00 |
|
J. Gareth "Curious Kit" Moreton
|
dbcab9cc29
|
* SkipAligns method removed
|
2023-12-29 14:17:08 +00:00 |
|
J. Gareth "Curious Kit" Moreton
|
6fd5b86cff
|
* x86: SkipAligns calls removed.
|
2023-12-29 14:17:08 +00:00 |
|
J. Gareth "Curious Kit" Moreton
|
72081c803e
|
* a64: SkipAligns calls removed.
|
2023-12-29 14:17:08 +00:00 |
|
J. Gareth "Curious Kit" Moreton
|
83f383e004
|
* Fixed bug where the original index of a call
para wasn't copied over during "DoGetCopy"
|
2023-12-28 20:48:43 +00:00 |
|
J. Gareth "Curious Kit" Moreton
|
d25d094d57
|
* Fixed bug where a call node's intrinsic code
wasn't copied over during "DoGetCopy"
|
2023-12-28 20:48:43 +00:00 |
|
Nikolay Nikolov
|
d6c3c74b46
|
+ create relocation objects for R_WASM_FUNCTION_OFFSET_I32 relocations in the wasm object reader
|
2023-12-28 21:26:12 +02:00 |
|
Nikolay Nikolov
|
73895d3cbc
|
+ create relocation objects for R_WASM_TYPE_INDEX_LEB relocations in the wasm object reader
|
2023-12-28 21:23:08 +02:00 |
|
Nikolay Nikolov
|
ae93f8de91
|
+ create relocation objects for R_WASM_MEMORY_ADDR_I32 relocations in the wasm object reader
|
2023-12-28 21:15:59 +02:00 |
|
Nikolay Nikolov
|
35f2fb1e8d
|
* fix warning
|
2023-12-28 21:11:26 +02:00 |
|
Nikolay Nikolov
|
bd606c6b77
|
+ create relocation objects for R_WASM_MEMORY_ADDR_SLEB relocations in the wasm object reader
|
2023-12-28 21:07:41 +02:00 |
|
Nikolay Nikolov
|
3e14d47b92
|
+ create relocation objects for R_WASM_MEMORY_ADDR_LEB relocations in the wasm object reader
|
2023-12-28 21:04:13 +02:00 |
|
Nikolay Nikolov
|
118e093c97
|
+ create relocation objects for R_WASM_TABLE_INDEX_I32 relocations in the wasm object reader
|
2023-12-28 20:59:32 +02:00 |
|
Nikolay Nikolov
|
c605da6ab3
|
+ create relocation objects for R_WASM_TABLE_INDEX_SLEB relocations in the wasm object reader
|
2023-12-28 20:57:04 +02:00 |
|
Nikolay Nikolov
|
aa296af787
|
+ create relocation objects for R_WASM_FUNCTION_INDEX_LEB relocations in the wasm object reader
|
2023-12-28 20:52:17 +02:00 |
|
marcoonthegit
|
95dce3c5a8
|
*
|
2023-12-28 19:43:34 +01:00 |
|
Nikolay Nikolov
|
bc798695fe
|
+ find the code and data segment of each relocation
|
2023-12-28 20:07:24 +02:00 |
|
Nikolay Nikolov
|
268a148d3a
|
+ store the parsed relocation table in an array
|
2023-12-28 16:47:00 +02:00 |
|
Nikolay Nikolov
|
82c52ed127
|
* disallow (for now) relocations for sections other than the code and data sections
|
2023-12-28 16:37:58 +02:00 |
|
Nikolay Nikolov
|
649438efa6
|
+ keep track of section indexes. Save the code and data section indexes.
|
2023-12-28 16:35:11 +02:00 |
|
Nikolay Nikolov
|
a1bdf11d99
|
+ check for supported relocation types, report an error if an unsupported type is found
|
2023-12-28 16:09:03 +02:00 |
|
Nikolay Nikolov
|
881ca2c52f
|
+ implemented parsing of the relocation section
|
2023-12-28 16:02:27 +02:00 |
|
Nikolay Nikolov
|
7f30a87651
|
+ started implementing the reading of relocation sections in the wasm object reader
|
2023-12-28 15:53:45 +02:00 |
|
Nikolay Nikolov
|
026781b9a3
|
* set MaxMemPos in the wasm internal linker
|
2023-12-28 15:27:53 +02:00 |
|
Nikolay Nikolov
|
791328ccb5
|
+ auto add oso_data and oso_sparse_data when creating a .bss segment on the wasm target
|
2023-12-28 15:18:47 +02:00 |
|
Nikolay Nikolov
|
605740fd0a
|
+ create exe sections in the wasi internal linker script
|
2023-12-28 15:17:59 +02:00 |
|
Nikolay Nikolov
|
eeae32669e
|
+ add oso_keep flag to the code sections that contain an export
|
2023-12-28 14:54:06 +02:00 |
|
Nikolay Nikolov
|
24972d9861
|
+ parse the export table in the wasm internal object reader
|
2023-12-28 14:50:51 +02:00 |
|
Nikolay Nikolov
|
4b9e1ab30a
|
+ wasm object reader: create code sections and symbols
|
2023-12-28 14:29:59 +02:00 |
|
Nikolay Nikolov
|
4b179ce4fa
|
+ check the code entries count in the wasm object reader
|
2023-12-28 14:14:30 +02:00 |
|
Nikolay Nikolov
|
87a3bfe99d
|
+ fully implemented reading the code section
|
2023-12-28 13:25:44 +02:00 |
|
Nikolay Nikolov
|
3d5a100f79
|
+ wasm object reader: implemented parsing of the global section
|
2023-12-28 12:42:48 +02:00 |
|
Nikolay Nikolov
|
4ba064d894
|
+ include mod name in symbols
|
2023-12-27 15:15:54 +02:00 |
|
Nikolay Nikolov
|
c293d0b729
|
+ partially implemented the creation of symbols for SYMTAB_FUNCTION entries
|
2023-12-27 15:14:21 +02:00 |
|