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

LibSymbolication+SystemMonitor: Show ELF object in stack

This small patch allows SystemMonitor's Stack tab to show the name of
the ELF object to which the displayed address refers to. This gives a
bit more of contextual information to the viewer.

A better to show this is probably a table, but I'm not that familiar yet
with the GUI framework in general, so I'm keeping things simple.
This commit is contained in:
Rodrigo Tobar 2021-09-28 23:59:50 +08:00 committed by Andreas Kling
parent ee8380edea
commit 840822b8f1
3 changed files with 3 additions and 1 deletions

View file

@ -121,6 +121,7 @@ Optional<Symbol> symbolicate(String const& path, FlatPtr address)
return Symbol {
.address = address,
.name = move(symbol),
.object = LexicalPath::basename(path),
.offset = offset,
.source_positions = move(positions),
};