mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-30 15:02:56 +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:
parent
e235c42e4d
commit
e62269650a
Notes:
sideshowbarker
2024-07-17 06:33:00 +09:00
Author: https://github.com/timschumi
Commit: e62269650a
Pull-request: https://github.com/SerenityOS/serenity/pull/17124
17 changed files with 243 additions and 204 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue