forked from OSchip/llvm-project
				
			
							parent
							
								
									77a38320c7
								
							
						
					
					
						commit
						f4f70bb890
					
				| 
						 | 
					@ -6,11 +6,9 @@ import lldb
 | 
				
			||||||
import sys
 | 
					import sys
 | 
				
			||||||
import StringIO
 | 
					import StringIO
 | 
				
			||||||
 | 
					
 | 
				
			||||||
################################################
 | 
					# ===========================================
 | 
				
			||||||
#                                              #
 | 
					# Iterator for lldb aggregate data structures
 | 
				
			||||||
# Iterator for lldb aggregate data structures. #
 | 
					# ===========================================
 | 
				
			||||||
#                                              #
 | 
					 | 
				
			||||||
################################################
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
def lldb_iter(obj, getsize, getelem):
 | 
					def lldb_iter(obj, getsize, getelem):
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
| 
						 | 
					@ -33,11 +31,9 @@ def lldb_iter(obj, getsize, getelem):
 | 
				
			||||||
        yield elem(i)
 | 
					        yield elem(i)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
########################################################
 | 
					# =================================================
 | 
				
			||||||
#                                                      #
 | 
					# Convert some enum value to its string counterpart
 | 
				
			||||||
# Convert some enum value to its string's counterpart. #
 | 
					# =================================================
 | 
				
			||||||
#                                                      #
 | 
					 | 
				
			||||||
########################################################
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
def StateTypeString(enum):
 | 
					def StateTypeString(enum):
 | 
				
			||||||
    """Returns the stateType string given an enum."""
 | 
					    """Returns the stateType string given an enum."""
 | 
				
			||||||
| 
						 | 
					@ -88,11 +84,9 @@ def StopReasonString(enum):
 | 
				
			||||||
        raise Exception("Unknown stopReason enum")
 | 
					        raise Exception("Unknown stopReason enum")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#######################################################
 | 
					# ==================================================
 | 
				
			||||||
#                                                     #
 | 
					# Utility functions related to Threads and Processes
 | 
				
			||||||
# Utility functions related to Threads and Processes. #
 | 
					# ==================================================
 | 
				
			||||||
#                                                     #
 | 
					 | 
				
			||||||
#######################################################
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
def GetFunctionNames(thread):
 | 
					def GetFunctionNames(thread):
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue