1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00
serenity/Userland/Libraries/LibDebug
Daniel Bertalan a60d960420 LibDebug: Don't create compilation units for embedded resources
Our implementation (naively) assumes that there is a one-to-one
correspondence between compilation units and line programs, and that
their orders are identical. This is not the case for embedded resources,
as Clang only creates line programs for it, but not compilation units.

This mismatch caused an assertion failure, which made generating
backtraces for GUI applications impossible. This commit introduces a
hack that skips creating CompilationUnit objects for LinePrograms that
come from embedded resources.
2021-10-17 17:09:58 +01:00
..
Dwarf LibDebug: Don't create compilation units for embedded resources 2021-10-17 17:09:58 +01:00
CMakeLists.txt LibDebug: Support addrx*, strx* and rnglistx forms 2021-10-17 17:09:58 +01:00
DebugInfo.cpp LibDebug: Don't expose AttributeValue internals, use getters instead 2021-10-17 17:09:58 +01:00
DebugInfo.h LibDebug+Everywhere: Make DebugInfo not own the ELF image 2021-08-06 01:14:03 +02:00
DebugSession.cpp LibDebug: Use the first memory segment of a library as the ELF's base 2021-09-10 13:57:34 +00:00
DebugSession.h LibDebug+Everywhere: Make DebugInfo not own the ELF image 2021-08-06 01:14:03 +02:00
StackFrameUtils.cpp LibDebug: Convert LibDebug to east-const style 2021-06-19 14:51:18 +02:00
StackFrameUtils.h LibDebug: Convert LibDebug to east-const style 2021-06-19 14:51:18 +02:00