ladybird/Userland/Libraries/LibDebug/CMakeLists.txt
MacDue cf79df0edb LibDebug: Stub out LocListX and remove stub expression evaluator
The expression evaluator is dead code that does nothing but crash on
all paths, as no opcodes are implemented.

Stubbing out the LocListX form fixes a crash while reading DWARF 5
debug data that contains location lists. These are just a new way
to store location expressions, and since we never implemented
expressions, we can just ignore these too.

As far as I can tell this is enough for DWARF 5 to work for us (since
we mainly just use the line tables).
2023-05-14 09:21:08 +02:00

16 lines
389 B
CMake

set(SOURCES
DebugInfo.cpp
DebugSession.cpp
Dwarf/AbbreviationsMap.cpp
Dwarf/AddressRanges.cpp
Dwarf/AttributeValue.cpp
Dwarf/CompilationUnit.cpp
Dwarf/DIE.cpp
Dwarf/DwarfInfo.cpp
Dwarf/LineProgram.cpp
ProcessInspector.cpp
StackFrameUtils.cpp
)
serenity_lib(LibDebug debug)
target_link_libraries(LibDebug PRIVATE LibCore LibFileSystem LibRegex)