aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CompilerDriver
Commit message (Collapse)AuthorAgeFilesLines
* Delete the temp dir even when '--temp-dir' is specified.Mikhail Glushenkov2009-07-111-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75374 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some duplication.Mikhail Glushenkov2009-07-091-17/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75163 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75162 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed handling of -t. It gets the prirority for temp dir name.Sanjiv Gupta2009-07-091-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75154 91177308-0d34-0410-b5e6-96231b3b80d8
* Missing )Bill Wendling2009-07-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75126 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75121 91177308-0d34-0410-b5e6-96231b3b80d8
* Have scoped mutexes take referenes instead of pointers.Owen Anderson2009-07-071-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74931 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverting back the changes checked-in accidently.Sanjiv Gupta2009-07-062-13/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74823 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74822 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74790 91177308-0d34-0410-b5e6-96231b3b80d8
* LLVMC can be now compiled w/o dynamic plugin support.Mikhail Glushenkov2009-07-042-0/+7
| | | | | | Controlled via the --enable-llvmc-dynamic-plugins option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74784 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74759 91177308-0d34-0410-b5e6-96231b3b80d8
* #include <iostream> is forbidden. Remove it in favor of raw_ostream.Bill Wendling2009-06-303-27/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74507 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a way to access argv[0] in hooks.Mikhail Glushenkov2009-06-301-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74483 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the driver entry point out of Main.inc.Mikhail Glushenkov2009-06-301-0/+125
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74482 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix install of libCompilerDriver dynamic library to not copy on every build.Daniel Dunbar2009-06-291-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74473 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74417 91177308-0d34-0410-b5e6-96231b3b80d8
* Guards for the compiler driver plugin list.Owen Anderson2009-06-261-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74230 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74190 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74084 91177308-0d34-0410-b5e6-96231b3b80d8
* -write-graph now can be used with -o.Mikhail Glushenkov2009-03-271-8/+5
| | | | | | Makes it possible to set the output file name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67835 91177308-0d34-0410-b5e6-96231b3b80d8
* 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67768 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65821 91177308-0d34-0410-b5e6-96231b3b80d8