Anton Korobeynikov
							
						 
						
							 
							
							
							
							
								
							
							
								d01defedf6 
								
							 
						 
						
							
							
								
								Add possibility to set memory limit for binaries run via libSystem. This  
							
							 
							
							... 
							
							
							
							is especially needed for bugpoint. This partly implements PR688
llvm-svn: 34349 
							
						 
						
							2007-02-16 19:11:07 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								1fef06db82 
								
							 
						 
						
							
							
								
								Avoid assert() in lto. Let linker handle all failures. Use LTO_WRITE_FAILURE  
							
							 
							
							... 
							
							
							
							instead of LTO_UNKNOWN.
llvm-svn: 34036 
							
						 
						
							2007-02-08 01:48:28 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								fe5ee14bdf 
								
							 
						 
						
							
							
								
								The new version of how to add passes to emit files. We explicitly call a  
							
							 
							
							... 
							
							
							
							function to add the file writers between calls to add the passes.
llvm-svn: 34035 
							
						 
						
							2007-02-08 01:41:07 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								3aaaa0b2bd 
								
							 
						 
						
							
							
								
								For PR411:  
							
							 
							
							... 
							
							
							
							This patch replaces the SymbolTable class with ValueSymbolTable which does
not support types planes. This means that all symbol names in LLVM must now
be unique. The patch addresses the necessary changes to deal with this and
removes code no longer needed as a result. This completes the bulk of the
changes for this PR. Some cleanup patches will follow.
llvm-svn: 33918 
							
						 
						
							2007-02-05 20:47:22 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								df4e992af8 
								
							 
						 
						
							
							
								
								Add printVersion(). Linker can use it to print LLVM version number.  
							
							 
							
							... 
							
							
							
							llvm-svn: 33738 
							
						 
						
							2007-02-01 01:46:06 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								5301e7c605 
								
							 
						 
						
							
							
								
								For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid  
							
							 
							
							... 
							
							
							
							confusion with external linkage types.
llvm-svn: 33663 
							
						 
						
							2007-01-30 20:08:39 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								19bb6b996b 
								
							 
						 
						
							
							
								
								default to emiting an uncompressed .bc file  
							
							 
							
							... 
							
							
							
							llvm-svn: 33420 
							
						 
						
							2007-01-21 06:34:18 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								73d40ac101 
								
							 
						 
						
							
							
								
								Modules are consumed when they are merged together by Linker.  
							
							 
							
							... 
							
							
							
							Clear modules vector so that destructure does not try to
delete these modules again. Patch by Chandler Carruth.
llvm-svn: 33017 
							
						 
						
							2007-01-08 18:42:27 +00:00  
						
					 
				
					
						
							
							
								 
								Chandler Carruth
							
						 
						
							 
							
							
							
							
								
							
							
								b2d4caaaa8 
								
							 
						 
						
							
							
								
								Build libLLVMlto on non-Darwin architectures. Resolves PR1055:  http://llvm.org/PR1055  
							
							 
							
							... 
							
							
							
							llvm-svn: 33006 
							
						 
						
							2007-01-08 06:25:29 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								350563eba7 
								
							 
						 
						
							
							
								
								fix typo  
							
							 
							
							... 
							
							
							
							llvm-svn: 32965 
							
						 
						
							2007-01-06 23:51:31 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								f3baad3ee1 
								
							 
						 
						
							
							
								
								Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are  
							
							 
							
							... 
							
							
							
							now cerr, cout, and NullStream resp.
llvm-svn: 32298 
							
						 
						
							2006-12-07 01:30:32 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								afd54eb8b6 
								
							 
						 
						
							
							
								
								Replacing std::iostreams with llvm iostreams. Some of these changes involve  
							
							 
							
							... 
							
							
							
							adding a temporary wrapper around the ostream to make it friendly to
functions expecting an LLVM stream. This should be fixed in the future.
llvm-svn: 31990 
							
						 
						
							2006-11-29 00:19:40 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								a9abd62ede 
								
							 
						 
						
							
							
								
								Save temp. bc files when saveTemps flag is true. Use final output file  
							
							 
							
							... 
							
							
							
							name supplied by linker to construct temp bc file names.
Remove tabs.
llvm-svn: 31205 
							
						 
						
							2006-10-26 20:46:22 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								07631698ac 
								
							 
						 
						
							
							
								
								Supply alignment info to linker through LLVMSymbol.  
							
							 
							
							... 
							
							
							
							llvm-svn: 31181 
							
						 
						
							2006-10-25 18:10:07 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								b0a5e39b26 
								
							 
						 
						
							
							
								
								Instead of hard coding global prefix, use TargetAsmInfo.  
							
							 
							
							... 
							
							
							
							Add LTO destructor.
