Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								d5107d1333 
								
							 
						 
						
							
							
								
								Allow llvmc to take .bc files as input.  
							
							 
							
							... 
							
							
							
							llvm-svn: 81452 
							
						 
						
							2009-09-10 17:04:32 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Kramer
							
						 
						
							 
							
							
							
							
								
							
							
								53fd9f392d 
								
							 
						 
						
							
							
								
								Inverse logic to increase portability.  
							
							 
							
							... 
							
							
							
							llvm-svn: 80240 
							
						 
						
							2009-08-27 12:02:34 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								99c20d1459 
								
							 
						 
						
							
							
								
								To make mcc16 run correctly on mac.  
							
							 
							
							... 
							
							
							
							llvm-svn: 80239 
							
						 
						
							2009-08-27 11:54:38 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								1432ef864e 
								
							 
						 
						
							
							
								
								This void is implicit in C++.  
							
							 
							
							... 
							
							
							
							llvm-svn: 78848 
							
						 
						
							2009-08-12 22:10:57 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								bdaaacad9a 
								
							 
						 
						
							
							
								
								llvm-ld has a new option called -b to specify the name of bitcode output file, use that.  
							
							 
							
							... 
							
							
							
							llvm-svn: 78282 
							
						 
						
							2009-08-06 04:09:26 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Gohman
							
						 
						
							 
							
							
							
							
								
							
							
								ee05152cfa 
								
							 
						 
						
							
							
								
								Convert more tools code from cerr and cout to errs() and outs().  
							
							 
							
							... 
							
							
							
							llvm-svn: 76070 
							
						 
						
							2009-07-16 15:30:09 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								63bdb56274 
								
							 
						 
						
							
							
								
								Added a fixme for platform specific GetDirSeparator().  
							
							 
							
							... 
							
							
							
							llvm-svn: 75461 
							
						 
						
							2009-07-13 10:58:55 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								ed5db9dd30 
								
							 
						 
						
							
							
								
								allow mcc16 users to specify --save-temps even though it is hidden by mcc16.  
							
							 
							
							... 
							
							
							
							link libstd.so with llvm-ld by default with all the programs user is trying to build.
llvm-svn: 75460 
							
						 
						
							2009-07-13 10:56:29 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								bee767fa26 
								
							 
						 
						
							
							
								
								Update documentation.  
							
							 
							
							... 
							
							
							
							llvm-svn: 75375 
							
						 
						
							2009-07-11 19:27:40 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								594006524b 
								
							 
						 
						
							
							
								
								Erase the temp dir before starting.  
							
							 
							
							... 
							
							
							
							llvm-svn: 75367 
							
						 
						
							2009-07-11 17:35:46 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								62609a4131 
								
							 
						 
						
							
							
								
								Link std.lib (.bc code) with llvm-ld.  
							
							 
							
							... 
							
							
							
							Link devices.lib (processor specific variables) with mplink.
llvm-svn: 75263 
							
						 
						
							2009-07-10 19:04:05 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								7ab20c7cf9 
								
							 
						 
						
							
							
								
								Documentation update.  
							
							 
							
							... 
							
							
							
							llvm-svn: 75166 
							
						 
						
							2009-07-09 19:39:16 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								163f93e434 
								
							 
						 
						
							
							
								
								We don't need to set SaveTemps here.  
							
							 
							
							... 
							
							
							
							'--temp-dir' always overrides 'save-temps'.
llvm-svn: 75165 
							
						 
						
							2009-07-09 19:38:32 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								353b8cc112 
								
							 
						 
						
							
							
								
								Adjust comment.  
							
							 
							
							... 
							
							
							
							llvm-svn: 75164 
							
						 
						
							2009-07-09 19:37:58 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								f3b8609c6f 
								
							 
						 
						
							
							
								
								By default -t is always on for mcc16 and it uses ./tmp-objs as the temp directory.  
							
							 
							
							... 
							
							
							
							llvm-svn: 75155 
							
						 
						
							2009-07-09 18:09:26 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								c378299f79 
								
							 
						 
						
							
							
								
								Added few more options to individual tools.  
							
							 
							
							... 
							
							
							
							llvm-svn: 75120 
							
						 
						
							2009-07-09 08:20:25 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								772924295d 
								
							 
						 
						
							
							
								
								Return dir separator as per platform.  
							
							 
							
							... 
							
							
							
							llvm-svn: 75119 
							
						 
						
							2009-07-09 08:17:55 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								2512c2a1f6 
								
							 
						 
						
							
							
								
								Documentation update.  
							
							 
							
							... 
							
							
							
							llvm-svn: 74913 
							
						 
						
							2009-07-07 16:43:49 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								244821fbe5 
								
							 
						 
						
							
							
								
								Show how to modify built-in options.  
							
							 
							
							... 
							
							
							
							Sanjiv complained about the need to maintain local changes to
