bjorn3
e6f399419c
Atomic hotswapping in JIT mode ( #2786 )
...
* Introduce new_got_entry and new_plt_entry functions
* Return NonNull<*const u8> from get_got_address
* Make GOT entry writes atomic
* Defer GOT updates until relocations and protection
Co-authored-by: Alan Egerton <eggyal@gmail.com >
2021-06-09 09:51:11 -07:00
bjorn3
05b9037bbb
Use .map()
2021-05-11 17:11:43 +02:00
bjorn3
bb769afe6b
Remove errno dependency from cranelift-jit
2021-05-11 12:58:39 +02:00
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
bjorn3
b321a7291d
Clarify ownership of data returned by get_finalized_*
2021-03-22 09:48:09 -07: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
bjorn3
a710fc4425
Make Module object safe
2021-02-22 16:00:37 +01: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
bjorn3
411ec3a857
Rename SimpleJIT to JIT as it isn't simple anymore
2020-12-04 13:21:13 -08:00