summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System
Commit message (Collapse)AuthorAgeFilesLines
* Fix mingw32 buildAnton Korobeynikov2007-03-191-0/+1
| | | | llvm-svn: 35177
* Unbreak mingw32 buildAnton Korobeynikov2007-03-091-0/+8
| | | | llvm-svn: 35042
* Implement PR1240Anton Korobeynikov2007-03-061-0/+10
| | | | llvm-svn: 34959
* Ensure 64-bit correctness.Jeff Cohen2007-03-051-1/+1
| | | | llvm-svn: 34923
* Implement memoryLimit on Windows.Jeff Cohen2007-03-052-6/+52
| | | | llvm-svn: 34922
* fix typoChris Lattner2007-03-041-2/+2
| | | | llvm-svn: 34906
* Add possibility to set memory limit for binaries run via libSystem. ThisAnton Korobeynikov2007-02-162-0/+31
| | | | | | is especially needed for bugpoint. This partly implements PR688 llvm-svn: 34349
* silence warningChris Lattner2007-02-011-0/+1
| | | | llvm-svn: 33746
* Moved disassembler to libSystemAnton Korobeynikov2007-01-231-0/+65
| | | | llvm-svn: 33461
* For PR808:Reid Spencer2007-01-201-1/+1
| | | | | | NetBSD also doesn't have pthread_mutexattr_setpshared llvm-svn: 33406
* Unbreak Darwin.Reid Spencer2007-01-191-3/+0
| | | | llvm-svn: 33375
* Help the lli interpreter find the stderr/stdin/stdout symbols. These areReid Spencer2007-01-191-3/+19
| | | | | | | needed for output to be generated. On Linux these are both global vars and macro definitions so we have to special case Linux. llvm-svn: 33374
* Handle each of stderr/stdin/stdout separately.Reid Spencer2007-01-191-0/+4
| | | | llvm-svn: 33373
* Avoid taking the address of a macro by checking to see if stdin is definedReid Spencer2007-01-111-0/+4
| | | | | | or not. This allows DynamicLibrary.cpp to compile on Darwin. llvm-svn: 33064
* Allow LLI, in interpreter mode, to find stdin, stdout, and stderr. This isReid Spencer2007-01-101-2/+12
| | | | | | a bit of a hack but it lets some of the llvm-test programs run. llvm-svn: 33058
* Partly fixed JITing on mingw32 platform. The support is not full due toAnton Korobeynikov2006-12-191-0/+25
| | | | | | absence of dllimport JIT codegen. llvm-svn: 32673
* Eliminate "control reaches end of non-void function" warnings.Reid Spencer2006-12-051-0/+3
| | | | llvm-svn: 32225
* Unbreak VC++ build.Jeff Cohen2006-11-051-0/+5
| | | | llvm-svn: 31464
* Get rid of unused variable.Reid Spencer2006-11-021-1/+1
| | | | llvm-svn: 31373
* Use new config.h macroChris Lattner2006-09-141-2/+2
| | | | llvm-svn: 30321
* On Mac OS/X, make Process::PreventCoreFiles disable crash reporter forChris Lattner2006-09-141-7/+29
| | | | | | | the process in addition to disabling core file emission. This speeds up bugpoint on default-configured macs by several orders of magnitude. llvm-svn: 30317
* - Fixed broken Win32 buildAnton Korobeynikov2006-09-014-20/+24
| | | | | | - Removed warning about clobbered parameter in Bytecode/Reader llvm-svn: 30026
* Guess what happens when asserts are disabled. :(Chris Lattner2006-08-301-1/+2
| | | | | | Also, the assert could never fire due to || instead of &&. llvm-svn: 29977
* simplify AnalysisGroup registration, eliminating one typeid call.Chris Lattner2006-08-281-1/+1
| | | | llvm-svn: 29932
* For PR797:Reid Spencer2006-08-259-76/+67
| | | | | | | Make the Win32 code exception free (untested/uncompiled) which forced some interface changes which had ripple effect. This should be the last of 797. llvm-svn: 29884
* For PR797:Reid Spencer2006-08-252-8/+7
| | | | | | | | | | | | | | | Final commit for this bug. This removes the last EH holdouts in LLVM and turns off exception support by using the -fno-exceptions option. This leads to the following reduction in library and executable sizes: DEBUG BUILD RELEASE BUILD before after delta before after delta lib 162,328K 157,616K 4,712 17,864K 16,416K 1,448K bin 571,444K 557,156K 14,288 63,296K 56,996K 6,300K Debug Improvement: 19,000K (2.59%) Release Improvement: 7,748K (9.55%) llvm-svn: 29882
* For PR797:Reid Spencer2006-08-241-42/+37
| | | | | | | Adjust implementation to match the new interface after exception handling was removed in the Unix verison. NOTE: this hasn't been compiled yet! llvm-svn: 29858
* Turn off exception handling for this library. It no longer throws norReid Spencer2006-08-231-1/+0
| | | | | | handles exceptions. llvm-svn: 29847
* For PR797:Reid Spencer2006-08-233-109/+63
| | | | | | | Final removal of exceptions from lib/System and adjustment of users to accommodate. llvm-svn: 29846
* For PR797:Reid Spencer2006-08-234-41/+30
| | | | | | | Eliminate exception throwing from Path::renamePathOnDisk and adjust its users correspondingly. llvm-svn: 29843
* For PR797:Reid Spencer2006-08-232-11/+18
| | | | | | Remove exception throwing from Path::getDirectoryContents and its users. llvm-svn: 29841
* For PR797:Reid Spencer2006-08-231-15/+22
| | | | | | | Remove exceptions from the Path::create*OnDisk methods. Update their users to handle error messages via arguments and result codes. llvm-svn: 29840
* For PR797:Reid Spencer2006-08-221-5/+10
| | | | | | Adjust code to compensate for Path class interface change. llvm-svn: 29837
* For PR797:Reid Spencer2006-08-221-9/+18
| | | | | | Change the Path::make*OnDisk methods exception free and adjust their usage. llvm-svn: 29836
* Update for changes in Path class interface for exception removal.Reid Spencer2006-08-221-16/+6
| | | | llvm-svn: 29834
* Make the sys::Path::GetTemporaryDirectory method not throw exceptions andReid Spencer2006-08-221-23/+30
| | | | | | adjust users of it to compensate. llvm-svn: 29831
* Don't throw needlessly. Failure of gettimeofday is *very* unlinkely soReid Spencer2006-08-221-2/+7
| | | | | | just return MinTime if that should ever happen. llvm-svn: 29826
* For PR797:Reid Spencer2006-08-221-10/+15
| | | | | | Make MappedFile not throw any exceptions. llvm-svn: 29816
* For PR797:Reid Spencer2006-08-221-8/+13
| | | | | | | Fix a bug in my last patch that botched file redirection by using explicit scoping of if statements. llvm-svn: 29815
* Make an error message a little more intelligible.Reid Spencer2006-08-221-1/+1
| | | | llvm-svn: 29808
* For PR797:Reid Spencer2006-08-214-54/+126
| | | | | | | Remove all exception code from Program.inc and implement its new interface with an ErrMsg string argument. llvm-svn: 29790
* For PR797:Reid Spencer2006-08-211-1/+1
| | | | | | | | Make sys::Program::ExecuteAndWait not throw exceptions and update any affected code. It now return -9999 to signal that the program couldn't be executed. Only one case (in bugpoint) actually examines the result code. llvm-svn: 29785
* Remove extraneous #include.Reid Spencer2006-08-071-1/+0
| | | | llvm-svn: 29541
* Make the removal of files use Path::eraseFromDisk just like it does forReid Spencer2006-08-071-4/+5
| | | | | | | | | | | the removal of directories. Using std::remove is indiscriminate and can lead to the removal of things like /dev/null if run as root. The Path::eraseFromDisk method ensures that we only ever remove regular files or directories, but never character or block special nodes. This should clear up the problem with usage like: llvm-as -o /dev/null which is used in the llvm-test makefiles. llvm-svn: 29540
* Add a note about how the "isFile" check in Path::eraseFromDisk preventsReid Spencer2006-08-071-0/+5
| | | | | | the erasure of non-file paths like /dev/null. llvm-svn: 29539
* Update the auto* tools: autoconf 2.60, libtool 1.5.22, automake 1.9.6.Reid Spencer2006-08-042-163/+188
| | | | | | | | | Update ltld.[ch] to version 1.5.22. Correct the notes about updating these tools (autoconf/README.TXT) Add configure options for getting the correct option for including a whole archive when linking. llvm-svn: 29529
* Remove some now-dead methods. Use getFileStatus instead.Chris Lattner2006-08-012-67/+0
| | | | llvm-svn: 29447
* Use getFileStatus instead of Path::isDirectory().Chris Lattner2006-08-012-13/+14
| | | | llvm-svn: 29443
* elimiante some syscallsChris Lattner2006-08-012-23/+20
| | | | llvm-svn: 29442
* Minor fix due to recent API changesAnton Korobeynikov2006-08-011-1/+1
| | | | llvm-svn: 29428
OpenPOWER on IntegriCloud