aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/SystemUtils.cpp
Commit message (Collapse)AuthorAgeFilesLines
* * Fix file header and nameMisha Brukman2004-06-181-8/+8
| | | | | | | * Order #includes alphabetically git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14234 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the machine-independent method of querying the page size.Misha Brukman2004-06-181-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14233 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spelling, trim empty space, tighten up function header comment.Misha Brukman2004-06-021-10/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13940 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13871 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new function for the JIT. libsupport is now the only library thatChris Lattner2004-05-281-1/+53
| | | | | | | includes mman.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13870 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to make libSupport build on systems that don't have the wait syscall.Chris Lattner2004-05-271-30/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13806 91177308-0d34-0410-b5e6-96231b3b80d8
* 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 :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12978 91177308-0d34-0410-b5e6-96231b3b80d8
* Add autoconf support for isStandardOutAConsole ().Brian Gaeke2004-04-021-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12638 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new function, autoconf support required thoChris Lattner2004-04-021-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12600 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove config wrapper around <cerrno>Chris Lattner2004-01-101-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10747 91177308-0d34-0410-b5e6-96231b3b80d8
* Finegrainify namespacificationChris Lattner2003-12-141-15/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10464 91177308-0d34-0410-b5e6-96231b3b80d8
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9298 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix up error message.Brian Gaeke2003-10-151-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9139 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed space issues, code alignment, tabs -> spaces.Misha Brukman2003-09-291-11/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8755 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8585 91177308-0d34-0410-b5e6-96231b3b80d8
* 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... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8577 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed spelling & grammar.Misha Brukman2003-09-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8559 91177308-0d34-0410-b5e6-96231b3b80d8
* Doxygen-ify the comments by using '///' instead of '//'.Misha Brukman2003-08-071-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7694 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove references to `bugpoint' from the now-generic system utilities.Misha Brukman2003-08-071-7/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7693 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved removeFile() and getUniqueFilename() into FileUtilities.Misha Brukman2003-08-071-36/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7691 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the C++, more portable, deleterChris Lattner2003-08-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7483 91177308-0d34-0410-b5e6-96231b3b80d8
* The word `separate' only has one `e'.Misha Brukman2003-07-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7173 91177308-0d34-0410-b5e6-96231b3b80d8
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-301-6/+6
| | | | | | | system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7014 91177308-0d34-0410-b5e6-96231b3b80d8
* Actually, change it to use explicit new/delete, which is more likely to beChris Lattner2003-06-161-6/+7
| | | | | | | optimized INTO an alloca git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6727 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove usage of allocaChris Lattner2003-06-161-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6726 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6723 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build problem on sparcChris Lattner2003-01-291-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5428 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compilation on GCC 3.2Chris Lattner2002-12-241-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5136 91177308-0d34-0410-b5e6-96231b3b80d8
* New files for miscompilation detectionChris Lattner2002-12-231-0/+189
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5120 91177308-0d34-0410-b5e6-96231b3b80d8