mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:22:45 +00:00 
			
		
		
		
	 cf79df0edb
			
		
	
	
		cf79df0edb
		
	
	
	
	
		
			
			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).
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			389 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			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)
 |