summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CompilerDriver
Commit message (Collapse)AuthorAgeFilesLines
* Print a space after the colon.Mikhail Glushenkov2010-05-201-2/+2
| | | | llvm-svn: 104279
* llvmc: Make segfault detection work on Win32.Mikhail Glushenkov2010-05-201-21/+28
| | | | llvm-svn: 104261
* llvmc: report an error if a child process segfaults.Mikhail Glushenkov2010-05-191-1/+14
| | | | llvm-svn: 104145
* Use FindExecutable as a fall-back search method.Mikhail Glushenkov2010-03-051-2/+13
| | | | | | Allows us to find executables that are in the same directory. llvm-svn: 97786
* Input files with empty suffixes must be passed to linker.Mikhail Glushenkov2010-02-231-1/+2
| | | | llvm-svn: 96927
* Temporary disable response files.Mikhail Glushenkov2010-02-231-1/+2
| | | | | | They are giving us problems on Mac. llvm-svn: 96925
* Implement order-preserving option forwarding.Mikhail Glushenkov2010-02-231-1/+13
| | | | | | | | | | | Needed to correctly handle things like 'llvmc -framework Foo foo.o -framework Bar bar.o' - before this commit all '-framework' options would've been grouped together in the beginning. Due to our dependence on CommandLine this turned out to be a giant hack; we will migrate away from CommandLine eventually. llvm-svn: 96922
* Correct option forwarding: initial implementation.Mikhail Glushenkov2010-02-231-0/+9
| | | | | | Does not work, but the infrastructure changes are in place. llvm-svn: 96920
* New experimental/undocumented feature: 'works_on_empty'.Mikhail Glushenkov2010-02-232-5/+1
| | | | | | For now, just enough support to make -filelist work. llvm-svn: 96918
* Better error message.Mikhail Glushenkov2010-01-261-2/+4
| | | | llvm-svn: 94544
* mark some libraries that currently require RTTI.Chris Lattner2010-01-241-0/+1
| | | | llvm-svn: 94377
* Make Path use StringRef instead of std::string where possible.Jeffrey Yasskin2009-12-171-1/+1
| | | | llvm-svn: 91620
* Fix last DOTGraphTraits problems in CompilationGraph.Tobias Grosser2009-11-301-0/+1
| | | | llvm-svn: 90136
* Remove forgotten ShortNames in Trie and CompilationGraphTobias Grosser2009-11-301-2/+1
| | | | llvm-svn: 90135
* Remove dead code.Rafael Espindola2009-11-111-5/+0
| | | | llvm-svn: 86802
* llvmc: Add a '-time' option.Mikhail Glushenkov2009-11-073-5/+48
| | | | llvm-svn: 86348
* First draft of the OptionPreprocessor.Mikhail Glushenkov2009-10-172-12/+10
| | | | | | More to follow... llvm-svn: 84352
* convert LoopInfo.h and GraphWriter.h to use raw_ostreamChris Lattner2009-08-231-3/+3
| | | | llvm-svn: 79836
* Delete the temp dir even when '--temp-dir' is specified.Mikhail Glushenkov2009-07-111-2/+1
| | | | llvm-svn: 75374
* Remove some duplication.Mikhail Glushenkov2009-07-091-17/+17
| | | | llvm-svn: 75163
* Rename -t to --temp-dir.Mikhail Glushenkov2009-07-091-2/+2
| | | | | | | -t is already used by gcc in the meaning 'ld -t' (trace). The Base plugin may want to emulate this behaviour. llvm-svn: 75162
* Fixed handling of -t. It gets the prirority for temp dir name.Sanjiv Gupta2009-07-091-0/+1
| | | | llvm-svn: 75154
* Missing )Bill Wendling2009-07-091-1/+1
| | | | llvm-svn: 75126
* Add a -t="dir" option to the driver. This can be used to specify the ↵Sanjiv Gupta2009-07-092-0/+11
| | | | | | directory to be used as TempDir if somebody doesn't want to use the standard /tmp. llvm-svn: 75121
* Have scoped mutexes take referenes instead of pointers.Owen Anderson2009-07-071-4/+4
| | | | llvm-svn: 74931
* Reverting back the changes checked-in accidently.Sanjiv Gupta2009-07-062-13/+1
| | | | llvm-svn: 74823
* Implement _CONFIG macro to allow users to se to configuration settings on ↵Sanjiv Gupta2009-07-062-1/+13
| | | | | | | | | | | the part. Implement _section macro to allow users to place objects in specific sections. Implement _address macro to allow users to place objects at a particular address. Placing objects at a memory address: crate a unique section name from varname, address, object type and put that section at specified address. Mark this section a full (size = banksize) so that other objects do not compete for it while placing objects to sections in AsmPrinter. llvm-svn: 74822
* Make -save-temps=obj play better with -o.Mikhail Glushenkov2009-07-042-1/+2
| | | | | | | Use only the *dirname* of the pathname given to -o, so that -o can still be used to name the output executable. This is more like what GCC 4.5 does. llvm-svn: 74790
* LLVMC can be now compiled w/o dynamic plugin support.Mikhail Glushenkov2009-07-042-0/+7
| | | | | | Controlled via the --enable-llvmc-dynamic-plugins option. llvm-svn: 74784
* Add --enable-llvmc-dynamic configure option.Mikhail Glushenkov2009-07-031-4/+13
| | | | | | | Controls whether libCompilerDriver should be loaded dynamically. By default this is needed only on Win32, to make dynamic plugins work. llvm-svn: 74759
* #include <iostream> is forbidden. Remove it in favor of raw_ostream.Bill Wendling2009-06-303-27/+24
| | | | llvm-svn: 74507
* Add a way to access argv[0] in hooks.Mikhail Glushenkov2009-06-301-0/+5
| | | | llvm-svn: 74483
* Move the driver entry point out of Main.inc.Mikhail Glushenkov2009-06-301-0/+125
| | | | llvm-svn: 74482
* Fix install of libCompilerDriver dynamic library to not copy on every build.Daniel Dunbar2009-06-291-4/+5
| | | | llvm-svn: 74473
* Make dynamic LLVMC plugins work on Windows (finally!).Mikhail Glushenkov2009-06-293-2/+74
| | | | | | | | Implemented by making lib/CompilerDriver a shared library that holds all the global static data (CommandLine options, plugin registry) that we unfortunately have to live with. llvm-svn: 74417
* Guards for the compiler driver plugin list.Owen Anderson2009-06-261-1/+7
| | | | llvm-svn: 74230
* Make -save-temps behave like in GCC 4.5.Mikhail Glushenkov2009-06-253-14/+6
| | | | | | | | | | The -save-temps option now behaves like described in GCC 4.5 release notes (you can specify output directory for temporary files with -save-temps=obj -o $DIRNAME). I do not have GCC 4.5 installed, so if there are any inconsistencies between llvmc and GCC in the implementation of this feature, please let me know. llvm-svn: 74190
* Get rid of the global CFGOnly flag by threading a ShortNames parameters ↵Owen Anderson2009-06-241-1/+2
| | | | | | | | through the GraphViz rendering code. Update other uses in the codebase for this change. llvm-svn: 74084
* -write-graph now can be used with -o.Mikhail Glushenkov2009-03-271-8/+5
| | | | | | Makes it possible to set the output file name. llvm-svn: 67835
* Fix misc. small issues with debug visualization.Mikhail Glushenkov2009-03-261-1/+6
| | | | | | | Detailed bug report: http://llvm.org/bugs/show_bug.cgi?id=3873 llvm-svn: 67768
* Reorganize llvmc code.Mikhail Glushenkov2009-03-026-0/+788
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
OpenPOWER on IntegriCloud