1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00
serenity/Userland/Libraries/LibDebug
Itamar 0d89f70b66 LibDebug: Move Dwarf::LineProgram into Dwarf::CompilationUnit
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.
2021-06-19 14:51:18 +02:00
..
Dwarf LibDebug: Move Dwarf::LineProgram into Dwarf::CompilationUnit 2021-06-19 14:51:18 +02:00
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
DebugInfo.cpp LibDebug: Move Dwarf::LineProgram into Dwarf::CompilationUnit 2021-06-19 14:51:18 +02:00
DebugInfo.h LibDebug: Store LibDebug objects on the heap & make them non-copyable 2021-06-19 14:51:18 +02:00
DebugSession.cpp LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
DebugSession.h Userland: Fix 64-bit portability issues 2021-05-03 08:42:39 +02:00
StackFrameUtils.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StackFrameUtils.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00