fix: remove .pdb from symbol file names (#19483)
* fix: remove .pdb from symbol file names * Update dump_syms.py
This commit is contained in:
		
					parent
					
						
							
								0732da1b4a
							
						
					
				
			
			
				commit
				
					
						2983701c75
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -21,7 +21,8 @@ def get_symbol_path(symbol_data):
 | 
				
			||||||
  module_info = get_module_info(symbol_data[:symbol_data.index('\n')])
 | 
					  module_info = get_module_info(symbol_data[:symbol_data.index('\n')])
 | 
				
			||||||
  if not module_info:
 | 
					  if not module_info:
 | 
				
			||||||
    raise Exception("Couldn't get module info for binary '{}'".format(binary))
 | 
					    raise Exception("Couldn't get module info for binary '{}'".format(binary))
 | 
				
			||||||
  return os.path.join(module_info.name, module_info.hash, module_info.name + ".sym")
 | 
					  exe_name = module_info.name.replace('.pdb', '')
 | 
				
			||||||
 | 
					  return os.path.join(module_info.name, module_info.hash, exe_name + ".sym")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def mkdir_p(path):
 | 
					def mkdir_p(path):
 | 
				
			||||||
  """Simulates mkdir -p."""
 | 
					  """Simulates mkdir -p."""
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue