Chris Fallin
6a1a169c62
Merge pull request #2865 from eggyal/expose_get_got_address
...
Expose new `JITModule::read_got_entry` function
2021-05-04 11:30:52 -07:00
Ulrich Weigand
e1cc1a67d5
Object file support for s390x ( #2872 )
...
Add support for s390x binary format object files. In particular,
add support for s390x ELF relocation types (currently only
S390xPCRel32Dbl).
2021-05-03 11:50:00 -05:00
Alan Egerton
e4f9eebe3a
Expose new JITModule::read_got_entry function
2021-04-29 09:28:29 +01:00
Chris Fallin
67cc42d4c3
Merge pull request #2750 from bjorn3/anon_allocs
...
Support declaring anonymous functions and data objects
2021-04-12 12:11:11 -07:00
Chris Fallin
6bec13da04
Bump versions: Wasmtime to 0.26.0, Cranelift to 0.73.0.
2021-04-05 10:48:42 -07:00
bjorn3
b321a7291d
Clarify ownership of data returned by get_finalized_*
2021-03-22 09:48:09 -07:00
Benjamin Bouvier
6e6713ae0b
cranelift: add support for the Mac aarch64 calling convention
...
This bumps target-lexicon and adds support for the AppleAarch64 calling
convention. Specifically for WebAssembly support, we only have to worry
about the new stack slots convention. Stack slots don't need to be at
least 8-bytes, they can be as small as the data type's size. For
instance, if we need stack slots for (i32, i32), they can be located at
offsets (+0, +4). Note that they still need to be properly aligned on
the data type they're containing, though, so if we need stack slots for
(i32, i64), we can't start the i64 slot at the +4 offset (it must start
at the +8 offset).
Added one test that was failing on the Mac M1, as well as other tests
stressing different yet similar situations.
2021-03-22 10:06:13 +01:00
bjorn3
cc89111463
Support declaring anonymous functions and data objects
2021-03-21 18:00:26 +01:00
Will Robson
38926fb1fc
cranelift-module: Add support for passing a StackMapSink when defining functions
...
Fixes #2738
This follows the convention set by the existing method of passing a
TrapSink by adding another argument for a StackMapSink.
2021-03-19 00:02:15 +00:00
Nick Fitzgerald
d081ef9c2e
Bump Wasmtime to 0.25.0; Cranelift to 0.72.0
2021-03-16 11:02:56 -07:00
Dan Gohman
8854dec01d
Bump version to 0.24.0
...
I used a specially modified version of the publish script to avoid
bumping the `witx` version.
2021-03-04 18:17:03 -08:00
bjorn3
a710fc4425
Make Module object safe
2021-02-22 16:00:37 +01:00
Dan Gohman
8d90ea0390
Bump version to 0.23.0
...
I used a specially modified version of the publish script to avoid
bumping the `witx` version.
2021-02-17 15:35:43 -08:00
Dan Gohman
b396f6dc6f
Switch from memmap to memmap2.
...
See https://rustsec.org/advisories/RUSTSEC-2020-0077
2021-02-16 14:10:05 -08:00
Nick Fitzgerald
5ad82de3c5
Bump Wasmtime to 0.22.0; Cranelift to 0.69.0
2021-01-07 14:51:12 -08:00
bjorn3
411ec3a857
Rename SimpleJIT to JIT as it isn't simple anymore
2020-12-04 13:21:13 -08:00