mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
LibDebug: Support DW_FORM_data16
Clang emits this form at all debug levels.
This commit is contained in:
parent
ac53569bd1
commit
8278039105
Notes:
sideshowbarker
2024-07-18 02:15:00 +09:00
Author: https://github.com/BertalanD
Commit: 8278039105
Pull-request: https://github.com/SerenityOS/serenity/pull/9378
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/itamar8910
Reviewed-by: https://github.com/linusg ✅
Reviewed-by: https://github.com/nico
Reviewed-by: https://github.com/timschumi
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