summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/driver
Commit message (Collapse)AuthorAgeFilesLines
* llvmc: remove dynamic plugins.Mikhail Glushenkov2010-08-152-27/+0
| | | | llvm-svn: 111094
* Remove duplication.Mikhail Glushenkov2009-06-251-41/+1
| | | | | | Factor out common preprocessor-related bits to Makefile.rules. llvm-svn: 74153
* Make llvmc work again.Mikhail Glushenkov2009-06-231-2/+33
| | | | | | | | | | 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
* Remove support for building LLVM libraries into "relinked" Chris Lattner2009-06-161-2/+2
| | | | | | | | | | 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
* Use LLVMLIBS instead of USEDLIBS.Mikhail Glushenkov2009-03-031-1/+1
| | | | | | | | 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
* Move code from Main.cpp to the include dir.Mikhail Glushenkov2009-03-021-114/+2
| | | | | | | | 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
* Reorganize llvmc code.Mikhail Glushenkov2009-03-028-810/+10
| | | | | | | | | | 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
* Add some comments.Mikhail Glushenkov2009-01-301-1/+5
| | | | llvm-svn: 63364
* Fix 'llvm-config --libs' output.Mikhail Glushenkov2009-01-211-1/+1
| | | | | | | Change the naming scheme for llvmc plugins so that they do not appear in 'llvm-config --libs' output. llvm-svn: 62687
* Make -o a prefix option.Mikhail Glushenkov2009-01-141-1/+1
| | | | | | Both 'llvmc -o file' and 'llvmc -ofile' should work. llvm-svn: 62211
* Add a --check-graph option to llvmc.Mikhail Glushenkov2009-01-092-4/+143
| | | | llvm-svn: 61989
* CMake: Added Tool.cpp to tools/llvmc/driver.Oscar Fuentes2008-12-071-0/+1
| | | | llvm-svn: 60670
* Join tools couldn't be used in the middle of the toolchain.Mikhail Glushenkov2008-12-071-5/+4
| | | | llvm-svn: 60665
* Use (actions) instead of option properties, support external options.Mikhail Glushenkov2008-12-072-67/+89
| | | | | | | Also includes a major refactoring. See documentation for more information. llvm-svn: 60656
* Disallow multiple edges.Mikhail Glushenkov2008-11-261-0/+14
| | | | llvm-svn: 60127
* CMake: llvmc2 is now known as llvmc.Oscar Fuentes2008-11-251-1/+1
| | | | llvm-svn: 60052
* Since the old llvmc was removed, rename llvmc2 to llvmc.Mikhail Glushenkov2008-11-257-0/+769
llvm-svn: 60048
OpenPOWER on IntegriCloud