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

12
Cargo.lock generated
View File

@@ -3628,10 +3628,20 @@ dependencies = [
"target-lexicon",
"thiserror",
"wasmtime-environ",
"wasmtime-jit-debug",
"wasmtime-runtime",
"winapi",
]
[[package]]
name = "wasmtime-jit-debug"
version = "0.34.0"
dependencies = [
"lazy_static",
"object",
"rustix",
]
[[package]]
name = "wasmtime-runtime"
version = "0.34.0"
@@ -3641,7 +3651,6 @@ dependencies = [
"cc",
"cfg-if 1.0.0",
"indexmap",
"lazy_static",
"libc",
"log",
"mach",
@@ -3655,6 +3664,7 @@ dependencies = [
"userfaultfd",
"wasmtime-environ",
"wasmtime-fiber",
"wasmtime-jit-debug",
"winapi",
]