Extract jit_int.rs and most of jitdump_linux.rs for use outside of wasmtime (#2744)

* Extract gdb jit_int into wasmtime-jit-debug

* Move a big chunk of the jitdump code to wasmtime-jit-debug

* Fix doc markdown in perf_jitdump.rs
This commit is contained in:
bjorn3
2022-02-22 18:23:44 +01:00
committed by GitHub
parent 2616c28957
commit 4ed353a7e1
11 changed files with 392 additions and 289 deletions

View File

@@ -13,6 +13,7 @@ edition = "2018"
[dependencies]
wasmtime-environ = { path = "../environ", version = "=0.34.0" }
wasmtime-fiber = { path = "../fiber", version = "=0.34.0", optional = true }
wasmtime-jit-debug = { path = "../jit-debug", version = "=0.34.0", features = ["gdb_jit_int"] }
region = "2.1.0"
libc = { version = "0.2.112", default-features = false }
log = "0.4.8"
@@ -22,7 +23,6 @@ thiserror = "1.0.4"
more-asserts = "0.2.1"
cfg-if = "1.0"
backtrace = "0.3.61"
lazy_static = "1.3.0"
rand = "0.8.3"
anyhow = "1.0.38"
memfd = { version = "0.4.1", optional = true }