mirror of
				https://github.com/jart/cosmopolitan.git
				synced 2025-10-26 19:16:41 +00:00 
			
		
		
		
	Restore zip.com and .symtab files
This change restores the .symtab symbol table files in our flagship programs (e.g. redbean.com, python.com) needed to show backtraces. This also rolls back earlier changes to zip.com w.r.t. temp directories since the right way to do it turned out to be the -b DIR flag. This change also improves the performance of zip.com. It turned out mmap() wasn't being used, because zip.com was assuming a 4096-byte granularity, but cosmo requires 65536. There was also a chance to speed up stdio scanning using the unlocked functions.
This commit is contained in:
		
							parent
							
								
									35203c0551
								
							
						
					
					
						commit
						73845be1f0
					
				
					 27 changed files with 256 additions and 246 deletions
				
			
		
							
								
								
									
										8
									
								
								third_party/quickjs/quickjs.mk
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								third_party/quickjs/quickjs.mk
									
										
									
									
										vendored
									
									
								
							|  | @ -154,6 +154,14 @@ o/$(MODE)/third_party/quickjs/qjs.com.dbg:					\ | |||
| 		$(APE_NO_MODIFY_SELF) | ||||
| 	@$(APELINK) | ||||
| 
 | ||||
| o/$(MODE)/third_party/quickjs/qjs.com:						\ | ||||
| 		o/$(MODE)/third_party/quickjs/qjs.com.dbg			\
 | ||||
| 		o/$(MODE)/third_party/zip/zip.com				\
 | ||||
| 		o/$(MODE)/tool/build/symtab.com | ||||
| 	@$(MAKE_OBJCOPY) | ||||
| 	@$(MAKE_SYMTAB_CREATE) | ||||
| 	@$(MAKE_SYMTAB_ZIP) | ||||
| 
 | ||||
| o/$(MODE)/third_party/quickjs/qjsc.com.dbg:					\ | ||||
| 		$(THIRD_PARTY_QUICKJS)						\
 | ||||
| 		o/$(MODE)/third_party/quickjs/qjsc.o				\
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue