diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/dwarf/dwarf_export/src/lib.rs | 4 | ||||
| -rw-r--r-- | plugins/warp/src/convert/types.rs | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/dwarf/dwarf_export/src/lib.rs b/plugins/dwarf/dwarf_export/src/lib.rs index 284ca34b..fac7b2bb 100644 --- a/plugins/dwarf/dwarf_export/src/lib.rs +++ b/plugins/dwarf/dwarf_export/src/lib.rs @@ -401,6 +401,10 @@ fn export_type( ); Some(wide_char_die_uid) } + TypeClass::FragmentTypeClass => { + tracing::error!("Fragment types are not representable in DWARF"); + None + } } } diff --git a/plugins/warp/src/convert/types.rs b/plugins/warp/src/convert/types.rs index 8421eb5e..abfa3bc9 100644 --- a/plugins/warp/src/convert/types.rs +++ b/plugins/warp/src/convert/types.rs @@ -244,6 +244,10 @@ pub fn from_bn_type_internal( }; TypeClass::Character(char_class) } + BNTypeClass::FragmentTypeClass => { + // XXX: possibly unrepresentable? + TypeClass::Void + } }; let name = raw_ty.registered_name().map(|n| n.name().to_string()); |
