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

LibSymbolication+Utilities: Show inlined functions for bt

This commit is contained in:
Gunnar Beutner 2021-06-19 13:21:04 +02:00 committed by Andreas Kling
parent c31392510a
commit a6ba05b02b
3 changed files with 39 additions and 27 deletions

View file

@ -7,6 +7,7 @@
#pragma once
#include <AK/String.h>
#include <LibDebug/DebugInfo.h>
namespace Symbolication {
@ -14,8 +15,7 @@ struct Symbol {
FlatPtr address { 0 };
String name {};
u32 offset { 0 };
String filename {};
u32 line_number { 0 };
Vector<Debug::DebugInfo::SourcePosition> source_positions;
};
Vector<Symbol> symbolicate_thread(pid_t pid, pid_t tid);