Commit Graph

270 Commits

Author SHA1 Message Date
3d6e915108 Merge branch 'master' into feature/debug-prototype2 2020-02-20 17:48:02 -08:00
7c5f8251e3 Flatten tuple in return type, conditionally remove more jit debug code 2020-02-20 16:59:59 -08:00
1374bf0806 Prepare for 0.14.0 release 2020-02-20 13:15:29 -08:00
0ec08b5bbd Add updates from feedback 2020-02-20 13:06:50 -08:00
65a9e04f3c Add updates from feedback
Co-authored-by: Nick Lewycky <nick@wasmer.io>
2020-02-20 11:20:40 -08:00
3bca20d3d3 Add changelog entry, clean up 2020-02-19 16:37:43 -08:00
64cc59179a Merge branch 'master' into feature/debug-prototype2 2020-02-19 16:13:35 -08:00
a2e531bda4 Update to use published wasm-debug; make dep optional in clif-backend 2020-02-19 15:53:36 -08:00
68af917d4c Update field names in wasm-debug types 2020-02-19 15:46:43 -08:00
1ac59a31f6 Add various small improvements, update attributions file 2020-02-18 17:31:12 -08:00
923e4ac83a Add command line flag, make debug crate optional, clean up API 2020-02-14 12:34:25 -08:00
23275d07f6 Improve clif verifier error message 2020-02-14 11:45:11 -08:00
5e3147db08 Enable clif verifier in debug mode, fix issue with verifier 2020-02-14 11:32:49 -08:00
e34e0bb897 Clean up, everything works 2020-02-12 17:09:30 -08:00
5e3c5f703f Fix validation issue, cast to the correct type 2020-02-11 16:35:42 -08:00
0564000da3 Add wip debugging code 2020-02-11 09:52:21 -08:00
cc4b512bde Fix clif trap code conversions. 2020-02-11 03:16:56 +08:00
b40edd4512 Fix failures on test compilation. 2020-02-11 03:03:05 +08:00
e0aafbe9dd Remove WasmTrapInfo and passExceptionCode in the generic Box<Any> container. 2020-02-06 23:49:50 +08:00
42132c42b6 Restructure to use external crate, add integration 2020-02-03 16:01:23 -08:00
800b2a42cc Add debug prototype 2 (fork of wasmtime-debug) 2020-01-31 12:42:09 -08:00
fcbdada259 Port to FreeBSD 2020-01-28 21:49:55 +01:00
430524ce51 Prepare for 0.13.1 release 2020-01-16 14:07:18 -08:00
bb794598e9 Update clif-backend to use new published crates 2020-01-15 12:11:02 -08:00
3c996bc821 Prepare for 0.13.0 release 2020-01-15 11:09:47 -08:00
12f1f2d8a8 Merge #1143
1143: Set backend_id to static str r=MarkMcCaskey a=syrusakbary

<!-- 
Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test:
https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests

-->

# Description

As per feedback in #1099, set backend_id to static str.

<!-- 
Provide details regarding the change including motivation,
links to related issues, and the context of the PR.
-->

# Review

- [ ] Add a short description of the the change to the CHANGELOG.md file


Co-authored-by: Syrus <me@syrusakbary.com>
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2020-01-15 18:32:01 +00:00
286e5db370 Remove vestigial debug features from various crates 2020-01-14 13:03:19 -08:00
a1d8b9aa5b Move backend_id to static str 2020-01-13 15:40:09 +01:00
d7154fe791 Remove Backend dependency 2020-01-07 16:12:39 +01:00
c4d70a6b75 Use Arc instead of Rc 2019-12-20 20:37:47 -08:00
294cc28135 Move inline breakpoint outside of runtime backend
There was some code smell leaking inline breakpoint implementation into the runtime core backend instead of the compiler itself
2019-12-20 18:26:56 -08:00
fe969be612 Update wasmparser to version 0.45.0 2019-12-20 17:16:54 -08:00
c2f287e65b Update to cranelift 0.51. 2019-12-20 17:10:36 -08:00
6a74b7e994 Prepare for 0.12.0 release 2019-12-18 17:24:29 -05:00
0a278c55ee For error handling and breakpoints, use Box<Any + Send> instead of Box<Any>. 2019-12-09 21:00:01 -08:00
bb1e7a8d78 Prepare for 0.11.0 release 2019-11-22 11:18:06 -08:00
e568c4a374 Merge #972
972: Prepare for 0.10.2 release r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-11-18 19:44:33 +00:00
anb
3b2d751c55 Enable compilation for specific target
By exposing the target information through `CompilerConfig`,
compiler(only LLVM at the moment) could create a machine with
different CPU feature flags other than current host, which makes it
capable to "cross compile" to some degree.

Update #959
2019-11-15 18:51:59 -08:00
cebcb4c927 Prepare for 0.10.2 release 2019-11-15 14:55:53 -08:00
fff16c08d0 Merge #965
965: Add categories and keywords to `Cargo.toml`s r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-11-13 23:47:56 +00:00
9127eaf825 Add categories and keywords to Cargo.tomls 2019-11-13 15:46:09 -08:00
af12bf4f68 Merge branch 'master' into feature/deny-missing-docs-clif-backend 2019-11-12 11:43:54 -06:00
89859a9ab5 Merge branch 'master' into feat-runtime-core-clos-host-function 2019-11-12 14:36:33 +01:00
91b5059506 Deny missing docs in the clif backend crate 2019-11-11 20:05:04 -06:00
69950d9e5f Prepare for 0.10.1 release 2019-11-11 16:22:37 -08:00
95706160ee Merge branch 'master' into feat-runtime-core-clos-host-function 2019-11-12 00:55:40 +01:00
11f34a9285 feat(clif-backend,singlepass-backend) Feed imported functions with FuncCtx.vmctx. 2019-11-12 00:51:57 +01:00
98e4ef066a feat(runtime-core) Feed imported functions with vm::Ctx again.
… and look for the associated `vm::FuncCtx`. This way, we don't break
the rule: “all functions receive a vmctx pointer as first argument.”.
2019-11-12 00:50:25 +01:00
0a216c0779 Prepare for 0.10.0 release 2019-11-11 12:13:53 -08:00
6035bd2d9b feat(runtime-core,clif-backend,llvm-backend) Rename an ImportFunc offset.
`ImportedFunc::offset_vmctx` becomes `ImportedFunc::offset_func_ctx`.
2019-11-06 14:48:46 +01:00