1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 20:35:07 +00:00
serenity/Userland/Libraries/LibDebug/Dwarf
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
..
AbbreviationsMap.cpp LibDebug: Dont copy an AbbreviationEntry every time we retrieve a value 2021-09-18 21:05:13 +02:00
AbbreviationsMap.h LibDebug: Dont copy an AbbreviationEntry every time we retrieve a value 2021-09-18 21:05:13 +02:00
AddressRanges.cpp LibDebug: Make use of the newly supported data forms 2021-10-17 17:09:58 +01:00
AddressRanges.h LibDebug: Support parsing non-contiguous DWARF address ranges 2021-09-28 16:54:39 +02:00
AttributeValue.cpp LibDebug: Support addrx*, strx* and rnglistx forms 2021-10-17 17:09:58 +01:00
AttributeValue.h LibDebug: Support addrx*, strx* and rnglistx forms 2021-10-17 17:09:58 +01:00
CompilationUnit.cpp LibDebug: Support addrx*, strx* and rnglistx forms 2021-10-17 17:09:58 +01:00
CompilationUnit.h LibDebug: Support addrx*, strx* and rnglistx forms 2021-10-17 17:09:58 +01:00
DIE.cpp LibDebug: Don't expose AttributeValue internals, use getters instead 2021-10-17 17:09:58 +01:00
DIE.h LibDebug: Avoid short lived allocations in DIE::for_each_child 2021-09-18 21:05:13 +02:00
DwarfInfo.cpp LibDebug: Don't create compilation units for embedded resources 2021-10-17 17:09:58 +01:00
DwarfInfo.h LibDebug: Support addrx*, strx* and rnglistx forms 2021-10-17 17:09:58 +01:00
DwarfTypes.h LibDebug: Support parsing non-contiguous DWARF address ranges 2021-09-28 16:54:39 +02:00
Expression.cpp LibDebug: Fix spelling mistake 2021-07-13 23:19:33 +02:00
Expression.h LibDebug: Implement symbolication for x86_64 2021-07-13 23:19:33 +02:00
LineProgram.cpp LibDebug: Don't expose AttributeValue internals, use getters instead 2021-10-17 17:09:58 +01:00
LineProgram.h LibDebug: Don't create compilation units for embedded resources 2021-10-17 17:09:58 +01:00