Commit Graph

339 Commits

Author SHA1 Message Date
losfair
1144222d15 Middleware for cranelift. 2020-06-16 00:56:35 +08:00
Syrus Akbary
f0c8542e1e Address comments from PR 2020-06-13 09:49:57 -07:00
Syrus
b01350110b Merge branch 'master' into cranelift-update
# Conflicts:
#	Cargo.lock
#	lib/compiler/src/lib.rs
#	lib/compiler/src/target.rs
2020-06-12 14:28:08 -07:00
Syrus
8db235538a Improve code based on comments 2020-06-12 12:46:16 -07:00
losfair
af46df5e4c Merge remote-tracking branch 'origin/master' into middleware 2020-06-13 00:55:47 +08:00
Syrus
6924a9de08 Improved docs 2020-06-11 23:34:20 -07:00
Syrus
523c95903a Merge branch 'master' into cranelift-update
# Conflicts:
#	lib/compiler-cranelift/Cargo.toml
2020-06-11 15:48:17 -07:00
Syrus
1e85e0d528 Update version to 1.0.0-alpha.1 2020-06-11 15:31:29 -07:00
Syrus
8e24589cff Merge branch 'master' into cranelift-update
# Conflicts:
#	lib/compiler-cranelift/Cargo.toml
2020-06-11 09:58:42 -07:00
Syrus
36223364e0 Updated Wasmer versions to 1.0 2020-06-11 09:52:26 -07:00
Syrus
274fa1944f Removed unused code 2020-06-11 09:36:13 -07:00
Syrus
ff8f3c8948 Autodetect endianness based on target triple 2020-06-11 00:31:04 -07:00
Syrus
b463f738a2 Improved unwind generation in cranelift 2020-06-10 23:33:11 -07:00
Syrus
360407423a Merge branch 'master' into cranelift-update
# Conflicts:
#	lib/engine-jit/src/code_memory.rs
#	lib/engine-jit/src/engine.rs
2020-06-10 23:06:01 -07:00
Syrus
dbd37e6740 Cranelift in Unix working all the way with unwind info 2020-06-10 22:33:25 -07:00
Syrus
e2cafd07da Improved compilation with Dwarf 2020-06-10 21:37:36 -07:00
Syrus
eaf85c2bfe Added partial support for EH_FRAME in Cranelift for unwind 2020-06-10 20:44:44 -07:00
Syrus Akbary
f9aabeec4f Compiling version running on Windows 2020-06-10 22:53:08 -07:00
Syrus
803c896946 Merge branch 'master' into cranelift-update
# Conflicts:
#	lib/compiler-cranelift/Cargo.toml
#	lib/compiler-cranelift/src/debug/mod.rs
#	lib/compiler-cranelift/src/lib.rs
#	lib/compiler/src/unwind.rs
#	lib/engine-jit/src/code_memory.rs
#	lib/engine-jit/src/function_table.rs
#	lib/engine-jit/src/lib.rs
#	lib/wasm-common/Cargo.toml
2020-06-09 18:44:41 -07:00
Ivan Enderlin
ce2379622a chore(compiler-cranelift) It's cheaper to copy TargetFrontendConfig rather than ref.
Learn more at https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref.
2020-06-09 14:39:06 +02:00
Syrus
5ec1addae1 Use middleware reader 2020-06-08 13:30:38 -07:00
Nick Lewycky
f94696b2ce Fix repeated typo "funciton". 2020-06-06 17:22:26 -07:00
Syrus
abbd39c50b Refactor trampoline compilation 2020-05-29 19:37:03 -07:00
Syrus
17bca3cf8e Use minor versions instead of patch 2020-05-27 17:42:47 -07:00
Syrus
3e76e2d1f1 Fixed comments 2020-05-19 22:08:48 -07:00
Syrus
1cc32b7a73 Make dynamic functions work again 2020-05-19 22:03:28 -07:00
Syrus
a62b720954 Adapt cranelift imports to only use one context 2020-05-19 21:19:54 -07:00
Syrus
09e057338a Renamed Module to ModuleInfo 2020-05-19 18:47:50 -07:00
Syrus
ae8dcfcb27 Make PIC optional for compilers 2020-05-19 16:56:56 -07:00
Syrus
88b4533832 Merge branch 'master' into native-engine
# Conflicts:
#	Cargo.lock
#	lib/api/src/externals.rs
#	lib/compiler/src/relocation.rs
#	lib/engine-jit/src/link.rs
#	lib/engine/src/engine.rs
2020-05-18 17:26:49 -07:00
Syrus
10dd61b25c Improved code lint 2020-05-18 12:34:41 -07:00
Syrus
2103aabf4a Address feedback 2020-05-18 12:33:50 -07:00
Syrus
50d57a0467 Removed unused code 2020-05-17 20:58:27 -07:00
Syrus
5dfa9faafb Improve compiler names for trampoline functions 2020-05-17 20:32:42 -07:00
Syrus
89365641bc Fix clippy issues 2020-05-17 18:27:40 -07:00
Syrus
2bbceeb239 Moved DynamicFunctionImportContext abstraction into runtime 2020-05-16 03:10:24 -07:00
Syrus
9ee325bff3 Remove unused code 2020-05-16 00:55:57 -07:00
Syrus
5f8f7a5dc1 Merge branch 'master' into host-trampolines 2020-05-15 20:07:40 -07:00
Syrus
f38720337f Reverse trampoline static generation now works! 🎉 2020-05-14 19:28:36 -07:00
Syrus
a419e67cbb Make clippy happy 2020-05-14 11:07:06 -07:00
Syrus
1c21e4f927 Make host trampolines work (PoC) 2020-05-13 20:53:54 -07:00
Mark McCaskey
09efdfea73 Fix clippy warnings, apply 2020-05-13 17:21:52 -07:00
Mark McCaskey
388c9d63a3 Fix more warnings, address feedback 2020-05-13 13:02:19 -07:00
Mark McCaskey
e77cbd8b94 Deny many warnings in CI; fix warnings 2020-05-13 12:44:34 -07:00
Syrus Akbary
397b8e77eb Merge branch 'master' into native-engine 2020-05-08 17:24:33 -07:00
Syrus
c00305d124 Enable pic compilation in cranelift 2020-05-07 21:58:23 -07:00
Syrus
5be2f05348 Improved support for more relocations 2020-05-07 21:58:10 -07:00
Mark McCaskey
480ecd2cda Apply various fixes to get the C API working
24% of tests are passing now!
2020-05-07 14:02:13 -07:00
Syrus
0082902c42 Added support for wasmer_raise_trap call 2020-05-05 13:25:07 -07:00
Syrus
8ccf7057fa Make cranelift happy 2020-05-04 21:34:38 -07:00