mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 16:14:38 +00:00
LibDebug: Propagate errors throughout DWARF parsing
Splitting this into a separate commit was an afterthought, so this does not yet feature any fallible operations.
This commit is contained in:
committed by
Andreas Kling
parent
e235c42e4d
commit
e62269650a
@@ -168,7 +168,7 @@ RefPtr<VariablesModel> VariablesModel::create(Debug::ProcessInspector& inspector
|
||||
auto lib = inspector.library_at(regs.ip());
|
||||
if (!lib)
|
||||
return nullptr;
|
||||
auto variables = lib->debug_info->get_variables_in_current_scope(regs);
|
||||
auto variables = lib->debug_info->get_variables_in_current_scope(regs).release_value_but_fixme_should_propagate_errors();
|
||||
return adopt_ref(*new VariablesModel(inspector, move(variables), regs));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user