1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:37:34 +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

@ -14,6 +14,7 @@ namespace Symbolication {
struct Symbol {
FlatPtr address { 0 };
String name {};
String object {};
u32 offset { 0 };
Vector<Debug::DebugInfo::SourcePosition> source_positions;
};