mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:47:44 +00:00
LibDebug: Support DW_FORM_data16
Clang emits this form at all debug levels.
This commit is contained in:
parent
ac53569bd1
commit
8278039105
1 changed files with 6 additions and 0 deletions
|
@ -153,6 +153,12 @@ AttributeValue DwarfInfo::get_attribute_value(AttributeDataForm form, ssize_t im
|
||||||
value.m_data.as_unsigned = data;
|
value.m_data.as_unsigned = data;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case AttributeDataForm::Data16: {
|
||||||
|
value.m_type = AttributeValue::Type::RawBytes;
|
||||||
|
assign_raw_bytes_value(16);
|
||||||
|
VERIFY(!debug_info_stream.has_any_error());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case AttributeDataForm::Ref4: {
|
case AttributeDataForm::Ref4: {
|
||||||
u32 data;
|
u32 data;
|
||||||
debug_info_stream >> data;
|
debug_info_stream >> data;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue