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

@@ -12,6 +12,7 @@ edition = "2018"
[dependencies]
wasmtime-environ = { path = "../environ", version = "=0.34.0" }
wasmtime-jit-debug = { path = "../jit-debug", version = "=0.34.0", features = ["perf_jitdump"], optional = true }
wasmtime-runtime = { path = "../runtime", version = "=0.34.0" }
region = "2.2.0"
thiserror = "1.0.4"
@@ -35,7 +36,7 @@ winapi = { version = "0.3.8", features = ["winnt", "impl-default"] }
rustix = "0.33.0"
[features]
jitdump = []
jitdump = ['wasmtime-jit-debug']
vtune = ['ittapi-rs']
[badges]