beb9946af8 
								
							 
						 
						
							
							
								
								For PR351:  
							
							... 
							
							
							
							* Make the OutputC and OutputAsm functions work with sys::Path for the output
  file name instead of using std::string.
* Get rid of extraneous "toString" calls.
* Change "removeFile" to sys::Path::destroyFile()
llvm-svn: 19000 
							
						 
						
							2004-12-16 23:01:34 +00:00  
				
					
						
							
							
								 
						
							
								9329172767 
								
							 
						 
						
							
							
								
								For PR351:  
							
							... 
							
							
							
							* Remove #inclusion of FileUtilities.h, not needed any more.
* Convert getUniqueFilename -> sys::Pat::makeUnique()
llvm-svn: 18948 
							
						 
						
							2004-12-15 01:51:56 +00:00  
				
					
						
							
							
								 
						
							
								d89ff0a5e1 
								
							 
						 
						
							
							
								
								For PR351:  
							
							... 
							
							
							
							Adjust to changes in the interface of FindExecutable, getting ToolRunner
ready for bigger things to come.
llvm-svn: 18919 
							
						 
						
							2004-12-13 23:43:44 +00:00  
				
					
						
							
							
								 
						
							
								d1697bf2f7 
								
							 
						 
						
							
							
								
								Shared library extension is now in LTDL_SHLIB_EXT  
							
							... 
							
							
							
							llvm-svn: 18353 
							
						 
						
							2004-11-29 12:40:21 +00:00  
				
					
						
							
							
								 
						
							
								1164955bf1 
								
							 
						 
						
							
							
								
								Allow hbd to be bugpointable on darwin by fixing common and linkonce codegen  
							
							... 
							
							
							
							llvm-svn: 17637 
							
						 
						
							2004-11-09 04:01:18 +00:00  
				
					
						
							
							
								 
						
							
								e5e5b37b79 
								
							 
						 
						
							
							
								
								Pass -single_module option to gcc when linking dynamic libraries for use with bugpoint, so that we can bugpoint multiple .cp files  
							
							... 
							
							
							
							llvm-svn: 17102 
							
						 
						
							2004-10-17 23:03:32 +00:00  
				
					
						
							
							
								 
						
							
								7c16caa336 
								
							 
						 
						
							
							
								
								Changes For Bug 352  
							
							... 
							
							
							
							Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137 
							
						 
						
							2004-09-01 22:55:40 +00:00  
				
					
						
							
							
								 
						
							
								8171b14fcc 
								
							 
						 
						
							
							
								
								Pass timeouts into the low level "execute program with timeout" function  
							
							... 
							
							
							
							llvm-svn: 15160 
							
						 
						
							2004-07-24 07:49:11 +00:00  
				
					
						
							
							
								 
						
							
								902dcf0729 
								
							 
						 
						
							
							
								
								These files don't need to include <iostream> since they include "Support/Debug.h".  
							
							... 
							
							
							
							llvm-svn: 15089 
							
						 
						
							2004-07-21 20:50:33 +00:00  
				
					
						
							
							
								 
						
							
								46c48a9654 
								
							 
						 
						
							
							
								
								Err, fix last checkin  
							
							... 
							
							
							
							llvm-svn: 14995 
							
						 
						
							2004-07-19 06:03:51 +00:00  
				
					
						
							
							
								 
						
							
								874ffdd592 
								
							 
						 
						
							
							
								
								Fix bugpoint miscompilation support on OS/X  
							
							... 
							
							
							
							Patch contributed by the fabulous Nate Begeman.
