summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dwarf/dwarf_import/src/lib.rs2
-rw-r--r--plugins/dwarf/dwarf_import/src/types.rs6
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/dwarf/dwarf_import/src/lib.rs b/plugins/dwarf/dwarf_import/src/lib.rs
index ebe3c301..dcac4f0b 100644
--- a/plugins/dwarf/dwarf_import/src/lib.rs
+++ b/plugins/dwarf/dwarf_import/src/lib.rs
@@ -193,7 +193,7 @@ fn recover_names_internal<R: ReaderType>(
let resolved_entry = match entry_unit.entry(entry_offset) {
Ok(x) => x,
Err(e) => {
- log::error!("Failed to resolve entry in unit {:?} at offset {:#x} (resolve_namespace_name): {}", entry_unit, entry_offset.0, e);
+ log::error!("Failed to resolve entry in unit {:?} at offset {:#x} (resolve_namespace_name): {}", entry_unit.header.offset(), entry_offset.0, e);
return;
}
};
diff --git a/plugins/dwarf/dwarf_import/src/types.rs b/plugins/dwarf/dwarf_import/src/types.rs
index 822c0668..8242aa8b 100644
--- a/plugins/dwarf/dwarf_import/src/types.rs
+++ b/plugins/dwarf/dwarf_import/src/types.rs
@@ -334,7 +334,7 @@ pub(crate) fn get_type<R: ReaderType>(
Err(e) => {
log::error!(
"Failed to resolve entry in unit {:?} at offset {:#x}: {}",
- entry_unit,
+ entry_unit.header.offset(),
entry_offset.0,
e
);
@@ -369,7 +369,7 @@ pub(crate) fn get_type<R: ReaderType>(
Err(e) => {
log::error!(
"Failed to resolve entry in unit {:?} at offset {:#x}: {}",
- entry_unit,
+ entry_unit.header.offset(),
entry_offset.0,
e
);
@@ -401,7 +401,7 @@ pub(crate) fn get_type<R: ReaderType>(
Err(e) => {
log::error!(
"Failed to resolve entry in unit {:?} at offset {:#x}: {}",
- entry_unit,
+ entry_unit.header.offset(),
entry_offset.0,
e
);