From 3d76cbdf34f5fe5e5400ccb10633c9969587b193 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Mon, 26 Jul 2021 11:00:23 -0700 Subject: [PATCH 1/3] Update `gimli` to 0.25; `addr2line` to 0.16 --- Cargo.lock | 33 ++++++++++++++----- cranelift/codegen/Cargo.toml | 2 +- cranelift/filetests/Cargo.toml | 2 +- crates/debug/Cargo.toml | 2 +- crates/debug/src/gc.rs | 4 ++- crates/debug/src/transform/attr.rs | 4 ++- crates/debug/src/transform/mod.rs | 1 + .../debug/src/transform/range_info_builder.rs | 4 +++ crates/debug/src/transform/unit.rs | 11 +++++-- crates/environ/Cargo.toml | 2 +- crates/environ/src/module_environ.rs | 6 ++-- crates/jit/Cargo.toml | 4 +-- crates/profiling/Cargo.toml | 2 +- 13 files changed, 54 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4484267fb0..f2024c767c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8,7 +8,16 @@ version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03345e98af8f3d786b6d9f656ccfa6ac316d954e92bc4841f0bba20789d5fb5a" dependencies = [ - "gimli", + "gimli 0.24.0", +] + +[[package]] +name = "addr2line" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd" +dependencies = [ + "gimli 0.25.0", ] [[package]] @@ -171,7 +180,7 @@ version = "0.3.60" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7815ea54e4d821e791162e078acbebfd6d8c8939cd559c9335dceb1c8ca7282" dependencies = [ - "addr2line", + "addr2line 0.15.1", "cc", "cfg-if 1.0.0", "libc", @@ -582,7 +591,7 @@ dependencies = [ "cranelift-codegen-shared", "cranelift-entity", "criterion", - "gimli", + "gimli 0.25.0", "hashbrown", "log", "peepmatic", @@ -631,7 +640,7 @@ dependencies = [ "cranelift-reader", "file-per-thread-logger", "filecheck", - "gimli", + "gimli 0.25.0", "log", "memmap2", "num_cpus", @@ -1343,6 +1352,12 @@ name = "gimli" version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e4075386626662786ddb0ec9081e7c7eeb1ba31951f447ca780ef9f5d568189" + +[[package]] +name = "gimli" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0a01e0497841a3b2db4f8afa483cce65f7e96a3498bd6c541734792aeac8fe7" dependencies = [ "fallible-iterator", "indexmap", @@ -3662,7 +3677,7 @@ name = "wasmtime-debug" version = "0.28.0" dependencies = [ "anyhow", - "gimli", + "gimli 0.25.0", "more-asserts", "object", "target-lexicon", @@ -3679,7 +3694,7 @@ dependencies = [ "cranelift-codegen", "cranelift-entity", "cranelift-wasm", - "gimli", + "gimli 0.25.0", "indexmap", "log", "more-asserts", @@ -3739,7 +3754,7 @@ dependencies = [ name = "wasmtime-jit" version = "0.28.0" dependencies = [ - "addr2line", + "addr2line 0.16.0", "anyhow", "cfg-if 1.0.0", "cranelift-codegen", @@ -3747,7 +3762,7 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli", + "gimli 0.25.0", "log", "more-asserts", "object", @@ -3795,7 +3810,7 @@ version = "0.28.0" dependencies = [ "anyhow", "cfg-if 1.0.0", - "gimli", + "gimli 0.25.0", "ittapi-rs", "lazy_static", "libc", diff --git a/cranelift/codegen/Cargo.toml b/cranelift/codegen/Cargo.toml index 943e76e468..29ecc2de4b 100644 --- a/cranelift/codegen/Cargo.toml +++ b/cranelift/codegen/Cargo.toml @@ -21,7 +21,7 @@ target-lexicon = "0.12" log = { version = "0.4.6", default-features = false } serde = { version = "1.0.94", features = ["derive"], optional = true } bincode = { version = "1.2.1", optional = true } -gimli = { version = "0.24.0", default-features = false, features = ["write"], optional = true } +gimli = { version = "0.25.0", default-features = false, features = ["write"], optional = true } smallvec = { version = "1.6.1" } peepmatic = { path = "../peepmatic", optional = true, version = "0.75.0" } peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, version = "0.75.0" } diff --git a/cranelift/filetests/Cargo.toml b/cranelift/filetests/Cargo.toml index 6fb289d0a1..48ee89c330 100644 --- a/cranelift/filetests/Cargo.toml +++ b/cranelift/filetests/Cargo.toml @@ -18,7 +18,7 @@ cranelift-reader = { path = "../reader", version = "0.75.0" } cranelift-preopt = { path = "../preopt", version = "0.75.0" } file-per-thread-logger = "0.1.2" filecheck = "0.5.0" -gimli = { version = "0.24.0", default-features = false, features = ["read"] } +gimli = { version = "0.25.0", default-features = false, features = ["read"] } log = "0.4.6" memmap2 = "0.2.1" num_cpus = "1.8.0" diff --git a/crates/debug/Cargo.toml b/crates/debug/Cargo.toml index e9357cf204..20b2623d58 100644 --- a/crates/debug/Cargo.toml +++ b/crates/debug/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["webassembly", "wasm", "debuginfo"] edition = "2018" [dependencies] -gimli = "0.24.0" +gimli = "0.25.0" wasmparser = "0.79" object = { version = "0.25.0", default-features = false, features = ["read_core", "elf", "write"] } wasmtime-environ = { path = "../environ", version = "0.28.0" } diff --git a/crates/debug/src/gc.rs b/crates/debug/src/gc.rs index 491d585799..0763119aee 100644 --- a/crates/debug/src/gc.rs +++ b/crates/debug/src/gc.rs @@ -120,7 +120,9 @@ fn has_valid_code_range>( constants::DW_TAG_subprogram => { if let Some(ranges_attr) = die.attr_value(constants::DW_AT_ranges)? { let offset = match ranges_attr { - read::AttributeValue::RangeListsRef(val) => val, + read::AttributeValue::RangeListsRef(val) => { + dwarf.ranges_offset_from_raw(unit, val) + } read::AttributeValue::DebugRngListsIndex(index) => { dwarf.ranges_offset(unit, index)? } diff --git a/crates/debug/src/transform/attr.rs b/crates/debug/src/transform/attr.rs index cb654fe790..b3a018455a 100644 --- a/crates/debug/src/transform/attr.rs +++ b/crates/debug/src/transform/attr.rs @@ -36,6 +36,7 @@ fn is_exprloc_to_loclist_allowed(attr_name: gimli::constants::DwAt) -> bool { } pub(crate) fn clone_die_attributes<'a, R>( + dwarf: &gimli::Dwarf, unit: &Unit, entry: &DebuggingInformationEntry, context: &DebugInputContext, @@ -63,7 +64,7 @@ where // FIXME for CU: currently address_transform operate on a single // function range, and when CU spans multiple ranges the // transformation may be incomplete. - RangeInfoBuilder::from(unit, entry, context, cu_low_pc)? + RangeInfoBuilder::from(dwarf, unit, entry, context, cu_low_pc)? }; range_info.build(addr_tr, out_unit, current_scope_id); @@ -139,6 +140,7 @@ where write::AttributeValue::StringRef(out_strings.add(s)) } AttributeValue::RangeListsRef(r) => { + let r = dwarf.ranges_offset_from_raw(unit, r); let range_info = RangeInfoBuilder::from_ranges_ref(unit, r, context, cu_low_pc)?; let range_list_id = range_info.build_ranges(addr_tr, &mut out_unit.ranges); write::AttributeValue::RangeListRef(range_list_id) diff --git a/crates/debug/src/transform/mod.rs b/crates/debug/src/transform/mod.rs index 2f759ecc34..e6b6bb431f 100644 --- a/crates/debug/src/transform/mod.rs +++ b/crates/debug/src/transform/mod.rs @@ -85,6 +85,7 @@ pub fn transform_dwarf( while let Some(header) = iter.next().unwrap_or(None) { let unit = di.dwarf.unit(header)?; if let Some((id, ref_map, pending_refs)) = clone_unit( + &di.dwarf, unit, &context, &addr_tr, diff --git a/crates/debug/src/transform/range_info_builder.rs b/crates/debug/src/transform/range_info_builder.rs index 23c2b33e3d..13176b60b4 100644 --- a/crates/debug/src/transform/range_info_builder.rs +++ b/crates/debug/src/transform/range_info_builder.rs @@ -15,6 +15,7 @@ pub(crate) enum RangeInfoBuilder { impl RangeInfoBuilder { pub(crate) fn from( + dwarf: &gimli::Dwarf, unit: &Unit, entry: &DebuggingInformationEntry, context: &DebugInputContext, @@ -24,6 +25,7 @@ impl RangeInfoBuilder { R: Reader, { if let Some(AttributeValue::RangeListsRef(r)) = entry.attr_value(gimli::DW_AT_ranges)? { + let r = dwarf.ranges_offset_from_raw(unit, r); return RangeInfoBuilder::from_ranges_ref(unit, r, context, cu_low_pc); }; @@ -80,6 +82,7 @@ impl RangeInfoBuilder { } pub(crate) fn from_subprogram_die( + dwarf: &gimli::Dwarf, unit: &Unit, entry: &DebuggingInformationEntry, context: &DebugInputContext, @@ -100,6 +103,7 @@ impl RangeInfoBuilder { } else if let Some(AttributeValue::RangeListsRef(r)) = entry.attr_value(gimli::DW_AT_ranges)? { + let r = dwarf.ranges_offset_from_raw(unit, r); let mut ranges = context.rnglists.ranges( r, unit_encoding, diff --git a/crates/debug/src/transform/unit.rs b/crates/debug/src/transform/unit.rs index 655d7738ee..d46e4085fb 100644 --- a/crates/debug/src/transform/unit.rs +++ b/crates/debug/src/transform/unit.rs @@ -244,6 +244,7 @@ where } pub(crate) fn clone_unit<'a, R>( + dwarf: &gimli::Dwarf, unit: Unit, context: &DebugInputContext, addr_tr: &'a AddressTransform, @@ -302,6 +303,7 @@ where }; clone_die_attributes( + dwarf, &unit, entry, context, @@ -369,8 +371,9 @@ where current_scope_ranges.update(new_stack_len); current_value_range.update(new_stack_len); let range_builder = if entry.tag() == gimli::DW_TAG_subprogram { - let range_builder = - RangeInfoBuilder::from_subprogram_die(&unit, entry, context, addr_tr, cu_low_pc)?; + let range_builder = RangeInfoBuilder::from_subprogram_die( + dwarf, &unit, entry, context, addr_tr, cu_low_pc, + )?; if let RangeInfoBuilder::Function(func_index) = range_builder { if let Some(frame_info) = get_function_frame_info(memory_offset, funcs, func_index) { @@ -387,7 +390,8 @@ where let high_pc = entry.attr_value(gimli::DW_AT_high_pc)?; let ranges = entry.attr_value(gimli::DW_AT_ranges)?; if high_pc.is_some() || ranges.is_some() { - let range_builder = RangeInfoBuilder::from(&unit, entry, context, cu_low_pc)?; + let range_builder = + RangeInfoBuilder::from(dwarf, &unit, entry, context, cu_low_pc)?; current_scope_ranges.push(new_stack_len, range_builder.get_ranges(addr_tr)); Some(range_builder) } else { @@ -443,6 +447,7 @@ where die_ref_map.insert(entry.offset(), die_id); clone_die_attributes( + dwarf, &unit, entry, context, diff --git a/crates/environ/Cargo.toml b/crates/environ/Cargo.toml index 7400e09f2b..15f284ac21 100644 --- a/crates/environ/Cargo.toml +++ b/crates/environ/Cargo.toml @@ -21,7 +21,7 @@ serde = { version = "1.0.94", features = ["derive"] } log = { version = "0.4.8", default-features = false } more-asserts = "0.2.1" cfg-if = "1.0" -gimli = "0.24" +gimli = "0.25.0" [badges] maintenance = { status = "actively-developed" } diff --git a/crates/environ/src/module_environ.rs b/crates/environ/src/module_environ.rs index 2fc012b675..7cffaaf000 100644 --- a/crates/environ/src/module_environ.rs +++ b/crates/environ/src/module_environ.rs @@ -204,10 +204,9 @@ impl<'data> ModuleEnvironment<'data> { let slice = gimli::EndianSlice::new(data, endian); match name { - // Dwarf fields. + // `gimli::Dwarf` fields. ".debug_abbrev" => dwarf.debug_abbrev = gimli::DebugAbbrev::new(data, endian), ".debug_addr" => dwarf.debug_addr = gimli::DebugAddr::from(slice), - // TODO aranges? ".debug_info" => dwarf.debug_info = gimli::DebugInfo::new(data, endian), ".debug_line" => dwarf.debug_line = gimli::DebugLine::new(data, endian), ".debug_line_str" => dwarf.debug_line_str = gimli::DebugLineStr::from(slice), @@ -226,6 +225,9 @@ impl<'data> ModuleEnvironment<'data> { ".debug_ranges" => info.debug_ranges = gimli::DebugRanges::new(data, endian), ".debug_rnglists" => info.debug_rnglists = gimli::DebugRngLists::new(data, endian), + // We don't use these at the moment. + ".debug_aranges" | ".debug_pubnames" | ".debug_pubtypes" => return, + other => { log::warn!("unknown debug section `{}`", other); return; diff --git a/crates/jit/Cargo.toml b/crates/jit/Cargo.toml index 66562cc996..10c6016f2f 100644 --- a/crates/jit/Cargo.toml +++ b/crates/jit/Cargo.toml @@ -32,10 +32,10 @@ more-asserts = "0.2.1" anyhow = "1.0" cfg-if = "1.0" log = "0.4" -gimli = { version = "0.24.0", default-features = false, features = ["write"] } +gimli = { version = "0.25.0", default-features = false, features = ["write"] } object = { version = "0.25.0", default-features = false, features = ["write"] } serde = { version = "1.0.94", features = ["derive"] } -addr2line = { version = "0.15", default-features = false } +addr2line = { version = "0.16.0", default-features = false } [target.'cfg(target_os = "windows")'.dependencies] winapi = { version = "0.3.8", features = ["winnt", "impl-default"] } diff --git a/crates/profiling/Cargo.toml b/crates/profiling/Cargo.toml index 0e9d3be82c..aa7d83c953 100644 --- a/crates/profiling/Cargo.toml +++ b/crates/profiling/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] anyhow = "1.0" cfg-if = "1.0" -gimli = { version = "0.24.0", optional = true } +gimli = { version = "0.25.0", optional = true } lazy_static = "1.4" libc = { version = "0.2.60", default-features = false } scroll = { version = "0.10.1", features = ["derive"], optional = true } From 514bbb20b4202dde5c6d1d1801beffab934d864b Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Mon, 26 Jul 2021 12:05:44 -0700 Subject: [PATCH 2/3] Update `backtrace` to 0.3.61 --- Cargo.lock | 60 +++++++++++++++++--------------------- crates/fiber/Cargo.toml | 2 +- crates/runtime/Cargo.toml | 2 +- crates/wasmtime/Cargo.toml | 2 +- 4 files changed, 30 insertions(+), 36 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f2024c767c..6a062c841e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,22 +2,13 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "addr2line" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03345e98af8f3d786b6d9f656ccfa6ac316d954e92bc4841f0bba20789d5fb5a" -dependencies = [ - "gimli 0.24.0", -] - [[package]] name = "addr2line" version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd" dependencies = [ - "gimli 0.25.0", + "gimli", ] [[package]] @@ -176,16 +167,16 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] name = "backtrace" -version = "0.3.60" +version = "0.3.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7815ea54e4d821e791162e078acbebfd6d8c8939cd559c9335dceb1c8ca7282" +checksum = "e7a905d892734eea339e896738c14b9afce22b5318f64b951e70bf3844419b01" dependencies = [ - "addr2line 0.15.1", + "addr2line", "cc", "cfg-if 1.0.0", "libc", "miniz_oxide", - "object", + "object 0.26.0", "rustc-demangle", ] @@ -591,7 +582,7 @@ dependencies = [ "cranelift-codegen-shared", "cranelift-entity", "criterion", - "gimli 0.25.0", + "gimli", "hashbrown", "log", "peepmatic", @@ -640,7 +631,7 @@ dependencies = [ "cranelift-reader", "file-per-thread-logger", "filecheck", - "gimli 0.25.0", + "gimli", "log", "memmap2", "num_cpus", @@ -731,7 +722,7 @@ dependencies = [ "cranelift-frontend", "cranelift-module", "log", - "object", + "object 0.25.3", "target-lexicon", ] @@ -1347,12 +1338,6 @@ dependencies = [ "polyval", ] -[[package]] -name = "gimli" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4075386626662786ddb0ec9081e7c7eeb1ba31951f447ca780ef9f5d568189" - [[package]] name = "gimli" version = "0.25.0" @@ -1914,6 +1899,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c55827317fb4c08822499848a14237d2874d6f139828893017237e7ab93eb386" +dependencies = [ + "memchr", +] + [[package]] name = "once_cell" version = "1.7.2" @@ -3632,7 +3626,7 @@ dependencies = [ "log", "more-asserts", "num_cpus", - "object", + "object 0.25.3", "pretty_env_logger", "rayon", "structopt", @@ -3677,9 +3671,9 @@ name = "wasmtime-debug" version = "0.28.0" dependencies = [ "anyhow", - "gimli 0.25.0", + "gimli", "more-asserts", - "object", + "object 0.25.3", "target-lexicon", "thiserror", "wasmparser", @@ -3694,7 +3688,7 @@ dependencies = [ "cranelift-codegen", "cranelift-entity", "cranelift-wasm", - "gimli 0.25.0", + "gimli", "indexmap", "log", "more-asserts", @@ -3754,7 +3748,7 @@ dependencies = [ name = "wasmtime-jit" version = "0.28.0" dependencies = [ - "addr2line 0.16.0", + "addr2line", "anyhow", "cfg-if 1.0.0", "cranelift-codegen", @@ -3762,10 +3756,10 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli 0.25.0", + "gimli", "log", "more-asserts", - "object", + "object 0.25.3", "rayon", "region", "serde", @@ -3798,7 +3792,7 @@ version = "0.28.0" dependencies = [ "anyhow", "more-asserts", - "object", + "object 0.25.3", "target-lexicon", "wasmtime-debug", "wasmtime-environ", @@ -3810,11 +3804,11 @@ version = "0.28.0" dependencies = [ "anyhow", "cfg-if 1.0.0", - "gimli 0.25.0", + "gimli", "ittapi-rs", "lazy_static", "libc", - "object", + "object 0.25.3", "scroll", "serde", "target-lexicon", diff --git a/crates/fiber/Cargo.toml b/crates/fiber/Cargo.toml index 9ff7671695..c148c021d8 100644 --- a/crates/fiber/Cargo.toml +++ b/crates/fiber/Cargo.toml @@ -27,4 +27,4 @@ features = [ cc = "1.0" [dev-dependencies] -backtrace = "0.3" +backtrace = "0.3.61" diff --git a/crates/runtime/Cargo.toml b/crates/runtime/Cargo.toml index 8e36917b47..3cc6a646ad 100644 --- a/crates/runtime/Cargo.toml +++ b/crates/runtime/Cargo.toml @@ -21,7 +21,7 @@ indexmap = "1.0.2" thiserror = "1.0.4" more-asserts = "0.2.1" cfg-if = "1.0" -backtrace = "0.3.55" +backtrace = "0.3.61" lazy_static = "1.3.0" rand = "0.8.3" anyhow = "1.0.38" diff --git a/crates/wasmtime/Cargo.toml b/crates/wasmtime/Cargo.toml index 906b745d2f..1e1ebe34ca 100644 --- a/crates/wasmtime/Cargo.toml +++ b/crates/wasmtime/Cargo.toml @@ -25,7 +25,7 @@ anyhow = "1.0.19" region = "2.2.0" libc = "0.2" cfg-if = "1.0" -backtrace = "0.3.42" +backtrace = "0.3.61" rustc-demangle = "0.1.16" cpp_demangle = "0.3.2" log = "0.4.8" From 10eead18c8c6cb3a12e3749c1ef8fe7529fedd15 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Mon, 26 Jul 2021 12:10:41 -0700 Subject: [PATCH 3/3] Update `object` to 0.26.0 --- Cargo.lock | 27 +++++++++------------------ Cargo.toml | 2 +- cranelift/object/Cargo.toml | 2 +- crates/debug/Cargo.toml | 2 +- crates/jit/Cargo.toml | 2 +- crates/obj/Cargo.toml | 2 +- crates/profiling/Cargo.toml | 2 +- 7 files changed, 15 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6a062c841e..b33798e93f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -176,7 +176,7 @@ dependencies = [ "cfg-if 1.0.0", "libc", "miniz_oxide", - "object 0.26.0", + "object", "rustc-demangle", ] @@ -722,7 +722,7 @@ dependencies = [ "cranelift-frontend", "cranelift-module", "log", - "object 0.25.3", + "object", "target-lexicon", ] @@ -1888,23 +1888,14 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17b02fc0ff9a9e4b35b3342880f48e896ebf69f2967921fe8646bf5b7125956a" -[[package]] -name = "object" -version = "0.25.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a38f2be3697a57b4060074ff41b44c16870d916ad7877c17696e063257482bc7" -dependencies = [ - "crc32fast", - "indexmap", - "memchr", -] - [[package]] name = "object" version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c55827317fb4c08822499848a14237d2874d6f139828893017237e7ab93eb386" dependencies = [ + "crc32fast", + "indexmap", "memchr", ] @@ -3626,7 +3617,7 @@ dependencies = [ "log", "more-asserts", "num_cpus", - "object 0.25.3", + "object", "pretty_env_logger", "rayon", "structopt", @@ -3673,7 +3664,7 @@ dependencies = [ "anyhow", "gimli", "more-asserts", - "object 0.25.3", + "object", "target-lexicon", "thiserror", "wasmparser", @@ -3759,7 +3750,7 @@ dependencies = [ "gimli", "log", "more-asserts", - "object 0.25.3", + "object", "rayon", "region", "serde", @@ -3792,7 +3783,7 @@ version = "0.28.0" dependencies = [ "anyhow", "more-asserts", - "object 0.25.3", + "object", "target-lexicon", "wasmtime-debug", "wasmtime-environ", @@ -3808,7 +3799,7 @@ dependencies = [ "ittapi-rs", "lazy_static", "libc", - "object 0.25.3", + "object", "scroll", "serde", "target-lexicon", diff --git a/Cargo.toml b/Cargo.toml index d7e00d0771..4cbf38bd8d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ wasmtime-wasi = { path = "crates/wasi", version = "0.28.0" } wasmtime-wasi-crypto = { path = "crates/wasi-crypto", version = "0.28.0", optional = true } wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "0.28.0", optional = true } structopt = { version = "0.3.5", features = ["color", "suggestions"] } -object = { version = "0.25.0", default-features = false, features = ["write"] } +object = { version = "0.26.0", default-features = false, features = ["write"] } anyhow = "1.0.19" target-lexicon = { version = "0.12.0", default-features = false } pretty_env_logger = "0.4.0" diff --git a/cranelift/object/Cargo.toml b/cranelift/object/Cargo.toml index 311c4f32a7..5af86177aa 100644 --- a/cranelift/object/Cargo.toml +++ b/cranelift/object/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] cranelift-module = { path = "../module", version = "0.75.0" } cranelift-codegen = { path = "../codegen", version = "0.75.0", default-features = false, features = ["std"] } -object = { version = "0.25.3", default-features = false, features = ["write"] } +object = { version = "0.26.0", default-features = false, features = ["write"] } target-lexicon = "0.12" anyhow = "1.0" log = { version = "0.4.6", default-features = false } diff --git a/crates/debug/Cargo.toml b/crates/debug/Cargo.toml index 20b2623d58..82574b8f2f 100644 --- a/crates/debug/Cargo.toml +++ b/crates/debug/Cargo.toml @@ -13,7 +13,7 @@ edition = "2018" [dependencies] gimli = "0.25.0" wasmparser = "0.79" -object = { version = "0.25.0", default-features = false, features = ["read_core", "elf", "write"] } +object = { version = "0.26.0", default-features = false, features = ["read_core", "elf", "write"] } wasmtime-environ = { path = "../environ", version = "0.28.0" } target-lexicon = { version = "0.12.0", default-features = false } anyhow = "1.0" diff --git a/crates/jit/Cargo.toml b/crates/jit/Cargo.toml index 10c6016f2f..5cb318ef2d 100644 --- a/crates/jit/Cargo.toml +++ b/crates/jit/Cargo.toml @@ -33,7 +33,7 @@ anyhow = "1.0" cfg-if = "1.0" log = "0.4" gimli = { version = "0.25.0", default-features = false, features = ["write"] } -object = { version = "0.25.0", default-features = false, features = ["write"] } +object = { version = "0.26.0", default-features = false, features = ["write"] } serde = { version = "1.0.94", features = ["derive"] } addr2line = { version = "0.16.0", default-features = false } diff --git a/crates/obj/Cargo.toml b/crates/obj/Cargo.toml index 749d404a52..fc61516d9c 100644 --- a/crates/obj/Cargo.toml +++ b/crates/obj/Cargo.toml @@ -12,7 +12,7 @@ edition = "2018" [dependencies] anyhow = "1.0" wasmtime-environ = { path = "../environ", version = "0.28.0" } -object = { version = "0.25.0", default-features = false, features = ["write"] } +object = { version = "0.26.0", default-features = false, features = ["write"] } more-asserts = "0.2.1" target-lexicon = { version = "0.12.0", default-features = false } wasmtime-debug = { path = "../debug", version = "0.28.0" } diff --git a/crates/profiling/Cargo.toml b/crates/profiling/Cargo.toml index aa7d83c953..ba4a1f8ba3 100644 --- a/crates/profiling/Cargo.toml +++ b/crates/profiling/Cargo.toml @@ -23,7 +23,7 @@ wasmtime-runtime = { path = "../runtime", version = "0.28.0" } ittapi-rs = { version = "0.1.5", optional = true } [dependencies.object] -version = "0.25.0" +version = "0.26.0" optional = true default-features = false features = ['read_core', 'elf', 'std']