diff options
author | Tim Schumacher <timschumi@gmx.de> | 2023-01-22 00:32:08 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-01-22 19:12:26 +0100 |
commit | e62269650a9b1d48ff06bd51eb2d82073ec1c274 (patch) | |
tree | f3b008959b7356833740ba3af864330f58e2b3f1 /Userland/Libraries/LibSymbolication | |
parent | e235c42e4dea3213c864e7392b26d9e84d175604 (diff) | |
download | serenity-e62269650a9b1d48ff06bd51eb2d82073ec1c274.zip |
LibDebug: Propagate errors throughout DWARF parsing
Splitting this into a separate commit was an afterthought, so this does
not yet feature any fallible operations.
Diffstat (limited to 'Userland/Libraries/LibSymbolication')
-rw-r--r-- | Userland/Libraries/LibSymbolication/Symbolication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibSymbolication/Symbolication.cpp b/Userland/Libraries/LibSymbolication/Symbolication.cpp index 181677f419..a187b78a90 100644 --- a/Userland/Libraries/LibSymbolication/Symbolication.cpp +++ b/Userland/Libraries/LibSymbolication/Symbolication.cpp @@ -105,7 +105,7 @@ Optional<Symbol> symbolicate(DeprecatedString const& path, FlatPtr address, Incl Vector<Debug::DebugInfo::SourcePosition> positions; if (include_source_positions == IncludeSourcePosition::Yes) { - auto source_position_with_inlines = cached_elf->debug_info->get_source_position_with_inlines(address); + auto source_position_with_inlines = cached_elf->debug_info->get_source_position_with_inlines(address).release_value_but_fixme_should_propagate_errors(); for (auto& position : source_position_with_inlines.inline_chain) { if (!positions.contains_slow(position)) |