diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-06-09 12:17:23 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-06-10 15:16:59 -0400 |
| commit | d2ee93856b455a2fbd5a42b52bfe847d1c7f29d1 (patch) | |
| tree | 7803b55c2d45daf9629b52195d499c6ad1757f48 /rust/examples | |
| parent | d4d9e3fe150955598cbaa40608fcbff3487a2533 (diff) | |
Change some dwarf errors to warnings
Diffstat (limited to 'rust/examples')
| -rw-r--r-- | rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs b/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs index 7ab5775a..c1690233 100644 --- a/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs +++ b/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs @@ -296,7 +296,7 @@ impl DebugInfoBuilder { }, ) { if existing_type != t && commit { - error!("DWARF info contains duplicate type definition. Overwriting type `{}` (named `{:?}`) with `{}` (named `{:?}`)", + warn!("DWARF info contains duplicate type definition. Overwriting type `{}` (named `{:?}`) with `{}` (named `{:?}`)", existing_type, existing_name, t, @@ -334,7 +334,7 @@ impl DebugInfoBuilder { let new_type = self.get_type(type_uid).unwrap().1; if existing_type_uid != type_uid || existing_type != new_type { - error!("DWARF info contains duplicate data variable definition. Overwriting data variable at 0x{:08x} (`{}`) with `{}`", + warn!("DWARF info contains duplicate data variable definition. Overwriting data variable at 0x{:08x} (`{}`) with `{}`", address, self.get_type(existing_type_uid).unwrap().1, self.get_type(type_uid).unwrap().1 |