lib/CompilerDriver.
llvm-svn: 74912 
							
						 
						
							2009-07-07 16:39:33 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								f4cc0cddbc 
								
							 
						 
						
							
							
								
								Documentation update.  
							
							 
							
							... 
							
							
							
							llvm-svn: 74907 
							
						 
						
							2009-07-07 16:09:29 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								6c41ac5b38 
								
							 
						 
						
							
							
								
								Prefix bin dir to executables.  
							
							 
							
							... 
							
							
							
							llvm-svn: 74713 
							
						 
						
							2009-07-02 17:51:09 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								2b65d1aac1 
								
							 
						 
						
							
							
								
								Fixed handling of -c option.wq  
							
							 
							
							... 
							
							
							
							llvm-svn: 74711 
							
						 
						
							2009-07-02 17:35:38 +00:00  
						
					 
				
					
						
							
							
								 
								Sanjiv Gupta
							
						 
						
							 
							
							
							
							
								
							
							
								8ff5a6c262 
								
							 
						 
						
							
							
								
								Executables will be at InstallDir/bin directory. Std header files will be at InstallDir/include, libs will be at InstallDir/lib. Define hooks for these and use them in the options for various tools.  
							
							 
							
							... 
							
							
							
							llvm-svn: 74611 
							
						 
						
							2009-07-01 16:10:29 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								8a4d713e48 
								
							 
						 
						
							
							
								
								Clang is now production quality (at least for C).  
							
							 
							
							... 
							
							
							
							llvm-svn: 74484 
							
						 
						
							2009-06-30 00:16:22 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								3fcdada6b4 
								
							 
						 
						
							
							
								
								Add a way to access argv[0] in hooks.  
							
							 
							
							... 
							
							
							
							llvm-svn: 74483 
							
						 
						
							2009-06-30 00:16:00 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								d1d21a1ce9 
								
							 
						 
						
							
							
								
								Update documentation.  
							
							 
							
							... 
							
							
							
							llvm-svn: 74191 
							
						 
						
							2009-06-25 18:20:44 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								73da626340 
								
							 
						 
						
							
							
								
								Remove duplication.  
							
							 
							
							... 
							
							
							
							Factor out common preprocessor-related bits to Makefile.rules.
llvm-svn: 74153 
							
						 
						
							2009-06-25 01:07:00 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								8b4e03898c 
								
							 
						 
						
							
							
								
								Temporary copy-pasto to make examples compile.  
							
							 
							
							... 
							
							
							
							llvm-svn: 74001 
							
						 
						
							2009-06-23 20:47:24 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								248c414024 
								
							 
						 
						
							
							
								
								Make llvmc work again.  
							
							 
							
							... 
							
							
							
							Chris recently broke llvmc with his Makefile changes (r75379). That patch made
the global change .o -> .a, which caused built-in llvmc plugins to stop working
since plugin initialization in llvmc is based on static variables not referenced
from the main executable. This patch implements auto-generated forced references
to the plugin libraries.
llvm-svn: 74000 
							
						 
						
							2009-06-23 20:46:48 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								fbd815fb7a 
								
							 
						 
						
							
							
								
								Another small documentation update.  
							
							 
							
							... 
							
							
							
							llvm-svn: 73596 
							
						 
						
							2009-06-17 02:56:08 +00:00  
						
					 
				
					
						
							
							
								 
								Chris Lattner
							
						 
						
							 
							
							
							
							
								
							
							
								eaae8d0cdc 
								
							 
						 
						
							
							
								
								Remove support for building LLVM libraries into "relinked"  
							
							 
							
							... 
							
							
							
							object files.  Now we always build LLVM libraries into archives (.a files).
This makes the 'make' build work more like the cmake build, among other
things.  Doing this exposed some latent circular library dependencies, so
I think that llvm-config wasn't quite right for .o files anyway.
llvm-svn: 73579 
							
						 
						
							2009-06-16 23:00:42 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								bf5085251a 
								
							 
						 
						
							
							
								
								Documentation update.  
							
							 
							
							... 
							
							
							
							llvm-svn: 73448 
							
						 
						
							2009-06-16 00:13:52 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								aef7175f45 
								
							 
						 
						
							
							
								
								A basic PIC16 toolchain driver.  
							
							 
							
							... 
							
							
							
							Nice addition to the examples and also a starting point for Sanjiv to work on.
llvm-svn: 73013 
							
						 
						
							2009-06-07 07:08:01 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								6da4749ce6 
								
							 
						 
						
							
							
								
								The 'forward_as' property did not use its second argument.  
							
							 
							
							... 
							
							
							
							See PR4159 for details. Patch by Martin Nowack!
llvm-svn: 71054 
							
						 
						
							2009-05-06 01:41:19 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								2c332fec97 
								
							 
						 
						
							
							
								
								Support --with-llvmgccdir and friends in llvmc, take 2.  
							
							 
							
							... 
							
							
							
							Should now work when building with objdir != srcdir and when llvm-gcc is not
