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"
|
||||
|
||||
[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"
|
||||
smallvec = "0.6"
|
||||
goblin = "0.0.24"
|
||||
|
@ -58,4 +58,4 @@ deterministic-execution = ["wasmparser/deterministic"]
|
||||
generate-debug-information = ["wasm-debug"]
|
||||
# don't export symbols related to the GDB JIT interafce, LLVM or some other native
|
||||
# code will be providing them
|
||||
generate-debug-information-no-export-symbols = ["generate-debug-information", "wasm-debug"]
|
||||
generate-debug-information-no-export-symbols = []
|
||||
|
@ -196,11 +196,9 @@ impl JitCodeDebugInfoManager {
|
||||
// ensure we set the version, even if externally linked
|
||||
__jit_debug_descriptor.version = 1;
|
||||
}
|
||||
Self {
|
||||
inner: vec![],
|
||||
}
|
||||
Self { inner: vec![] }
|
||||
}
|
||||
|
||||
|
||||
/// Register debug info relating to JIT code with the debugger.
|
||||
pub(crate) fn register_new_jit_code_entry(
|
||||
&mut self,
|
||||
|
Reference in New Issue
Block a user