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

LibCoreDump+CrashDaemon: Add and use CoreDump::Backtrace

Creating a backtrace from a crashdump already existed as a few
standalone functions in CrashDaemon. This patch refactors the code
required for this to make it generally usable and moves it to
CoreDump::Backtrace, which provides both raw data as well as
stringification.
This commit is contained in:
Linus Groh 2020-12-29 13:04:26 +01:00 committed by Andreas Kling
parent e2e2b2c08e
commit 2939ad0110
8 changed files with 251 additions and 114 deletions

View file

@ -1,6 +1,7 @@
set(SOURCES
Backtrace.cpp
Reader.cpp
)
serenity_lib(LibCoreDump coredump)
target_link_libraries(LibCoreDump LibC LibCore)
target_link_libraries(LibCoreDump LibC LibCore LibDebug)