summaryrefslogtreecommitdiff
path: root/tools/llvmc
Commit message (Collapse)AuthorAge
* This void is implicit in C++.Dan Gohman2009-08-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78848 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-ld has a new option called -b to specify the name of bitcode output ↵Sanjiv Gupta2009-08-06
| | | | | | file, use that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78282 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert more tools code from cerr and cout to errs() and outs().Dan Gohman2009-07-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76070 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a fixme for platform specific GetDirSeparator().Sanjiv Gupta2009-07-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75461 91177308-0d34-0410-b5e6-96231b3b80d8
* allow mcc16 users to specify --save-temps even though it is hidden by mcc16.Sanjiv Gupta2009-07-13
| | | | | | | link libstd.so with llvm-ld by default with all the programs user is trying to build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75460 91177308-0d34-0410-b5e6-96231b3b80d8
* Update documentation.Mikhail Glushenkov2009-07-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75375 91177308-0d34-0410-b5e6-96231b3b80d8
* Erase the temp dir before starting.Sanjiv Gupta2009-07-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75367 91177308-0d34-0410-b5e6-96231b3b80d8
* Link std.lib (.bc code) with llvm-ld.Sanjiv Gupta2009-07-10
| | | | | | | Link devices.lib (processor specific variables) with mplink. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75263 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation update.Mikhail Glushenkov2009-07-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75166 91177308-0d34-0410-b5e6-96231b3b80d8
* We don't need to set SaveTemps here.Mikhail Glushenkov2009-07-09
| | | | | | '--temp-dir' always overrides 'save-temps'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75165 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust comment.Mikhail Glushenkov2009-07-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75164 91177308-0d34-0410-b5e6-96231b3b80d8
* By default -t is always on for mcc16 and it uses ./tmp-objs as the temp ↵Sanjiv Gupta2009-07-09
| | | | | | directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75155 91177308-0d34-0410-b5e6-96231b3b80d8
* Added few more options to individual tools.Sanjiv Gupta2009-07-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75120 91177308-0d34-0410-b5e6-96231b3b80d8
* Return dir separator as per platform.Sanjiv Gupta2009-07-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75119 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation update.Mikhail Glushenkov2009-07-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74913 91177308-0d34-0410-b5e6-96231b3b80d8
* Show how to modify built-in options.Mikhail Glushenkov2009-07-07
| | | | | | | Sanjiv complained about the need to maintain local changes to lib/CompilerDriver. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74912 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation update.Mikhail Glushenkov2009-07-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74907 91177308-0d34-0410-b5e6-96231b3b80d8
* Prefix bin dir to executables.Sanjiv Gupta2009-07-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74713 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed handling of -c option.wqSanjiv Gupta2009-07-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74711 91177308-0d34-0410-b5e6-96231b3b80d8
* Executables will be at InstallDir/bin directory. Std header files will be at ↵Sanjiv Gupta2009-07-01
| | | | | | InstallDir/include, libs will be at InstallDir/lib. Define hooks for these and use them in the options for various tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74611 91177308-0d34-0410-b5e6-96231b3b80d8
* Clang is now production quality (at least for C).Mikhail Glushenkov2009-06-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74484 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a way to access argv[0] in hooks.Mikhail Glushenkov2009-06-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74483 91177308-0d34-0410-b5e6-96231b3b80d8
* Update documentation.Mikhail Glushenkov2009-06-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74191 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove duplication.Mikhail Glushenkov2009-06-25
| | | | | | Factor out common preprocessor-related bits to Makefile.rules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74153 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporary copy-pasto to make examples compile.Mikhail Glushenkov2009-06-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74001 91177308-0d34-0410-b5e6-96231b3b80d8
* Make llvmc work again.Mikhail Glushenkov2009-06-23
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74000 91177308-0d34-0410-b5e6-96231b3b80d8
* Another small documentation update.Mikhail Glushenkov2009-06-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73596 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove support for building LLVM libraries into "relinked" Chris Lattner2009-06-16
| | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73579 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation update.Mikhail Glushenkov2009-06-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73448 91177308-0d34-0410-b5e6-96231b3b80d8
* A basic PIC16 toolchain driver.Mikhail Glushenkov2009-06-07
| | | | | | Nice addition to the examples and also a starting point for Sanjiv to work on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73013 91177308-0d34-0410-b5e6-96231b3b80d8
* The 'forward_as' property did not use its second argument.Mikhail Glushenkov2009-05-06
| | | | | | See PR4159 for details. Patch by Martin Nowack! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71054 91177308-0d34-0410-b5e6-96231b3b80d8
* Support --with-llvmgccdir and friends in llvmc, take 2.Mikhail Glushenkov2009-04-21
| | | | | | | | | Should now work when building with objdir != srcdir and when llvm-gcc is not available. Thanks to Duncan Sands for testing and advice! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69700 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 69474 and 69475. They are causing failures during a bootstrap on Darwin.Bill Wendling2009-04-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69478 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a configure check for llvm-gcc (reapply).Mikhail Glushenkov2009-04-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69474 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporarily revert r69438 and r69439. These were causing failures during aBill Wendling2009-04-18
| | | | | | | release build of llvm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69440 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a configure check for llvm-gcc.Mikhail Glushenkov2009-04-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69438 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not pass '-relocation-model=pic' to llc.Mikhail Glushenkov2009-03-31
| | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68127 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation update.Mikhail Glushenkov2009-03-27
| | | | | | Expand a bit on various '--*-graph' options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67836 91177308-0d34-0410-b5e6-96231b3b80d8
* Add example/Skeleton.Mikhail Glushenkov2009-03-03
| | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65944 91177308-0d34-0410-b5e6-96231b3b80d8
* Comment fixes.Mikhail Glushenkov2009-03-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65943 91177308-0d34-0410-b5e6-96231b3b80d8
* Use LLVMLIBS instead of USEDLIBS.Mikhail Glushenkov2009-03-03
| | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65941 91177308-0d34-0410-b5e6-96231b3b80d8
* Move example plugins to the example/ directory.Mikhail Glushenkov2009-03-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65939 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the rules for building plugins to Makefile.rules.Mikhail Glushenkov2009-03-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65827 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build with objdir != srcdir.Mikhail Glushenkov2009-03-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65826 91177308-0d34-0410-b5e6-96231b3b80d8
* Move code from Main.cpp to the include dir.Mikhail Glushenkov2009-03-02
| | | | | | | | 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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65825 91177308-0d34-0410-b5e6-96231b3b80d8
* Reorganize llvmc code.Mikhail Glushenkov2009-03-02
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65821 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some comments.Mikhail Glushenkov2009-01-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63364 91177308-0d34-0410-b5e6-96231b3b80d8
* Add three new option properties.Mikhail Glushenkov2009-01-28
| | | | | | Adds new option properties 'multi_val', 'one_or_more' and 'zero_or_one'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63172 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix 'llvm-config --libs' output.Mikhail Glushenkov2009-01-21
| | | | | | | Change the naming scheme for llvmc plugins so that they do not appear in 'llvm-config --libs' output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62687 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the hook API back to prevent memory leaks.Mikhail Glushenkov2009-01-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62686 91177308-0d34-0410-b5e6-96231b3b80d8