mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-22 21:21:33 +00:00
Make gdb jit symbol weak linking default in llvm-backend features
This commit is contained in:
@ -10,7 +10,7 @@ edition = "2018"
|
|||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.14.1" }
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.14.1", features = ["generate-debug-information-no-export-symbols"] }
|
||||||
wasmparser = "0.51.3"
|
wasmparser = "0.51.3"
|
||||||
smallvec = "0.6"
|
smallvec = "0.6"
|
||||||
goblin = "0.0.24"
|
goblin = "0.0.24"
|
||||||
|
@ -58,4 +58,4 @@ deterministic-execution = ["wasmparser/deterministic"]
|
|||||||
generate-debug-information = ["wasm-debug"]
|
generate-debug-information = ["wasm-debug"]
|
||||||
# don't export symbols related to the GDB JIT interafce, LLVM or some other native
|
# don't export symbols related to the GDB JIT interafce, LLVM or some other native
|
||||||
# code will be providing them
|
# code will be providing them
|
||||||
generate-debug-information-no-export-symbols = ["generate-debug-information", "wasm-debug"]
|
generate-debug-information-no-export-symbols = []
|
||||||
|
@ -196,9 +196,7 @@ impl JitCodeDebugInfoManager {
|
|||||||
// ensure we set the version, even if externally linked
|
// ensure we set the version, even if externally linked
|
||||||
__jit_debug_descriptor.version = 1;
|
__jit_debug_descriptor.version = 1;
|
||||||
}
|
}
|
||||||
Self {
|
Self { inner: vec![] }
|
||||||
inner: vec![],
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Register debug info relating to JIT code with the debugger.
|
/// Register debug info relating to JIT code with the debugger.
|
||||||
|
Reference in New Issue
Block a user