llvm-svn: 31168 
							
						 
						
							2006-10-24 18:41:02 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								fdf6144168 
								
							 
						 
						
							
							
								
								Fix typo. Add more comment. Avoid extra hash_map search.  
							
							 
							
							... 
							
							
							
							llvm-svn: 31144 
							
						 
						
							2006-10-23 23:57:53 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								6c01383118 
								
							 
						 
						
							
							
								
								Add removeModule().  
							
							 
							
							... 
							
							
							
							llvm-svn: 31142 
							
						 
						
							2006-10-23 23:12:26 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								d90c2d7386 
								
							 
						 
						
							
							
								
								Use FindProgramByName instead of FindExecutable.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30846 
							
						 
						
							2006-10-09 21:16:05 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								060c4857ca 
								
							 
						 
						
							
							
								
								Do error checking.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30842 
							
						 
						
							2006-10-09 20:20:13 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								dacaf1e375 
								
							 
						 
						
							
							
								
								Use GetTemporaryDirectory. Fix  http://llvm.org/bugs/show_bug.cgi?id=894  
							
							 
							
							... 
							
							
							
							llvm-svn: 30838 
							
						 
						
							2006-10-09 19:04:51 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								5af1651f7d 
								
							 
						 
						
							
							
								
								Use abstract class to facilitate dlopen() interface.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30569 
							
						 
						
							2006-09-21 17:22:55 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								dd53fd41cd 
								
							 
						 
						
							
							
								
								Add comment.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30315 
							
						 
						
							2006-09-14 05:49:10 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								e480d2a2d7 
								
							 
						 
						
							
							
								
								GlobalValue with InternalLinkage may have operands with ExternalLinkage  
							
							 
							
							... 
							
							
							
							type. Do not ignore these operands while finding external references.
llvm-svn: 30310 
							
						 
						
							2006-09-14 01:35:13 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								5606dd8a45 
								
							 
						 
						
							
							
								
								Using addPassesToEmitWholeFile is not a good idea here.  
							
							 
							
							... 
							
							
							
							Use FunctionPassManager to do the job.
llvm-svn: 30160 
							
						 
						
							2006-09-07 21:41:11 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								5b3510abd3 
								
							 
						 
						
							
							
								
								Use addPassesToEmitWholeFile() instead of addPassesToEmitFile()  
							
							 
							
							... 
							
							
							
							llvm-svn: 30153 
							
						 
						
							2006-09-07 20:20:56 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								5561aa7271 
								
							 
						 
						
							
							
								
								Add getTargetTriple() that linker can use to query target architecture.  
							
							 
							
							... 
							
							
							
							llvm-svn: 30132 
							
						 
						
							2006-09-06 20:16:28 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								ee9f617cff 
								
							 
						 
						
							
							
								
								Keep track of all modules crated using a name to module map.  
							
							 
							
							... 
							
							
							
							Add private member function getMoudle().
llvm-svn: 30130 
							
						 
						
							2006-09-06 18:50:26 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								95b7c7af2e 
								
							 
						 
						
							
							
								
								Instead of demangling symbol name by hand, use original name, which was  
							
							 
							
							... 
							
							
							
							used to mangle symbol name, directly.
llvm-svn: 30124 
							
						 
						
							2006-09-06 00:45:52 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								e3b9490b05 
								
							 
						 
						
							
							
								
								Extract target triplet from optimized module.  
							
							 
							
							... 
							
							
							
							Untabify.
llvm-svn: 30123 
							
						 
						
							2006-09-06 00:28:22 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								663a005fba 
								
							 
						 
						
							
							
								
								If unable to create tmp. file on disk then return LTO_WRITE_FAILURE status.  
							
							 
							
							... 
							
							
							
							llvm-svn: 29844 
							
						 
						
							2006-08-23 16:59:25 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								8db844241b 
								
							 
						 
						
							
							
								
								For PR797:  
							
							 
							
							... 
							
							
							
							Remove exceptions from the Path::create*OnDisk methods. Update their users
to handle error messages via arguments and result codes.
llvm-svn: 29840 
							
						 
						
							2006-08-23 00:39:35 +00:00  
						
					 
				
					
						
							
							
								 
								Reid Spencer
							
						 
						
							 
							
							
							
							
								
							
							
								c295914b7a 
								
							 
						 
						
							
							
								
								For PR797:  
							
							 
							
							... 
							
							
							
							Make sys::Program::ExecuteAndWait not throw exceptions and update any
affected code. It now return -9999 to signal that the program couldn't be
executed. Only one case (in bugpoint) actually examines the result code.
llvm-svn: 29785 
							
						 
						
							2006-08-21 02:04:43 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								151c3969b1 
								
							 
						 
						
							
							
								
								untabify  
							
							 
							
							... 
							
							
							
							llvm-svn: 29686 
							
						 
						
							2006-08-14 23:37:18 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								4500688cc7 
								
							 
						 
						
							
							
								
								Use mangler, instead of addUnderscore(), to get mangled name.  
							
							 
							
							... 
							
							
							
							Now, LLVMSymbol keeps symbol original name and mangled name.
llvm-svn: 29679 
							
						 
						
							2006-08-14 22:36:16 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								308f033e59 
								
							 
						 
						
							
							
								
								Collect references from globals.  
							
							 
							
							... 
							
							
							
							llvm-svn: 29530 
							
						 
						
							2006-08-04 19:10:26 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								27672ee821 
								
							 
						 
						
							
							
								
								Fix typo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 29502 
							
						 
						
							2006-08-03 17:25:36 +00:00  
						
					 
				
					
						
							
							
								 
								Devang Patel
							
						 
						
							 
							
							
							
							
								
							
							
								36839b8637 
								
							 
						 
						
							
							
								
								Add new tool, lto, to do link time optimization. This tool installs  
							
							 
							
							... 
							
							
							
							dynamic library that linker can use to optimize llvm byte codes at
link time.
llvm-svn: 29494 
							
						 
						
							2006-08-03 15:44:57 +00:00