Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move support/lib into lib/Support | Chris Lattner | 2003-10-05 | 15 | -2821/+0 |
| | | | | | | Move support/tools into utils llvm-svn: 8878 | ||||
* | Fixed space issues, code alignment, tabs -> spaces. | Misha Brukman | 2003-09-29 | 1 | -11/+11 |
| | | | | llvm-svn: 8755 | ||||
* | Implementation of the abstraction of running our tools + gcc, taken out of | Misha Brukman | 2003-09-29 | 1 | -0/+374 |
| | | | | | | bugpoint for general usage and enjoyment. llvm-svn: 8754 | ||||
* | Moved code from llvm/lib/Support to llvm/support/lib/Support. | John Criswell | 2003-09-29 | 1 | -1/+1 |
| | | | | llvm-svn: 8735 | ||||
* | In ExecWait(), made the child process exit if it can't execve() the new | John Criswell | 2003-09-17 | 1 | -13/+23 |
| | | | | | | | | program. Added the use of const (which compiles and is hopefully correct). Added comments. llvm-svn: 8585 | ||||
* | Added the ExecWait() function. It executes a program with the specified | John Criswell | 2003-09-17 | 1 | -0/+98 |
| | | | | | | | | | arguments and environment. Perhaps it should be merged with the RunProgramWithTimeout function, but I'd want to allow it to inherit the parent process's stdin and stdout. I'll save that for a rainy day... llvm-svn: 8577 | ||||
* | Add missing apostrophe. It's been bugging me for years. | Brian Gaeke | 2003-09-16 | 1 | -1/+1 |
| | | | | | | No really, years. llvm-svn: 8566 | ||||
* | Fixed spelling & grammar. | Misha Brukman | 2003-09-16 | 4 | -4/+4 |
| | | | | llvm-svn: 8559 | ||||
* | Added the MakeFileReadable() method. | John Criswell | 2003-09-02 | 1 | -0/+54 |
| | | | | llvm-svn: 8327 | ||||
* | Added a description of the algorithm. | John Criswell | 2003-09-02 | 1 | -7/+14 |
| | | | | | | Return failure if the chmod() fails. llvm-svn: 8326 | ||||
* | Added the MakeFileExecutable() method. This method takes a filename and | John Criswell | 2003-09-02 | 1 | -0/+50 |
| | | | | | | gives it execute access while respecting the user's umask. llvm-svn: 8324 | ||||
* | Mangle ALL letters that we do not allow, not just a few. | Chris Lattner | 2003-08-24 | 1 | -14/+26 |
| | | | | llvm-svn: 8140 | ||||
* | Initial checkin of ValueHolder helper | Chris Lattner | 2003-08-23 | 1 | -0/+16 |
| | | | | llvm-svn: 8072 | ||||
* | lib/Support/CommandLine.cpp: | Brian Gaeke | 2003-08-15 | 1 | -46/+51 |
| | | | | | | | | | | | | | | | | | Many changes suggested by Chris. It's okay, I'll recover from the emotional damage...maybe someday. :-) Collapse ParseCStringVector into ParseStringVector. Comment it. Make it take a const input. Use std::string::npos instead of -1 (what a mouthful!) Make ParseEnvironmentOptions take const inputs. Check its args at the very beginning. Strdup all the contents of newArgv and free them all at the end. include/Support/CommandLine.h: Constify progName and envVar arguments to ParseEnvironmentOptions(). llvm-svn: 7905 | ||||
* | Add support for reading command line arguments from an environment variable. | Brian Gaeke | 2003-08-14 | 1 | -0/+74 |
| | | | | llvm-svn: 7851 | ||||
* | This file uses stable_sort | Chris Lattner | 2003-08-13 | 1 | -0/+1 |
| | | | | llvm-svn: 7831 | ||||
* | Reenable optimized build | Chris Lattner | 2003-08-12 | 1 | -0/+4 |
| | | | | llvm-svn: 7788 | ||||
* | Add support to the mangler for targets which require _'s on global symbols | Chris Lattner | 2003-08-11 | 1 | -3/+5 |
| | | | | llvm-svn: 7741 | ||||
* | close() requires "unistd.h" . | Misha Brukman | 2003-08-07 | 1 | -0/+1 |
| | | | | llvm-svn: 7695 | ||||
* | Doxygen-ify the comments by using '///' instead of '//'. | Misha Brukman | 2003-08-07 | 1 | -5/+5 |
| | | | | llvm-svn: 7694 | ||||
* | Remove references to `bugpoint' from the now-generic system utilities. | Misha Brukman | 2003-08-07 | 1 | -7/+8 |
| | | | | llvm-svn: 7693 | ||||
* | Moved removeFile() and getUniqueFilename() into FileUtilities. | Misha Brukman | 2003-08-07 | 2 | -36/+36 |
| | | | | llvm-svn: 7691 | ||||
* | Move debug functionality to Debug.cpp/Debug.h | Chris Lattner | 2003-08-01 | 2 | -12/+54 |
| | | | | llvm-svn: 7494 | ||||
* | Describe the value name | Chris Lattner | 2003-08-01 | 1 | -1/+1 |
| | | | | llvm-svn: 7493 | ||||
* | Check in the implementation of the FileUtilities! | Chris Lattner | 2003-08-01 | 1 | -0/+56 |
| | | | | llvm-svn: 7487 | ||||
* | Use the C++, more portable, deleter | Chris Lattner | 2003-08-01 | 1 | -1/+1 |
| | | | | llvm-svn: 7483 | ||||
* | Move #include from a header to here | Chris Lattner | 2003-08-01 | 1 | -0/+1 |
| | | | | llvm-svn: 7480 | ||||
* | Fix the JIT in the Nightly tester. This was not a fun bug to track down. | Chris Lattner | 2003-07-31 | 1 | -2/+14 |
| | | | | | | See the comments in the patch for details. llvm-svn: 7457 | ||||
* | Trivial cleanups: no need to include header twice. Global variable is local ↵ | Chris Lattner | 2003-07-31 | 1 | -3/+1 |
| | | | | | | to file llvm-svn: 7456 | ||||
* | Add support for "named positional arguments" | Chris Lattner | 2003-07-30 | 1 | -15/+34 |
| | | | | llvm-svn: 7421 | ||||
* | The RTLD_GLOBAL flag allows symbols to be globally accessible, which makes | Misha Brukman | 2003-07-28 | 1 | -1/+1 |
| | | | | | | | resolution of symbols in the .so possible (currently assists debugging with bugpoint). llvm-svn: 7366 | ||||
* | Include llvm/Support/Mangler.h first. Don't include <iostream>, <set>, | Brian Gaeke | 2003-07-25 | 1 | -5/+1 |
| | | | | | | <string>, or llvm/Value.h. Move up the inclusion of llvm/Support/Mangler.h. llvm-svn: 7321 | ||||
* | Cleanups: | Brian Gaeke | 2003-07-24 | 1 | -4/+5 |
| | | | | | | | | | Mangler.cpp: Constify parameter to makeNameProper, and use const_iterator. Make Count an unsigned int, and use utostr(). Don't name parameters things that start with underscore. Mangler.h: All of the above, and also: Add Emacs mode-line. Include <set>. llvm-svn: 7301 | ||||
* | Factor out name-mangling from X86/Printer, which is derived from CWriter, | Brian Gaeke | 2003-07-24 | 1 | -0/+83 |
| | | | | | | into this new support class. llvm-svn: 7300 | ||||
* | Simplify code by using ConstantInt::getRawValue instead of checking to see | Chris Lattner | 2003-07-23 | 1 | -4/+1 |
| | | | | | | whether the constant is signed or unsigned, then casting llvm-svn: 7252 | ||||
* | The word `separate' only has one `e'. | Misha Brukman | 2003-07-14 | 1 | -1/+1 |
| | | | | llvm-svn: 7173 | ||||
* | Fixed grammatical error. | Misha Brukman | 2003-07-10 | 1 | -1/+1 |
| | | | | llvm-svn: 7160 | ||||
* | Lowercase versions of `occurrence' need to be spelled correctly, too. | Misha Brukman | 2003-07-10 | 1 | -15/+15 |
| | | | | llvm-svn: 7142 | ||||
* | `Occurrence' has no `a' and the `r' is doubled. | Misha Brukman | 2003-07-10 | 1 | -21/+21 |
| | | | | llvm-svn: 7140 | ||||
* | Merged in autoconf branch. This provides configuration via the autoconf | John Criswell | 2003-06-30 | 4 | -18/+21 |
| | | | | | | system. llvm-svn: 7014 | ||||
* | Add support for 'unsigned' command line arguments | Chris Lattner | 2003-06-28 | 1 | -2/+13 |
| | | | | llvm-svn: 6928 | ||||
* | Remove usage of sys/unistd.h | Chris Lattner | 2003-06-19 | 1 | -1/+0 |
| | | | | llvm-svn: 6788 | ||||
* | Put ifdefs around use of malloc.h/mallinfo, which isn't available on FreeBSD. | Brian Gaeke | 2003-06-17 | 1 | -2/+5 |
| | | | | llvm-svn: 6750 | ||||
* | Actually, change it to use explicit new/delete, which is more likely to be | Chris Lattner | 2003-06-16 | 1 | -6/+7 |
| | | | | | | optimized INTO an alloca llvm-svn: 6727 | ||||
* | Remove usage of alloca | Chris Lattner | 2003-06-16 | 1 | -6/+6 |
| | | | | llvm-svn: 6726 | ||||
* | Isolate machine-dependent use of <alloca.h> in "Support/Alloca.h", | Brian Gaeke | 2003-06-16 | 1 | -1/+1 |
| | | | | | | | so that we can easily change its use to be conditional on the result of an autoconf test later. llvm-svn: 6723 | ||||
* | Fix compilation problem with some versions of G++ | Chris Lattner | 2003-06-06 | 1 | -1/+1 |
| | | | | llvm-svn: 6660 | ||||
* | Fix problem with perror | Chris Lattner | 2003-06-06 | 1 | -0/+1 |
| | | | | llvm-svn: 6659 | ||||
* | Make _sure_ we don't go into an infinite loop if a signal happens! | Chris Lattner | 2003-05-27 | 1 | -0/+1 |
| | | | | llvm-svn: 6351 | ||||
* | Remove long dead code | Chris Lattner | 2003-05-22 | 1 | -46/+0 |
| | | | | llvm-svn: 6307 |