llvm-svn: 14994 
							
						 
						
							2004-07-19 06:00:17 +00:00  
				
					
						
							
							
								 
						
							
								06773822b9 
								
							 
						 
						
							
							
								
								Correctly build shared objects on MacOS X for debugging code generators  
							
							... 
							
							
							
							llvm-svn: 14892 
							
						 
						
							2004-07-16 19:45:45 +00:00  
				
					
						
							
							
								 
						
							
								706bd5bf2b 
								
							 
						 
						
							
							
								
								Apply simplification suggested by Chris: why assign() when operator = will do?  
							
							... 
							
							
							
							llvm-svn: 13364 
							
						 
						
							2004-05-04 22:02:41 +00:00  
				
					
						
							
							
								 
						
							
								b3a9a0fcbd 
								
							 
						 
						
							
							
								
								Add "Args" optional argument to AbstractInterpreter factory methods, which  
							
							... 
							
							
							
							fills in a ToolArgs vector in the AbstractInterpreter if it is set. This
ToolArgs vector is used to pass additional arguments to LLI and/or LLC.
This is intended to address Bug 40.
Also, make -debug-only=toolrunner work for the LLC and CBE
AbstractInterpreters.
llvm-svn: 13356 
							
						 
						
							2004-05-04 21:09:01 +00:00  
				
					
						
							
							
								 
						
							
								b0d1e9d02e 
								
							 
						 
						
							
							
								
								lli no longer takes the -quiet option!  
							
							... 
							
							
							
							llvm-svn: 12674 
							
						 
						
							2004-04-05 20:28:41 +00:00  
				
					
						
							
							
								 
						
							
								3562c2dd9f 
								
							 
						 
						
							
							
								
								Make ToolExecutionError inherit std::exception and implement its  
							
							... 
							
							
							
							interface: getMessage() is gone, use what() instead.
llvm-svn: 11621 
							
						 
						
							2004-02-19 07:39:26 +00:00  
				
					
						
							
							
								 
						
							
								8d05ebc2f9 
								
							 
						 
						
							
							
								
								Add support for just running the code generator  
							
							... 
							
							
							
							llvm-svn: 11611 
							
						 
						
							2004-02-18 23:24:41 +00:00  
				
					
						
							
							
								 
						
							
								03d993b265 
								
							 
						 
						
							
							
								
								indent correctly  
							
							... 
							
							
							
							llvm-svn: 11601 
							
						 
						
							2004-02-18 20:58:00 +00:00  
				
					
						
							
							
								 
						
							
								abcd97dcd8 
								
							 
						 
						
							
							
								
								Don't yell.  BUGPOINT should yell, not the tool runner :)  
							
							... 
							
							
							
							llvm-svn: 11600 
							
						 
						
							2004-02-18 20:57:38 +00:00  
				
					
						
							
							
								 
						
							
								3163a98492 
								
							 
						 
						
							
							
								
								If there is an error running a tool, include the error message (e.g. assertion failure) in the exception  
							
							... 
							
							
							
							llvm-svn: 11597 
							
						 
						
							2004-02-18 20:38:00 +00:00  
				
					
						
							
							
								 
						
							
								08180ecfcf 
								
							 
						 
						
							
							
								
								When an error occurs executing a tool, we now throw an exception instead  
							
							... 
							
							
							
							of calling exit(1).
llvm-svn: 11593 
							
						 
						
							2004-02-18 20:21:57 +00:00  
				
					
						
							
							
								 
						
							
								70d42f6765 
								
							 
						 
						
							
							
								
								The C backend is no longer in llvm-dis, it's in llc  
							
							... 
							
							
							
							llvm-svn: 11533 
							
						 
						
							2004-02-17 06:40:06 +00:00  
				
					
						
							
							
								 
						
							
								e6a41815f3 
								
							 
						 
						
							
							
								
								Fixes for PR214.  Use the SHLIBEXT variable instead of hardcoding .so into  
							
							... 
							
							
							
							every file.
