1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:47:46 +00:00

LibDebug: Implement support for AttributeDataForm::ImplicitConst

While symbolicating a crash dump for UserspaceEmulator I came across
another data form we didn't support.

ImplicitConst encodes a LEB128 value in the abbreviation record
rather than - like all other values - in the .debug_info section.
This commit is contained in:
Gunnar Beutner 2021-04-29 00:51:54 +02:00 committed by Andreas Kling
parent 278605cde6
commit 9bcdbe205b
6 changed files with 18 additions and 5 deletions

View file

@ -54,7 +54,7 @@ public:
template<typename Callback>
void for_each_compilation_unit(Callback) const;
AttributeValue get_attribute_value(AttributeDataForm form,
AttributeValue get_attribute_value(AttributeDataForm form, ssize_t implicit_const_value,
InputMemoryStream& debug_info_stream, const CompilationUnit* unit = nullptr) const;
private: