Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement PR679: | Reid Spencer | 2005-12-22 | 1 | -5/+8 |
| | | | | | | | | | | * Changed the -rpath option from cl::opt to cl::list * Changed the interface to GenerateNative to take a std::vector<std::string> instead of just a std::string * Changed GenerateNative to generate multiple -Wl,-rpath, options to be passed to gcc. llvm-svn: 24930 | ||||
* | add a hack that fixes: | Chris Lattner | 2005-11-03 | 1 | -1/+4 |
| | | | | | | | | | | llvm-gcc main.c -Wl,-native -o a.out -g This is important because it used by many configure scripts. John, please pull this onto the 1.6 branch. llvm-svn: 24163 | ||||
* | Fix PR637 | Chris Lattner | 2005-10-18 | 1 | -6/+4 |
| | | | | llvm-svn: 23784 | ||||
* | Speed up isBytecodeLPath from 20s to .01s in common cases. This makes -native | Chris Lattner | 2005-09-23 | 1 | -17/+11 |
| | | | | | | | not completely painful to use. Once we decide a directory has a bytecode library, we know it this function returns true, no need to scan entire directories. llvm-svn: 23405 | ||||
* | 1. Do not use .c_str() to keep a persistent handle on a temporary string. | Chris Lattner | 2005-09-23 | 1 | -23/+32 |
| | | | | | | | | 2. Concatenate -lfoo and -L/bar options into a single option instead of passing "-L /bar" (for example) which doesn't work on Darwin. 3. Send -v output to stderr instead of stdout llvm-svn: 23404 | ||||
* | Pass -export-dynamic to gcc when compiling with -native and the link is | Chris Lattner | 2005-08-02 | 1 | -4/+5 |
| | | | | | | | | performed with -export-dynamic (aka. -disable-internalize). Patch by Nicholas Riley! llvm-svn: 22601 | ||||
* | Make sure we don't error out if an invalid path is used, just simply | Reid Spencer | 2005-07-08 | 1 | -1/+12 |
| | | | | | | exit from isBytecodeLPath with "false". llvm-svn: 22360 | ||||
* | For PR495: | Reid Spencer | 2005-07-07 | 1 | -9/+5 |
| | | | | | | | | | | | | | | | | | | | | | Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-22 | 1 | -6/+6 |
| | | | | llvm-svn: 21428 | ||||
* | Eliminate trailing spaces at end-of-line | Misha Brukman | 2005-04-20 | 1 | -7/+7 |
| | | | | llvm-svn: 21372 | ||||
* | * Print commands as we execute them with `-v' | Misha Brukman | 2005-04-20 | 1 | -4/+16 |
| | | | | | | | * Add option `-save-temps' Patch contributed by Markus Oberhumer. llvm-svn: 21367 | ||||
* | The first argument to ExecuteAndWait should be the program name, but pointed | Chris Lattner | 2005-04-10 | 1 | -1/+4 |
| | | | | | | out by Markus F.X.J. Oberhumer. llvm-svn: 21211 | ||||
* | Changes to enable creation of native executables directly from gccld and to | Reid Spencer | 2005-02-28 | 1 | -2/+89 |
| | | | | | | | ensure that -L paths don't contain both bytecode and native libraries. This patch contributed by Adam Treat. llvm-svn: 20370 | ||||
* | Make sure to null terminate argument lists! | Chris Lattner | 2005-02-13 | 1 | -0/+3 |
| | | | | llvm-svn: 20166 | ||||
* | For PR351: | Reid Spencer | 2004-12-19 | 1 | -14/+16 |
| | | | | | | * Support changes in sys::Program::ExecuteAndWait interface llvm-svn: 19044 | ||||
* | For PR351: | Reid Spencer | 2004-12-14 | 1 | -56/+29 |
| | | | | | | | * Change ExecWait calls to sys::Program::ExecuteAndWait * Convert to use sys::Path where it makes sense llvm-svn: 18929 | ||||
* | This pass is no longer needed. | Chris Lattner | 2004-12-10 | 1 | -1/+0 |
| | | | | llvm-svn: 18782 | ||||
* | Turn on ipsccp by default instead of simple IPCP | Chris Lattner | 2004-12-10 | 1 | -1/+2 |
| | | | | llvm-svn: 18753 | ||||
* | Recognize --strip-all as a synonym for -s. | Chris Lattner | 2004-12-02 | 1 | -7/+8 |
| | | | | | | Add -S and --strip-debug option support. llvm-svn: 18441 | ||||
* | -disable-opt is not -O0, it's okay for it to disable internalize. | Chris Lattner | 2004-11-17 | 1 | -7/+7 |
| | | | | llvm-svn: 17911 | ||||
* | Even with -disable-opt we should still internalize and strip if requested. | Chris Lattner | 2004-11-16 | 1 | -13/+13 |
| | | | | llvm-svn: 17903 | ||||
* | Linker.h has a new home. | Reid Spencer | 2004-11-14 | 1 | -1/+1 |
| | | | | llvm-svn: 17801 | ||||
* | Don't miss global optimizations because we run before the inliner | Chris Lattner | 2004-10-11 | 1 | -0/+1 |
| | | | | llvm-svn: 16913 | ||||
* | Rename pass | Chris Lattner | 2004-10-07 | 1 | -3/+2 |
| | | | | llvm-svn: 16801 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -2/+2 |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | ||||
* | This pass has proven its metal, remove -disable option. | Chris Lattner | 2004-08-02 | 1 | -5/+1 |
| | | | | llvm-svn: 15411 | ||||
* | Run DSE at link-time, and turn on an IP alias analysis by default in gccld! | Chris Lattner | 2004-07-27 | 1 | -1/+7 |
| | | | | | | The -disable-globalsmodref is temporary and will be removed eventually. llvm-svn: 15268 | ||||
* | Linker.h moved to include/llvm/Support | Misha Brukman | 2004-06-23 | 1 | -1/+1 |
| | | | | llvm-svn: 14351 | ||||
* | Move some functions out of gccld.cpp to GenerateCode.cpp. This allows us | Chris Lattner | 2004-06-02 | 1 | -0/+79 |
| | | | | | | | to reduce the inter-file interface in the gccld tool and gets some uninteresting code out of gccld.cpp. llvm-svn: 13942 | ||||
* | Add a couple more IPO's | Chris Lattner | 2004-04-12 | 1 | -0/+3 |
| | | | | llvm-svn: 12863 | ||||
* | Disable strict alias analysis in the backend c compiler, as the code we | Chris Lattner | 2004-04-08 | 1 | -0/+1 |
| | | | | | | generate is not TBAA safe. llvm-svn: 12774 | ||||
* | Revert previous patch, I'm a moron :) | Chris Lattner | 2004-04-08 | 1 | -6/+5 |
| | | | | llvm-svn: 12773 | ||||
* | Right, we break strict aliasing requirements. Make sure to disable strict | Chris Lattner | 2004-04-08 | 1 | -5/+6 |
| | | | | | | aliasing in the C compiler. llvm-svn: 12772 | ||||
* | Minor cleanups | Chris Lattner | 2004-04-06 | 1 | -32/+18 |
| | | | | llvm-svn: 12700 | ||||
* | Add a new gccld -native-cbe option which causes gccld to generate native code | Chris Lattner | 2004-04-06 | 1 | -1/+18 |
| | | | | | | for the application with the C backend instead of the native LLVM code generator llvm-svn: 12698 | ||||
* | Run the new pass in gccld now that it passes all tests | Chris Lattner | 2004-03-07 | 1 | -0/+4 |
| | | | | llvm-svn: 12196 | ||||
* | We have this snazzy link-time optimizer. How about we start using it? This | Chris Lattner | 2004-02-26 | 1 | -2/+6 |
| | | | | | | | removes some cruft from 255.vortex, cleaning up after DAE and IPCP, which do horrible, beautiful, things to vortex. llvm-svn: 11861 | ||||
* | Add a new pass, run internalize first | Chris Lattner | 2004-02-25 | 1 | -7/+11 |
| | | | | llvm-svn: 11839 | ||||
* | Fixed PR#197. The libcrtend library is removed from the library linking list | John Criswell | 2004-01-26 | 1 | -2/+4 |
| | | | | | | when creating native executables. llvm-svn: 10979 | ||||
* | Make sure to verify the result before writing out the bytecode file. Not doing | Chris Lattner | 2004-01-14 | 1 | -0/+3 |
| | | | | | | so can cause obscure errors downstream. llvm-svn: 10840 | ||||
* | The function resolving pass must be run, even if -disable-opt is specified | Chris Lattner | 2003-11-28 | 1 | -6/+6 |
| | | | | llvm-svn: 10250 | ||||
* | For consistency, removed space between function name and left paren in function | Misha Brukman | 2003-11-20 | 1 | -15/+15 |
| | | | | | | call, i.e. [ addPass (...) ] => [ addPass(...) ] llvm-svn: 10105 | ||||
* | Add a -verify option to verify the results of gccld passes. | Brian Gaeke | 2003-11-16 | 1 | -43/+63 |
| | | | | | | Add a -disable-opt option to turn off gccld optimization passes. llvm-svn: 10040 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+5 |
| | | | | llvm-svn: 9903 | ||||
* | Give gccld more guts | Chris Lattner | 2003-11-09 | 1 | -0/+8 |
| | | | | llvm-svn: 9835 | ||||
* | Turn on the inliner by default at link-time | Chris Lattner | 2003-10-24 | 1 | -0/+10 |
| | | | | llvm-svn: 9477 | ||||
* | Turn on the IPCP pass by default. It has passed all of the tests | Chris Lattner | 2003-10-23 | 1 | -0/+3 |
| | | | | llvm-svn: 9435 | ||||
* | fix file header | Chris Lattner | 2003-10-20 | 1 | -1/+0 |
| | | | | llvm-svn: 9294 | ||||
* | Added copyright header to all C++ source files. | John Criswell | 2003-10-20 | 1 | -0/+8 |
| | | | | llvm-svn: 9291 | ||||
* | Doxygen-ified function comments. | Misha Brukman | 2003-09-30 | 1 | -61/+43 |
| | | | | llvm-svn: 8771 |