mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:47:35 +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. |
||
---|---|---|
.. | ||
AbbreviationsMap.cpp | ||
AbbreviationsMap.h | ||
AttributeValue.h | ||
CompilationUnit.cpp | ||
CompilationUnit.h | ||
DIE.cpp | ||
DIE.h | ||
DwarfInfo.cpp | ||
DwarfInfo.h | ||
DwarfTypes.h | ||
Expression.cpp | ||
Expression.h | ||
LineProgram.cpp | ||
LineProgram.h |