mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
![]() Previously, the LineProgram objects were short-lived, and only created inside DebugInfo::prepare_lines() to create a vector of sorted LineInfo data. However, Dwarf::LineProgram also contains other useful data, such as index-to-string mapping of source directories and filenames. This commit makes each Dwarf::CompilationUnit own its Dwarf::LineProgram. DebugInfo::prepare_lines() then iterates over the compilation units to prepare its sorted vector of lines. |
||
---|---|---|
.. | ||
Dwarf | ||
CMakeLists.txt | ||
DebugInfo.cpp | ||
DebugInfo.h | ||
DebugSession.cpp | ||
DebugSession.h | ||
StackFrameUtils.cpp | ||
StackFrameUtils.h |