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
Mark McCaskey
83da82d844
update for release wasmer 0.5.2
2019-07-02 14:13:45 -07: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
Mark McCaskey
623bec001f
improve networking in emscripten
2019-07-01 16:36:30 -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
losfair
adada7e751
Only print backtrace if frames are detected
2019-07-01 21:12:19 +08:00
losfair
614b3b9918
Run middlewares after begin_body
.
2019-06-30 11:50:21 +08:00
Mark McCaskey
4fcb3c4c83
improve emscripten sockets and networking
2019-06-28 17:14:00 -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
losfair
f048dc2ff6
Cleanup & fix memory leaks.
2019-06-27 01:04:59 +08:00
losfair
63f9818cf6
Move more logic into runtime-core and add an interactive shell.
2019-06-27 00:41:07 +08:00
losfair
a792ac6a48
Wrap alternative stack functions properly.
2019-06-26 20:45:32 +08:00
losfair
183571927c
Merge remote-tracking branch 'origin/master' into feature/osr
2019-06-26 13:02:41 +08:00
losfair
f81464142a
Fix unused import error on Windows.
2019-06-26 12:56:37 +08:00
losfair
1bdf0d5ad7
Fix clippy error.
2019-06-26 12:50:34 +08:00
losfair
03e6311446
Require backend:singlepass for suspend/resume.
2019-06-26 12:46:01 +08:00
losfair
9b4343eac5
Fix compilation on Linux.
2019-06-26 12:33:50 +08:00
losfair
2373d371ae
Optimize backtraces.
2019-06-26 11:28:46 +08:00
losfair
2730efcc6c
Cargo fmt
2019-06-26 01:39:30 +08:00
losfair
0937e53801
Fully persist program state.
2019-06-26 01:38:39 +08:00
losfair
3f2aeec9bc
Suspend & restore.
2019-06-25 20:01:56 +08:00
losfair
8303853227
Cargo fmt
2019-06-25 03:56:20 +08:00
losfair
fb7c3eee8a
Improve stack trace collection and rendering.
2019-06-25 03:55:33 +08:00
Mark McCaskey
09177ac3ae
update version numbers to 0.5.1, add changelog entry
2019-06-24 12:45:40 -07:00
losfair
73eb04d269
Merge remote-tracking branch 'origin/master' into feature/osr
2019-06-24 23:35:47 +08:00
Nick Lewycky
3e0a2a05e2
Fix typo in panic!
2019-06-18 15:15:49 -07:00
Nick Lewycky
e3af924391
Fix typo in comment. No functionality change.
2019-06-18 15:00:19 -07:00
Mark McCaskey
7bdfb2be51
update version numbers and changelog for 0.5.0
2019-06-17 12:56:28 -07:00
losfair
9585b89705
Fix bugs in state reading.
2019-06-12 23:54:15 +08:00
losfair
32008eba88
Read stack values based on state map.
2019-06-12 22:02:15 +08:00
losfair
00b6bf632a
Dumping stack through import.
2019-06-12 13:38:58 +08:00
losfair
ddd0653a25
Make singlepass backend emit state mapping information.
2019-06-12 00:21:43 +08:00
losfair
da9bf05218
Machine state diff
2019-06-11 20:49:30 +08:00
Mark McCaskey
b36783fc50
remove duplicated code, wrap WasmPtr on wasi side
2019-06-11 11:10:42 +02:00
losfair
082b8376ae
State representation.
2019-06-09 21:21:18 +08:00
Brandon Fish
f6ecfa40cb
Merge branch 'master' into feature/metering
2019-06-06 23:33:31 -05:00
losfair
c6cd49a370
Support getting/setting metering points and internal fields with a Ctx.
2019-06-06 14:10:57 +08:00
losfair
f2d8aad73a
Support checking the execution limit exceeded error.
2019-06-05 11:51:33 +08:00
losfair
0867208e0c
Implement {get,set}_points_used.
2019-06-05 02:28:19 +08:00
losfair
66dcec91c4
Add comments for trampoline_x64
.
2019-06-05 01:59:20 +08:00
losfair
b2869e181c
Cargo fmt
2019-06-05 01:11:54 +08:00
losfair
8a74399c6e
Add callinfo trampoline support.
2019-06-05 01:11:10 +08:00
losfair
06280e225e
Fix unused_imports error on lazy_static.
2019-06-03 15:31:42 -07:00
losfair
7808c68cb2
Cargo fmt
2019-06-03 15:31:42 -07:00
losfair
ae19e7f71b
Trampoline for calling with context.
2019-06-03 15:31:42 -07:00
Brandon Fish
f9c8f41232
Remove points_limit and update tests
2019-06-02 13:37:51 -05:00
Brandon Fish
c020c39193
Move get/set points used to middleware
2019-06-02 13:21:00 -05:00
Brandon Fish
e533a8a7b5
Add tests for metering, add option to compiler config
2019-06-02 11:37:02 -05:00
losfair
8019505e65
Merge remote-tracking branch 'origin/feature/clif-cgapi' into feature/metering
2019-05-31 15:40:05 +08:00
losfair
fd8675324c
Merge remote-tracking branch 'origin/master' into feature/metering
2019-05-29 11:16:05 +08:00
Brandon Fish
921e95035f
Cleanup expect messages used for debugging
2019-05-26 22:50:23 -05:00
Brandon Fish
00707ea849
Cleanup cranelift validation
2019-05-26 22:44:37 -05:00
Brandon Fish
8069cdac16
Merge branch 'master' into feature/clif-cgapi
2019-05-26 12:04:45 -05:00
Brandon Fish
6ca311f92d
Fix compilation errors and warnings
2019-05-26 11:13:37 -05:00
Brandon Fish
5da0c4766a
Update to Arc<RwLock<ModuleInfo>> for interior mutability
2019-05-25 19:30:44 -05:00
Brandon Fish
d440776bc0
Update lifetime of function builder references
2019-05-25 18:06:41 -05:00
Johan Andersson
8018453266
Update wasmparser 0.29.2 -> 0.30.0
2019-05-24 23:18:08 +02:00
losfair
9919dd73c8
Merge remote-tracking branch 'origin/master' into feature/metering
2019-05-23 20:18:11 +08:00
losfair
dcf52ef1a7
Cargo fmt
2019-05-23 20:10:34 +08:00
losfair
cf58305889
Dynamically allocate internal fields.
2019-05-23 20:10:17 +08:00
Brandon Fish
04d6ccc95c
Pass module info to FCG as Arc
2019-05-21 23:44:31 -05:00
Mark McCaskey
3bedf6218c
Merge branch 'master' into feature/trace-macro
2019-05-21 11:44:50 -07:00
Brandon Fish
74a758d39e
Add progress on next_event
2019-05-18 16:31:08 -05:00
Mark McCaskey
4760840a77
move stdout capture from runtime core to dev-utils
2019-05-17 15:48:30 -07:00
Mark McCaskey
b3b5716dbb
add files in runtime_Core
2019-05-17 13:31:41 -07:00
Mark McCaskey
ec9c5360ef
move stdio capture into runtime_core; rm emscripten dep in wasi
2019-05-17 13:30:10 -07:00
Syrus
4ddffb8285
Update libraries versions to 0.4.2
2019-05-16 14:39:13 -07:00
losfair
6aec1c4b5f
Use INTERNALS_SIZE
2019-05-17 01:33:33 +08:00
losfair
8e0d71b2bc
Fix missing internals
in test.
2019-05-17 01:32:41 +08:00
losfair
14fcd78b30
Update bin/wasmer and run cargo fmt.
2019-05-17 01:15:05 +08:00
losfair
6aa87a0bbf
Add the internals
field and necessary structures for metering.
2019-05-17 01:10:21 +08:00
Mark McCaskey
a9f643f774
add trace macro for more verbose debug statements
2019-05-15 11:46:17 -07:00
losfair
ee09209bfb
Fix clippy error.
2019-05-14 16:59:18 +08:00
losfair
1e7a928d64
Add comments.
2019-05-14 16:13:42 +08:00
losfair
32f9aee6fe
Cargo fmt
2019-05-14 16:04:08 +08:00
losfair
722ea39877
Cleanup loader code.
2019-05-14 16:02:27 +08:00
losfair
db9705f00c
Merge remote-tracking branch 'origin/master' into feature/remote-code-load
2019-05-14 15:46:15 +08:00
Syrus
8218e550fc
Improved docs and fixed few typos
2019-05-13 11:18:57 -07:00
Syrus
5a6cb96714
Merge branch 'master' into docs/better-runtime-docs
...
# Conflicts:
# lib/runtime-core/src/vm.rs
2019-05-13 11:08:00 -07:00
Heyang Zhou
af1ac9af96
Improve performance of memory access.
2019-05-13 05:11:08 -07:00
bors[bot]
b2227314a7
Merge #436
...
436: Add deny for unreachable patterns and unused unsafe r=syrusakbary a=bjfish
Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-05-12 22:16:44 +00:00
Brandon Fish
2aefa731a6
Add deny for unreachable patterns and unused unsafe
2019-05-12 00:33:02 -05:00
Brandon Fish
a96d5cb975
Fix f32/f64 conversion, add tests, and rename conversion method
2019-05-11 19:26:17 -05:00
Brandon Fish
85158ac22a
Add some initial deny for unused_imports and unused_variables
...
Additional unused variable fix on unix
Remove unused import on unix
Remove unused windows import
2019-05-11 09:23:25 -05:00
Brandon Fish
080220c6a7
Merge branch 'master' into feature/llvm-cgapi
2019-05-08 17:33:06 -07:00
Heyang Zhou
620a6ddd85
Disable memory bound checking for kernel loader.
2019-05-08 10:25:29 -07:00
Johan Andersson
36a78a23b6
Fix Windows crash on caching compiled artifact.
...
Memory clone function wasn't able to write to new reserved memory object.
Changed so allocating Memory objects with protection flag allocates commited memory.
2019-05-08 15:59:00 +02:00
Heyang Zhou
0bbd6e6970
Fix function offset.
2019-05-07 08:25:46 -07:00
Brandon Fish
87a94657d0
Merge branch 'master' into feature/llvm-cgapi
2019-05-06 22:39:20 -05:00
Mark McCaskey
e5dc94c7d6
update version number to 0.4.1
2019-05-06 18:02:39 -07:00
bors[bot]
94e6c7318f
Merge #424
...
424: Update emscripten to run JSC r=syrusakbary a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-05-06 21:19:27 +00:00
Mark McCaskey
ab184aceea
Update emscripten to run JSC
2019-05-06 14:05:04 -07:00
Pekka Enberg
089aab296d
codegen: Remove unused LoadError import
...
Rustc complains that:
warning: unused import: `parse::LoadError`
--> lib/runtime-core/src/codegen.rs:7:5
|
7 | parse::LoadError,
| ^^^^^^^^^^^^^^^^
|
2019-05-06 20:42:35 +03:00