Commit Graph

36 Commits

Author SHA1 Message Date
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
4d7eec10e9 fault, state: Cleanup and keep consistent with backend. 2019-12-17 00:32:26 +08:00
0a278c55ee For error handling and breakpoints, use Box<Any + Send> instead of Box<Any>. 2019-12-09 21:00:01 -08:00
8709708de7 Unwind if breakpoint handler returns error. 2019-11-22 01:57:04 +08:00
4ec4fcf28a Try fixing middleware failure. 2019-11-22 01:46:02 +08:00
605ada7ad7 Run cargo fmt. 2019-11-13 14:53:34 +08:00
08a1dd3e8c Merge master and add documentation. 2019-11-13 14:52:22 +08:00
f1339b4033 Fix known_registers size. 2019-11-13 01:00:27 +08:00
82ec5e970a Add additional rustdocs for missing docs found during CI 2019-11-10 15:16:07 -06:00
aad390d09d Deny missing docs in runtime core and add missing docs 2019-11-10 13:13:18 -06:00
03a9d1ad60 Cargo fmt 2019-11-11 01:43:16 +08:00
899fbed35d Merge master. 2019-11-11 01:42:43 +08:00
dc437bb4e7 Fix typo in comment. 2019-11-05 11:31:14 -08:00
88dc613385 Save and restore the additional XMM registers in OSR too. 2019-10-21 19:44:16 -07:00
2e532fa66d Preserve fault.ip when calling middleware. 2019-10-14 20:23:27 +08:00
b0b0983eb8 Allow accessing execution state in middleware breakpoint handlers. 2019-10-13 20:51:39 +08:00
5499a69ddc Run cargo fmt on everything. 2019-10-13 20:02:47 +08:00
c18bdd52cc Fix inline breakpoints on macOS. 2019-10-13 20:02:28 +08:00
db59127f71 Inline breakpoint support in core. 2019-10-11 21:04:53 +08:00
c337999c5c x 2019-10-08 18:43:39 +08:00
e0e7d58313 Make state mapping work on non-x86 architectures. 2019-10-07 23:00:37 +08:00
80d6c4cbc0 Implement get_fault_info for aarch64. 2019-10-06 18:27:35 +08:00
2af69f6710 Fixed compilation on aarch64. 2019-09-15 18:32:02 +08:00
9b77677e4b Relax constraints a bit to compile on aarch64. 2019-09-15 18:23:42 +08:00
ad70caff83 Remove colored CLI output from runtime-core lib.
When the colored output was originally added in https://github.com/wasmerio/wasmer/pull/489 and there was a discussion then about that it should ideally be in a higher-level crate rather than in the runtime-core library crate.

I agree with that, users of the library shouldn't be required to bring in the colored crate dependency and ideally also not have stdout/stderr output either, that should be controlled by the application that uses wasmer-runtime-core, not the library.

Disabling stdout/stderr output would be more intrusive but I wanted to at least not have colored output and another crate dependency so this change removes the colored output and the "colored" crate.
2019-09-15 03:21:04 +02:00
6a24485999 Insert trampolines to preserve callee-saved registers for backends without register save area information. 2019-08-15 19:10:24 -07:00
0e0573c73c Merge remote-tracking branch 'origin/master' into feature/llvm-osr 2019-08-14 16:33:26 -07:00
2e89f02191 Cargo fmt 2019-08-10 02:44:44 +08:00
b8c18215aa Refactor tier switching code 2019-08-10 02:32:14 +08:00
5a41686192 Fix bare_trait_objects warnings 2019-08-08 16:46:52 -06:00
c1619026d5 Swap code lazily when tiering up from singlepass to LLVM.
Does not handle long-running functions, but should work at least.
2019-08-09 04:26:17 +08:00
9ed5094f86 Resolve semantics for more values. 2019-08-01 23:28:39 +08:00
efb5277d1d Stack parsing now works with LLVM. 2019-07-27 02:50:49 +08:00
f32b22d571 Bkpt* -> Breakpoint* 2019-07-04 01:45:06 +08:00
7f28a4dbef Cleanup constants and comments. 2019-07-04 01:42:11 +08:00
5c5ecfff7d Rename alternative_stack to fault. 2019-07-04 01:27:19 +08:00