summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/SystemUtils.cpp
Commit message (Collapse)AuthorAgeFilesLines
* For PR495:Reid Spencer2005-07-071-1/+1
| | | | | | | | | | | Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. llvm-svn: 22345
* Why output multiple strings, let the compiler concatenate them for us for freeMisha Brukman2005-05-101-3/+3
| | | | llvm-svn: 21845
* * Order #includes as per style guideMisha Brukman2005-04-221-6/+5
| | | | | | * Combine multiple ``std::cerr <<'' statements into one for simplicity llvm-svn: 21458
* Remove trailing whitespaceMisha Brukman2005-04-211-4/+4
| | | | llvm-svn: 21422
* Make printing a warning message optional in CheckBytecodeOutputToConsole.Reid Spencer2005-01-021-5/+8
| | | | llvm-svn: 19240
* Implement a function to print a warning if bytecode output is to be sent toReid Spencer2005-01-011-8/+10
| | | | | | a terminal/console. llvm-svn: 19237
* For PR351:Reid Spencer2004-12-191-115/+5
| | | | | | | | | * Remove unneeded header files. * Move RedirectFD static function to lib/System/Unix/Program.cpp * Delete RunProgramWithTimeout, now implemented by sys::Program::ExecuteAndWait. RunProgramWithTimeout is now a convenience func. llvm-svn: 19040
* For PR351:Reid Spencer2004-12-141-78/+3
| | | | | | * Remove the ExecWait function. This is now in sys::Program::ExecuteAndWait llvm-svn: 18927
* For PR351:Reid Spencer2004-12-131-64/+13
| | | | | | | * Remove isExecutable as its now implemented by sys::Path::executable * Make FindExecutable a thin veneer over sys::Program::FindProgramByName. llvm-svn: 18918
* For PR351:Reid Spencer2004-12-131-61/+0
| | | | | | | Remove AllocateRWXMemory as it is not used any more in LLVM. The function has been replaced with sys::Memory::AllocateRWX several months ago. llvm-svn: 18912
* Changes For Bug 352Reid Spencer2004-09-011-9/+9
| | | | | | | | 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
* Remove linux/solaris specific stuff.Chris Lattner2004-07-251-1/+3
| | | | llvm-svn: 15195
* Get rid of the printout from the low-level system interfaceChris Lattner2004-07-241-24/+13
| | | | llvm-svn: 15161
* Add support for killing the program if it executes for too long.Chris Lattner2004-07-241-12/+42
| | | | llvm-svn: 15158
* * Fix file header and nameMisha Brukman2004-06-181-8/+8
| | | | | | * Order #includes alphabetically llvm-svn: 14234
* Use the machine-independent method of querying the page size.Misha Brukman2004-06-181-1/+2
| | | | llvm-svn: 14233
* Fix spelling, trim empty space, tighten up function header comment.Misha Brukman2004-06-021-10/+3
| | | | llvm-svn: 13940
* Add support for getting executable memory on Windows. This is actuallyChris Lattner2004-05-281-2/+14
| | | | | | | | | | much easier than on unix. :) The only evil thing is that windows.h defines a macro named FindExecutable, which collides with one of our names. The JIT now runs on windows, but it cannot resolve external functions (like printf) yet. llvm-svn: 13871
* Add a new function for the JIT. libsupport is now the only library thatChris Lattner2004-05-281-1/+53
| | | | | | includes mman.h llvm-svn: 13870
* Changes to make libSupport build on systems that don't have the wait syscall.Chris Lattner2004-05-271-30/+12
| | | | llvm-svn: 13806
* Bugpoint was not correctly capturing stderr! This caused it to "find" bugsChris Lattner2004-04-161-1/+4
| | | | | | that didn't exist, missing the ones that do :( llvm-svn: 12978
* Add autoconf support for isStandardOutAConsole ().Brian Gaeke2004-04-021-1/+5
| | | | llvm-svn: 12638
* Add new function, autoconf support required thoChris Lattner2004-04-021-0/+8
| | | | llvm-svn: 12600
* Remove config wrapper around <cerrno>Chris Lattner2004-01-101-5/+5
| | | | llvm-svn: 10747
* Finegrainify namespacificationChris Lattner2003-12-141-15/+11
| | | | llvm-svn: 10464
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+3
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Fix up error message.Brian Gaeke2003-10-151-1/+2
| | | | llvm-svn: 9139
* Fixed space issues, code alignment, tabs -> spaces.Misha Brukman2003-09-291-11/+11
| | | | llvm-svn: 8755
* In ExecWait(), made the child process exit if it can't execve() the newJohn Criswell2003-09-171-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 specifiedJohn Criswell2003-09-171-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
* Fixed spelling & grammar.Misha Brukman2003-09-161-1/+1
| | | | llvm-svn: 8559
* Doxygen-ify the comments by using '///' instead of '//'.Misha Brukman2003-08-071-5/+5
| | | | llvm-svn: 7694
* Remove references to `bugpoint' from the now-generic system utilities.Misha Brukman2003-08-071-7/+8
| | | | llvm-svn: 7693
* Moved removeFile() and getUniqueFilename() into FileUtilities.Misha Brukman2003-08-071-36/+1
| | | | llvm-svn: 7691
* Use the C++, more portable, deleterChris Lattner2003-08-011-1/+1
| | | | llvm-svn: 7483
* The word `separate' only has one `e'.Misha Brukman2003-07-141-1/+1
| | | | llvm-svn: 7173
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-301-6/+6
| | | | | | system. llvm-svn: 7014
* Actually, change it to use explicit new/delete, which is more likely to beChris Lattner2003-06-161-6/+7
| | | | | | optimized INTO an alloca llvm-svn: 6727
* Remove usage of allocaChris Lattner2003-06-161-6/+6
| | | | llvm-svn: 6726
* Isolate machine-dependent use of <alloca.h> in "Support/Alloca.h",Brian Gaeke2003-06-161-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 build problem on sparcChris Lattner2003-01-291-1/+2
| | | | llvm-svn: 5428
* Fix compilation on GCC 3.2Chris Lattner2002-12-241-0/+1
| | | | llvm-svn: 5136
* New files for miscompilation detectionChris Lattner2002-12-231-0/+189
llvm-svn: 5120
OpenPOWER on IntegriCloud