bors[bot]
d26cee8bba
Merge #489
...
489: Su Engine: Decoding and encoding runtime state. r=losfair a=losfair
This PR implements a managed runtime that is able to suspend a running WebAssembly program at arbitrary point in time, decode its machine state (registers and stack) into the corresponding WebAssembly abstract state (call frames, locals and the value stack), and encode the abstract state back into machine state for resuming execution later.
Features enabled by this PR include:
- Tier (compiler backend) switching at runtime.
- Debugging with backtraces and local variables.
- Suspending to disk.
- Live migration.
The name "Su" corresponds to 「溯」 in Chinese, originating from 「溯洄从之」 in The Book of Songs.
Co-authored-by: losfair <zhy20000919@hotmail.com>
2019-07-05 01:39:41 +00:00
losfair
a3dcc0e240
Merge remote-tracking branch 'origin/master' into feature/osr
2019-07-04 23:56:45 +08:00
bors[bot]
e5867f5b6c
Merge #523
...
523: update to version 0.5.3 for wapm bug fix r=MarkMcCaskey a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-07-03 21:43:54 +00:00
Mark McCaskey
535da4c34a
update to version 0.5.3 for wapm bug fix
2019-07-03 14:35:39 -07:00
losfair
02464991da
Cargo fmt
2019-07-04 01:45:54 +08:00
losfair
f32b22d571
Bkpt* -> Breakpoint*
2019-07-04 01:45:06 +08:00
losfair
7f28a4dbef
Cleanup constants and comments.
2019-07-04 01:42:11 +08:00
losfair
5c5ecfff7d
Rename alternative_stack
to fault
.
2019-07-04 01:27:19 +08:00
bors[bot]
c1fabc9624
Merge #521
...
521: update for release wasmer 0.5.2 r=MarkMcCaskey a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-07-02 21:20:08 +00:00
Mark McCaskey
83da82d844
update for release wasmer 0.5.2
2019-07-02 14:13:45 -07:00
bors[bot]
92f1aa7961
Merge #518
...
518: Update to newer cranelift and wasmparser 0.32.1. r=nlewycky a=nlewycky
Co-authored-by: Nick Lewycky <nick@wasmer.io>
Co-authored-by: nlewycky <nick@wasmer.io>
2019-07-02 17:40:40 +00:00
nlewycky
edb674d84b
Merge branch 'master' into update-cranelift
2019-07-02 10:07:22 -07:00
Nick Lewycky
b8f0292c0a
Update to wasmpaser 0.32.1.
2019-07-02 10:00:19 -07:00
Nick Lewycky
75faae2912
Disable jump tables. We don't have an implementation of reloc_jt yet.
2019-07-02 09:55:46 -07:00
bors[bot]
fc9398eb0f
Merge #519
...
519: improve networking in emscripten r=MarkMcCaskey a=MarkMcCaskey
Adds a null check to WasmPtr, improves networking in Emscripten, implements poll
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-07-02 00:40:25 +00:00
Mark McCaskey
d407606db4
fix issue with linux
2019-07-01 16:59:25 -07:00
Mark McCaskey
a4171892ea
move unix code to unix only location
2019-07-01 16:50:55 -07:00
Mark McCaskey
623bec001f
improve networking in emscripten
2019-07-01 16:36:30 -07:00
Nick Lewycky
adb257a40f
Reformat.
2019-07-01 16:15:13 -07:00
Nick Lewycky
9fc713f9b1
Update for new wasmparser.rs version.
2019-07-01 16:11:38 -07:00
nlewycky
35c2325571
Merge branch 'master' into update-cranelift
2019-07-01 15:30:35 -07:00
Nick Lewycky
fe38cc915b
Update to newer cranelift which also requires an update to wasmparser 0.31.0.
2019-07-01 15:27:17 -07:00
bors[bot]
fada36a72c
Merge #514
...
514: improve emscripten sockets and networking r=MarkMcCaskey a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-07-01 20:29:52 +00:00
Mark McCaskey
6afc2e4fd9
fix warnings; rm dbg statements
2019-07-01 12:57:33 -07:00
Mark McCaskey
d825fe9eb2
remove unix-specific code from code windows sees
2019-07-01 11:42:50 -07:00
bors[bot]
13c5f5e71b
Merge #516
...
516: Add workaround for singlepass miscompilation on GetLocal. r=syrusakbary a=losfair
Co-authored-by: losfair <zhy20000919@hotmail.com>
2019-07-01 15:16:21 +00:00
losfair
c67405ffe5
Add workaround for singlepass miscompilation on GetLocal.
2019-07-01 21:20:35 +08:00
losfair
650f67a339
Merge remote-tracking branch 'origin/master' into feature/osr
2019-07-01 21:15:35 +08:00
losfair
adada7e751
Only print backtrace if frames are detected
2019-07-01 21:12:19 +08:00
Syrus Akbary
5f42045298
Fixed CHANGELOG PR urls
2019-06-30 16:28:26 -07:00
bors[bot]
f76042412e
Merge #515
...
515: Improved emscripten dyncalls r=syrusakbary a=syrusakbary
Improved emscripten dyncalls
Co-authored-by: Syrus <me@syrusakbary.com>
2019-06-30 19:51:48 +00:00
Syrus
a2b723d37e
Added more emscripten dyncalls
2019-06-30 11:10:54 -07:00
losfair
614b3b9918
Run middlewares after begin_body
.
2019-06-30 11:50:21 +08:00
losfair
80509e3f78
Fix singlepass miscompilation.
2019-06-30 11:50:06 +08:00
Syrus
299d41cfea
Improved emscripten dyncalls
2019-06-29 17:39:01 -07:00
Mark McCaskey
4fcb3c4c83
improve emscripten sockets and networking
2019-06-28 17:14:00 -07:00
bors[bot]
9f333bd6f2
Merge #513
...
513: Fix lseek in emscripten r=syrusakbary a=syrusakbary
Fix lseek in emscripten
Co-authored-by: Syrus <me@syrusakbary.com>
2019-06-27 19:43:05 +00:00
Syrus
6cc41f82c8
Fixed lseek error in Windows
2019-06-27 12:42:27 -07:00
Syrus
6aec631774
Improved lseek assignment
2019-06-27 12:37:29 -07:00
Syrus
6aa0ba8344
Added changes to CHANGELOG
2019-06-27 11:31:51 -07:00
Syrus
73367ef6e9
Fixed cast alignment issue
2019-06-27 11:31:08 -07:00
Syrus
10eab1ca68
Improved code
2019-06-27 11:21:03 -07:00
Syrus
47e38f0b2a
Fixed formatting
2019-06-27 11:18:49 -07:00
Syrus
7ba646a792
Merge branch 'master' into feature/emscripten-fix-lseek
2019-06-27 11:15:22 -07:00
Syrus
dda438ebd1
Fixed lseek
2019-06-27 11:14:38 -07:00
losfair
db117d2f26
Cleanup internal logic.
2019-06-27 17:54:06 +08:00
losfair
1bd30bed4b
Implement XMM register reading on Linux.
2019-06-27 16:00:04 +08:00
losfair
967027003d
Full preemptive snapshot/resume.
2019-06-27 15:49:43 +08:00
bors[bot]
c54a533b96
Merge #510
...
510: Minor cleanup in LLVM backend. r=Hywan a=nlewycky
- Simplify construction of floating point constants
- Fix assertion failure due to definition of %ctx
Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-06-26 19:20:02 +00:00
losfair
7d0b70bddf
Added iterative hash example.
2019-06-27 01:32:19 +08:00