mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	add FROZEN to lldb debug output
This commit is contained in:
		
							parent
							
								
									025206d0dd
								
							
						
					
					
						commit
						5f05851ae3
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -111,6 +111,8 @@ def lldb_inspect(debugger, target, result, val):
 | 
			
		|||
        flags = val.GetValueForExpressionPath("->flags").GetValueAsUnsigned()
 | 
			
		||||
        if (flags & RUBY_FL_PROMOTED) == RUBY_FL_PROMOTED:
 | 
			
		||||
            print >> result, "[PROMOTED] "
 | 
			
		||||
        if (flags & RUBY_FL_FREEZE) == RUBY_FL_FREEZE:
 | 
			
		||||
            print >> result, "[FROZEN] "
 | 
			
		||||
        flType = flags & RUBY_T_MASK
 | 
			
		||||
        if flType == RUBY_T_NONE:
 | 
			
		||||
            print >> result, 'T_NONE: %s' % val.Dereference()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue