c6f915e40d 
								
							 
						 
						
							
							
								
								Add -disable-output option.  
							
							... 
							
							
							
							llvm-svn: 47422 
							
						 
						
							2008-02-21 01:41:25 +00:00  
				
					
						
							
							
								 
						
							
								345353d6b4 
								
							 
						 
						
							
							
								
								remove attributions from tools.  
							
							... 
							
							
							
							llvm-svn: 45421 
							
						 
						
							2007-12-29 20:44:31 +00:00  
				
					
						
							
							
								 
						
							
								2c6a821fd7 
								
							 
						 
						
							
							
								
								Move the space in overview output for commands out of each of the  
							
							... 
							
							
							
							commands and into the common code.
llvm-svn: 42752 
							
						 
						
							2007-10-08 15:45:12 +00:00  
				
					
						
							
							
								 
						
							
								e16561cd5d 
								
							 
						 
						
							
							
								
								Here is the bulk of the sanitizing.  
							
							... 
							
							
							
							Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913 
							
						 
						
							2007-07-05 17:07:56 +00:00  
				
					
						
							
							
								 
						
							
								6d80e21a1d 
								
							 
						 
						
							
							
								
								switch tools to bitcode instead of bytecode  
							
							... 
							
							
							
							llvm-svn: 36868 
							
						 
						
							2007-05-06 09:29:57 +00:00  
				
					
						
							
							
								 
						
							
								52e1f0f297 
								
							 
						 
						
							
							
								
								add a temporary -bitcode option, which instructs llvm-as to produce a bitcode file instead of a bytecode file  
							
							... 
							
							
							
							llvm-svn: 36333 
							
						 
						
							2007-04-22 06:28:58 +00:00  
				
					
						
							
							
								 
						
							
								19bb6b996b 
								
							 
						 
						
							
							
								
								default to emiting an uncompressed .bc file  
							
							... 
							
							
							
							llvm-svn: 33420 
							
						 
						
							2007-01-21 06:34:18 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								76d4632d92 
								
							 
						 
						
							
							
								
								make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.  
							
							... 
							
							
							
							With this change, I can now move -stats to print when llvm_shutdown is called.
llvm-svn: 32250 
							
						 
						
							2006-12-06 01:18:01 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								713eedc1fb 
								
							 
						 
						
							
							
								
								For PR797:  
							
							... 
							
							
							
							Rid the Assembly Parser of exceptions. This is a really gross hack but it
will do until the Assembly Parser is re-written as a recursive descent.
The basic premise is that wherever the old "ThrowException" function was
called (new name: GenerateError) we set a flag (TriggerError). Every
production checks that flag and calls YYERROR if it is set. Additionally,
each call to ThrowException in the grammar is replaced with GEN_ERROR
which calls GenerateError and then YYERROR immediately. This prevents
the remaining production from continuing after an error condition.
llvm-svn: 29763 
							
						 
						
							2006-08-18 08:43:06 +00:00  
				
					
						
							
							
								 
						
							
								5734e8d7c3 
								
							 
						 
						
							
							
								
								Change the verifier to never throw an exception.  Instead verifyModule canoptionally return the string error, which is an easier api for clients touse anyway.  
							
							... 
							
							
							
							llvm-svn: 29017 
							
						 
						
							2006-07-06 18:02:27 +00:00  
				
					
						
							
							
								 
						
							
								d65928994a 
								
							 
						 
						
							
							
								
								Silly cleanup  
							
							... 
							
							
							
							llvm-svn: 28544 
							
						 
						
							2006-05-29 18:52:52 +00:00  
				
					
						
							
							
								 
						
							
								650ba8eb56 
								
							 
						 
						
							
							
								
								Remove trailing whitespace  
							
							... 
							
							
							
							llvm-svn: 21428 
							
						 
						
							2005-04-22 00:00:37 +00:00  
				
					
						
							
							
								 
						
							
								6983f5d2ed 
								
							 
						 
						
							
							
								
								Print the module, not the pointer.  
							
							... 
							
							
							
							llvm-svn: 20156 
							
						 
						
							2005-02-13 19:12:31 +00:00  
				
					
						
							
							
								 
						
							
								c8f1f4bc8e 
								
							 
						 
						
							
							
								
								Use binary mode for reading/writing bytecode files  
							
							... 
							
							
							
							llvm-svn: 19751 
							
						 
						
							2005-01-22 17:36:17 +00:00  
				
					
						
							
							
								 
						
							
								742af2f2eb 
								
							 
						 
						
							
							
								
								Prevent output of bytecode to std::cout unless the --force flag is given.  
							
							... 
							
							
							
							This prevents bytecode splats with usage like: cat file.ll | llvm-as -
llvm-svn: 19239 
							
						 
						
							2005-01-02 00:08:46 +00:00  
				
					
						
							
							
								 
						
							
								ca7d19e2af 
								
							 
						 
						
							
							
								
								Fix typo 'ompress' => 'compress'.  
							
							... 
							
							
							
							llvm-svn: 19232 
							
						 
						
							2005-01-01 22:10:32 +00:00  
				
					
						
							
							
								 
						
							
								996ec72d48 
								
							 
						 
						
							
							
								
								For PR351:  
							
							... 
							
							
							
							* Place a try/catch block around the entire tool to Make sure std::string
  exceptions are caught and printed before exiting the tool.
* Make sure we catch unhandled exceptions at the top level so that we don't
  abort with a useless message but indicate than an unhandled exception was
  generated.
llvm-svn: 19192 
							
						 
						
							2004-12-30 05:36:08 +00:00  
				
					
						
							
							
								 
						
							
								b2d0fa0823 
								
							 
						 
						
							
							
								
								Fix usage of changed function prototype  
							
							... 
							
							
							
							llvm-svn: 17798 
							
						 
						
							2004-11-14 22:30:54 +00:00  
				
					
						
							
							
								 
						
							
								505b225e82 
								
							 
						 
						
							
							
								
								Rename the option for defeating compression to be a little more specific.  
							
							... 
							
							
							
							llvm-svn: 17567 
							
						 
						
							2004-11-07 05:50:16 +00:00  
				
					
						
							
							
								 
						
							
								feb3d5097f 
								
							 
						 
						
							
							
								
								Turn on compression by default.  
							
							... 
							
							
							
							Change --compress to --no-compress so compression can be turned off.
llvm-svn: 17564 
							
						 
						
							2004-11-07 05:37:27 +00:00  
				
					
						
							
							
								 
						
							
								2e49204e0f 
								
							 
						 
						
							
							
								
								Add support for compressed bytecode  
							
							... 
							
							
							
							llvm-svn: 17535 
							
						 
						
							2004-11-06 23:17:23 +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  
				
					
						
							
							
								 
						
							
								e3263ecaf0 
								
							 
						 
						
							
							
								
								The functions in Signal.h are now in the llvm::sys namespace - adjust  
							
							... 
							
							
							
							llvm-svn: 16091 
							
						 
						
							2004-08-29 19:28:55 +00:00  
				
					
						
							
							
								 
						
							
								ab1aedab13 
								
							 
						 
						
							
							
								
								Actually, use an exception to stop verification.  This gives us much better  
							
							... 
							
							
							
							error messages because verification stops at the first error.
llvm-svn: 14794 
							
						 
						
							2004-07-13 08:48:04 +00:00  
				
					
						
							
							
								 
						
							
								2c1bc9e7e2 
								
							 
						 
						
							
							
								
								There is no reason to abort and print a stack trace if there is a verification  
							
							... 
							
							
							
							error.  Just print the message like a good little tool.
llvm-svn: 14793 
							
						 
						
							2004-07-13 08:45:41 +00:00  
				
					
						
							
							
								 
						
							
								a9e83604f1 
								
							 
						 
						
							
							
								
								Correct an output typo.  
							
							... 
							
							
							
							llvm-svn: 14766 
							
						 
						
							2004-07-11 23:20:54 +00:00  
				
					
						
							
							
								 
						
							
								f0ebb25d2b 
								
							 
						 
						
							
							
								
								Add #include <iostream> since Value.h does not include it any more.  
							
							... 
							
							
							
							llvm-svn: 14623 
							
						 
						
							2004-07-04 12:20:55 +00:00  
				
					
						
							
							
								 
						
							
								10247b13c0 
								
							 
						 
						
							
							
								
								Write .bc files to binary ostreams.  This shouldn't change anything on unix,  
							
							... 
							
							
							
							but allows us to generate valid code on hosts (like windows) that do newline
translation for text files.
llvm-svn: 14418 
							
						 
						
							2004-06-25 20:54:43 +00:00  
				
					
						
							
							
								 
						
							
								278f5152d3 
								
							 
						 
						
							
							
								
								Header file moved  
							
							... 
							
							
							
							llvm-svn: 13813 
							
						 
						
							2004-05-27 05:41:36 +00:00  
				
					
						
							
							
								 
						
							
								12439ffbac 
								
							 
						 
						
							
							
								
								Make sure to print a stack trace whenever an error signal is delivered to the  
							
							... 
							
							
							
							tool.
llvm-svn: 11632 
							
						 
						
							2004-02-19 20:32:12 +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  
				
					
						
							
							
								 
						
							
								22feb17ea4 
								
							 
						 
						
							
							
								
								Fix file header  
							
							... 
							
							
							
							llvm-svn: 9292 
							
						 
						
							2003-10-20 17:52:11 +00:00  
				
					
						
							
							
								 
						
							
								09344dcf97 
								
							 
						 
						
							
							
								
								Added copyright header to all C++ source files.  
							
							... 
							
							
							
							llvm-svn: 9291 
							
						 
						
							2003-10-20 17:47:21 +00:00  
				
					
						
							
							
								 
						
							
								d67697411a 
								
							 
						 
						
							
							
								
								Fix grammar.  
							
							... 
							
							
							
							llvm-svn: 9026 
							
						 
						
							2003-10-10 17:56:49 +00:00  
				
					
						
							
							
								 
						
							
								9893027b5e 
								
							 
						 
						
							
							
								
								Renaming LLVM `as' to `llvm-as'.  
							
							... 
							
							
							
							llvm-svn: 8188 
							
						 
						
							2003-08-28 21:32:57 +00:00  
				
					
						
							
							
								 
						
							
								016ccdfea6 
								
							 
						 
						
							
							
								
								Add new -disable-verify option  
							
							... 
							
							
							
							llvm-svn: 7960 
							
						 
						
							2003-08-18 20:47:13 +00:00  
				
					
						
							
							
								 
						
							
								306f8b4934 
								
							 
						 
						
							
							
								
								Add support for: -o -  
							
							... 
							
							
							
							llvm-svn: 6485 
							
						 
						
							2003-05-31 21:47:16 +00:00  
				
					
						
							
							
								 
						
							
								02a168310b 
								
							 
						 
						
							
							
								
								Kill using declarations  
							
							... 
							
							
							
							llvm-svn: 6292 
							
						 
						
							2003-05-22 20:13:16 +00:00  
				
					
						
							
							
								 
						
							
								4a84ad57a9 
								
							 
						 
						
							
							
								
								- 'analyze' and 'as' now explicitly verify input because AsmParser doesn't.  
							
							... 
							
							
							
							llvm-svn: 3552 
							
						 
						
							2002-08-30 22:54:41 +00:00  
				
					
						
							
							
								 
						
							
								6f43f6d136 
								
							 
						 
						
							
							
								
								Print the tool name when an error comes from so that I can tell which  
							
							... 
							
							
							
							tool of a pipeline is having issues.
llvm-svn: 3168 
							
						 
						
							2002-07-30 21:43:25 +00:00  
				
					
						
							
							
								 
						
							
								880cfedadd 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							... 
							
							
							
							llvm-svn: 3077 
							
						 
						
							2002-07-25 15:00:45 +00:00  
				
					
						
							
							
								 
						
							
								f5cad15a67 
								
							 
						 
						
							
							
								
								*** empty log message ***  
							
							... 
							
							
							
							llvm-svn: 2985 
							
						 
						
							2002-07-22 02:10:13 +00:00  
				
					
						
							
							
								 
						
							
								a3a1ba1d6a 
								
							 
						 
						
							
							
								
								Clean up anands patch  
							
							... 
							
							
							
							llvm-svn: 2812 
							
						 
						
							2002-06-30 16:25:21 +00:00  
				
					
						
							
							
								 
						
							
								68c9977d7f 
								
							 
						 
						
							
							
								
								Changes for 64bit gcc  
							
							... 
							
							
							
							llvm-svn: 2797 
							
						 
						
							2002-06-25 21:43:28 +00:00  
				
					
						
							
							
								 
						
							
								d5a847057b 
								
							 
						 
						
							
							
								
								Eliminate duplicate or unneccesary #include's  
							
							... 
							
							
							
							llvm-svn: 2397 
							
						 
						
							2002-04-29 17:42:12 +00:00  
				
					
						
							
							
								 
						
							
								17a4573d21 
								
							 
						 
						
							
							
								
								Use operator << to print modules  
							
							... 
							
							
							
							llvm-svn: 2360 
							
						 
						
							2002-04-28 05:13:45 +00:00  
				
					
						
							
							
								 
						
							
								c065ad850c 
								
							 
						 
						
							
							
								
								Make sure that there is no case where a signal can occur leaving a partially  
							
							... 
							
							
							
							written output file.  This is important because crashing testcases often write
part of a file out, and the testing harness decides the file is up-to-date next
time the test is run.
llvm-svn: 2303 
							
						 
						
							2002-04-18 19:55:25 +00:00  
				
					
						
							
							
								 
						
							
								3c707196ac 
								
							 
						 
						
							
							
								
								use dump method instead of Asm/Writer to do debug printing  
							
							... 
							
							
							
							Rename C to M because C used to be 'Class' and now we are 'Module'
llvm-svn: 2151 
							
						 
						
							2002-04-07 22:34:19 +00:00  
				
					
						
							
							
								 
						
							
								0e11e54d20 
								
							 
						 
						
							
							
								
								In an amazing fit of stupidity, I flipped the conditional and didn't test  
							
							... 
							
							
							
							it right.  Sheesh :)
llvm-svn: 1550 
							
						 
						
							2002-01-22 21:07:24 +00:00  
				
					
						
							
							
								 
						
							
								7f74a56e24 
								
							 
						 
						
							
							
								
								Changes to build successfully with GCC 3.02  
							
							... 
							
							
							
							llvm-svn: 1503 
							
						 
						
							2002-01-20 22:54:45 +00:00  
				
					
						
							
							
								 
						
							
								5de2204fe8 
								
							 
						 
						
							
							
								
								Create a new #include "Support/..." directory structure to move things  
							
							... 
							
							
							
							from "llvm/Support/..." that are not llvm dependant.
Move files and fix #includes
llvm-svn: 1400 
							
						 
						
							2001-11-27 00:03:19 +00:00  
				
					
						
							
							
								 
						
							
								ab0cc40796 
								
							 
						 
						
							
							
								
								CommandLine library cleanup.  No longer use getValue/setValue, instead, just treat the commandline  
							
							... 
							
							
							
							args as the objects they represent and the "right thing" will happen
llvm-svn: 283 
							
						 
						
							2001-07-23 19:27:24 +00:00  
				
					
						
							
							
								 
						
							
								e2472bbf6c 
								
							 
						 
						
							
							
								
								Moved inline/llvm/Tools/* to include/llvm/Support/*  
							
							... 
							
							
							
							llvm-svn: 279 
							
						 
						
							2001-07-23 17:46:59 +00:00  
				
					
						
							
							
								 
						
							
								0af2464a78 
								
							 
						 
						
							
							
								
								Large scale changes to implement new command line argument facility  
							
							... 
							
							
							
							llvm-svn: 272 
							
						 
						
							2001-07-23 02:35:57 +00:00  
				
					
						
							
							
								 
						
							
								2f7c963559 
								
							 
						 
						
							
							
								
								Initial revision  
							
							... 
							
							
							
							llvm-svn: 2 
							
						 
						
							2001-06-06 20:29:01 +00:00