llvm-svn: 10976 
							
						 
						
							2004-01-26 20:59:41 +00:00  
				
					
						
							
							
								 
						
							
								c9499b6a20 
								
							 
						 
						
							
							
								
								Finegrainify namespacification  
							
							... 
							
							
							
							llvm-svn: 10464 
							
						 
						
							2003-12-14 21:35:53 +00:00  
				
					
						
							
							
								 
						
							
								921440c309 
								
							 
						 
						
							
							
								
								Only use -Wl,-R. if HAVE_LINK_R.  
							
							... 
							
							
							
							llvm-svn: 10066 
							
						 
						
							2003-11-18 06:31:17 +00:00  
				
					
						
							
							
								 
						
							
								960707c335 
								
							 
						 
						
							
							
								
								Put all LLVM code into the llvm namespace, as per bug 109.  
							
							... 
							
							
							
							llvm-svn: 9903 
							
						 
						
							2003-11-11 22:41:34 +00:00  
				
					
						
							
							
								 
						
							
								482202a601 
								
							 
						 
						
							
							
								
								Added LLVM project notice to the top of every C++ source file.  
							
							... 
							
							
							
							Header files will be on the way.
llvm-svn: 9298 
							
						 
						
							2003-10-20 19:43:21 +00:00  
				
					
						
							
							
								 
						
							
								4aad8b9ed8 
								
							 
						 
						
							
							
								
								Add debugtype, make output marginally more nice  
							
							... 
							
							
							
							llvm-svn: 9251 
							
						 
						
							2003-10-19 02:27:40 +00:00  
				
					
						
							
							
								 
						
							
								97d7f8373c 
								
							 
						 
						
							
							
								
								Fix PR  #47  
							
							... 
							
							
							
							llvm-svn: 9250 
							
						 
						
							2003-10-19 02:14:58 +00:00  
				
					
						
							
							
								 
						
							
								0132ae4117 
								
							 
						 
						
							
							
								
								Without this option, the -run-llc mode does not work with shared objects at  
							
							... 
							
							
							
							all, making it pointless for use with the code generator debugger.  With it,
it works like a charm.
llvm-svn: 9245 
							
						 
						
							2003-10-18 21:54:47 +00:00  
				
					
						
							
							
								 
						
							
								1499851ef6 
								
							 
						 
						
							
							
								
								Generalize abstract interpreter interface to allow linking in an arbitrary number of shared objects  
							
							... 
							
							
							
							llvm-svn: 9129 
							
						 
						
							2003-10-14 21:52:52 +00:00  
				
					
						
							
							
								 
						
							
								66da9ef634 
								
							 
						 
						
							
							
								
								Substantial cleanups:  
							
							... 
							
							
							
							* Add header comment
 * Remove extraneous #includes
 * Move the FileType enum into the GCC class
 * The GCC class is not virtual.
 * Move all of the "constructor" functions into the classes themselves
 * Stop using cl::list as arguments, use std::vector instead (which cl::list
   derives from)
 * Improve comments
llvm-svn: 9121 
							
						 
						
							2003-10-14 21:34:11 +00:00  
				
					
						
							
							
								 
						
							
								74d64c7d02 
								
							 
						 
						
							
							
								
								Actually return an error if something bad happens, don't just exit.  
							
							... 
							
							
							
							llvm-svn: 9119 
							
						 
						
							2003-10-14 21:07:25 +00:00  
				
					
						
							
							
								 
						
							
								abb3b38448 
								
							 
						 
						
							
							
								
								LLI no longer has -abort-on-exception  
							
							... 
							
							
							
							llvm-svn: 9097 
							
						 
						
							2003-10-13 18:26:49 +00:00  
				
					
						
							
							
								 
						
							
								c27da9dce0 
								
							 
						 
						
							
							
								
								ToolRunner.h has been moved from include/Support to include/llvm/Support.  
							
							... 
							
							
							
							llvm-svn: 8898 
							
						 
						
							2003-10-06 18:37:24 +00:00  
				
					
						
							
							
								 
						
							
								b5d41c4ad9 
								
							 
						 
						
							
							
								
								Implementation of the abstraction of running our tools + gcc, taken out of  
							
							... 
							
							
							
							bugpoint for general usage and enjoyment.
llvm-svn: 8754 
							
						 
						
							2003-09-29 22:39:25 +00:00