available.
Thanks to Duncan Sands for testing and advice!
llvm-svn: 69700 
							
						 
						
							2009-04-21 19:46:10 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								4d10aae8c2 
								
							 
						 
						
							
							
								
								Revert 69474 and 69475. They are causing failures during a bootstrap on Darwin.  
							
							 
							
							... 
							
							
							
							llvm-svn: 69478 
							
						 
						
							2009-04-18 21:45:27 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								73e9e021f1 
								
							 
						 
						
							
							
								
								Add a configure check for llvm-gcc (reapply).  
							
							 
							
							... 
							
							
							
							llvm-svn: 69474 
							
						 
						
							2009-04-18 20:55:28 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								02b47d9958 
								
							 
						 
						
							
							
								
								Temporarily revert r69438 and r69439. These were causing failures during a  
							
							 
							
							... 
							
							
							
							release build of llvm.
llvm-svn: 69440 
							
						 
						
							2009-04-18 11:20:33 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								e078105a89 
								
							 
						 
						
							
							
								
								Add a configure check for llvm-gcc.  
							
							 
							
							... 
							
							
							
							llvm-svn: 69438 
							
						 
						
							2009-04-18 09:57:58 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								eccc5967bf 
								
							 
						 
						
							
							
								
								Do not pass '-relocation-model=pic' to llc.  
							
							 
							
							... 
							
							
							
							Does not work well on 32 bit targets. Bug reported by Albert Graef.
This patch also adds new "-Wllc,option" syntax to pass options to llc.
llvm-svn: 68127 
							
						 
						
							2009-03-31 18:33:54 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								0f78c2721b 
								
							 
						 
						
							
							
								
								Documentation update.  
							
							 
							
							... 
							
							
							
							Expand a bit on various '--*-graph' options.
llvm-svn: 67836 
							
						 
						
							2009-03-27 12:58:29 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								33435e49a9 
								
							 
						 
						
							
							
								
								Add example/Skeleton.  
							
							 
							
							... 
							
							
							
							This is a template that can be used to build your own LLVMC-based drivers.
It can be also useful as a "bare-bones" LLVMC.
llvm-svn: 65944 
							
						 
						
							2009-03-03 11:02:48 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								b5f56fc268 
								
							 
						 
						
							
							
								
								Comment fixes.  
							
							 
							
							... 
							
							
							
							llvm-svn: 65943 
							
						 
						
							2009-03-03 10:04:57 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								4f85b86120 
								
							 
						 
						
							
							
								
								Use LLVMLIBS instead of USEDLIBS.  
							
							 
							
							... 
							
							
							
							Since this Makefile is supposed to be usable from LLVM-based projects not in the
tree, LLVMLIBS should be used instead of USEDLIBS. This depends on my previous
fix to Makefile.rules.
llvm-svn: 65941 
							
						 
						
							2009-03-03 10:03:53 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								b00b964697 
								
							 
						 
						
							
							
								
								Move example plugins to the example/ directory.  
							
							 
							
							... 
							
							
							
							llvm-svn: 65939 
							
						 
						
							2009-03-03 10:02:53 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								7cff81825f 
								
							 
						 
						
							
							
								
								Move the rules for building plugins to Makefile.rules.  
							
							 
							
							... 
							
							
							
							llvm-svn: 65827 
							
						 
						
							2009-03-02 09:04:13 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								37b419cdee 
								
							 
						 
						
							
							
								
								Fix build with objdir != srcdir.  
							
							 
							
							... 
							
							
							
							llvm-svn: 65826 
							
						 
						
							2009-03-02 09:03:36 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								ecfab627fd 
								
							 
						 
						
							
							
								
								Move code from Main.cpp to the include dir.  
							
							 
							
							... 
							
							
							
							User drivers based on llvmc must all share the initialization code.
Putting main() into libCompilerDriver is not a very good idea IMO (and ld gave
me some strange EH-related error anyway).
llvm-svn: 65825 
							
						 
						
							2009-03-02 09:03:02 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								931d4521c3 
								
							 
						 
						
							
							
								
								Reorganize llvmc code.  
							
							 
							
							... 
							
							
							
							Move the code from 'llvmc/driver' into a new CompilerDriver library, and change
the build system accordingly. Makes it easier for projects using LLVM to build
their own llvmc-based drivers.
Tested with objdir != srcdir.
llvm-svn: 65821 
							
						 
						
							2009-03-02 09:01:14 +00:00  
						
					 
				
					
						
							
							
								 
								Mikhail Glushenkov
							
						 
						
							 
							
							
							
							
								
							
							
								c7d6951c92 
								
							 
						 
						
							
							
								
								Add some comments.  
							
							 
							
							... 
							
							
							
							llvm-svn: 63364 
							
						 
						
							2009-01-30 02:12:57 +00:00