aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CompilerDriver
AgeCommit message (Collapse)AuthorFilesLines
2009-10-17First draft of the OptionPreprocessor.Mikhail Glushenkov2-12/+10
More to follow... llvm-svn: 84352
2009-08-23convert LoopInfo.h and GraphWriter.h to use raw_ostreamChris Lattner1-3/+3
llvm-svn: 79836
2009-07-11Delete the temp dir even when '--temp-dir' is specified.Mikhail Glushenkov1-2/+1
llvm-svn: 75374
2009-07-09Remove some duplication.Mikhail Glushenkov1-17/+17
llvm-svn: 75163
2009-07-09Rename -t to --temp-dir.Mikhail Glushenkov1-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
2009-07-09Fixed handling of -t. It gets the prirority for temp dir name.Sanjiv Gupta1-0/+1
llvm-svn: 75154
2009-07-09Missing )Bill Wendling1-1/+1
llvm-svn: 75126
2009-07-09Add a -t="dir" option to the driver. This can be used to specify the ↵Sanjiv Gupta2-0/+11
directory to be used as TempDir if somebody doesn't want to use the standard /tmp. llvm-svn: 75121
2009-07-07Have scoped mutexes take referenes instead of pointers.Owen Anderson1-4/+4
llvm-svn: 74931
2009-07-06Reverting back the changes checked-in accidently.Sanjiv Gupta2-13/+1
llvm-svn: 74823
2009-07-06Implement _CONFIG macro to allow users to se to configuration settings on ↵Sanjiv Gupta2-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
2009-07-04Make -save-temps=obj play better with -o.Mikhail Glushenkov2-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
2009-07-04LLVMC can be now compiled w/o dynamic plugin support.Mikhail Glushenkov2-0/+7
Controlled via the --enable-llvmc-dynamic-plugins option. llvm-svn: 74784
2009-07-03Add --enable-llvmc-dynamic configure option.Mikhail Glushenkov1-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
2009-06-30#include <iostream> is forbidden. Remove it in favor of raw_ostream.Bill Wendling3-27/+24
llvm-svn: 74507
2009-06-30Add a way to access argv[0] in hooks.Mikhail Glushenkov1-0/+5
llvm-svn: 74483
2009-06-30Move the driver entry point out of Main.inc.Mikhail Glushenkov1-0/+125
llvm-svn: 74482
2009-06-29Fix install of libCompilerDriver dynamic library to not copy on every build.Daniel Dunbar1-4/+5
llvm-svn: 74473
2009-06-29Make dynamic LLVMC plugins work on Windows (finally!).Mikhail Glushenkov3-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
2009-06-26Guards for the compiler driver plugin list.Owen Anderson1-1/+7
llvm-svn: 74230
2009-06-25Make -save-temps behave like in GCC 4.5.Mikhail Glushenkov3-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
2009-06-24Get rid of the global CFGOnly flag by threading a ShortNames parameters ↵Owen Anderson1-1/+2
through the GraphViz rendering code. Update other uses in the codebase for this change. llvm-svn: 74084
2009-03-27-write-graph now can be used with -o.Mikhail Glushenkov1-8/+5
Makes it possible to set the output file name. llvm-svn: 67835
2009-03-26Fix misc. small issues with debug visualization.Mikhail Glushenkov1-1/+6
Detailed bug report: http://llvm.org/bugs/show_bug.cgi?id=3873 llvm-svn: 67768
2009-03-02Reorganize llvmc code.Mikhail Glushenkov6-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