mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:42:45 +00:00 
			
		
		
		
	LibDebug: Propagate errors throughout DWARF parsing
Splitting this into a separate commit was an afterthought, so this does not yet feature any fallible operations.
This commit is contained in:
		
							parent
							
								
									e235c42e4d
								
							
						
					
					
						commit
						e62269650a
					
				
					 17 changed files with 243 additions and 204 deletions
				
			
		|  | @ -168,7 +168,7 @@ RefPtr<VariablesModel> VariablesModel::create(Debug::ProcessInspector& inspector | |||
|     auto lib = inspector.library_at(regs.ip()); | ||||
|     if (!lib) | ||||
|         return nullptr; | ||||
|     auto variables = lib->debug_info->get_variables_in_current_scope(regs); | ||||
|     auto variables = lib->debug_info->get_variables_in_current_scope(regs).release_value_but_fixme_should_propagate_errors(); | ||||
|     return adopt_ref(*new VariablesModel(inspector, move(variables), regs)); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Schumacher
						Tim Schumacher