summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a bug where the bcreader could crash on .bc files that were an exactChris Lattner2007-05-111-0/+1
| | | | | | multiple of the page size, due to a bug in MappedFile llvm-svn: 36980
* pull some win32 code into common code, add bitcode identification support.Chris Lattner2007-05-063-46/+29
| | | | llvm-svn: 36846
* silence annoying gcc 4.3 warningsChris Lattner2007-05-031-2/+4
| | | | llvm-svn: 36681
* Cygwin doesn't have the RSS_LIMIT for get/setrlimit.Reid Spencer2007-04-231-0/+2
| | | | llvm-svn: 36361
* Hack to get sys::Path to recognize macho dylibs.Chris Lattner2007-04-111-4/+7
| | | | llvm-svn: 35878
* Teach sys::Path how to recognize different kinds of object files for ELFReid Spencer2007-04-111-7/+25
| | | | | | | and Mach-O systems. Additionally, correct the Mach-O logic code to look at byte 12 not byte 15. Hopefully this fixes the llvm-ld warning on Darwin. llvm-svn: 35876
* Make isDynamicLibrary detect more than just an ELF file.Reid Spencer2007-04-111-2/+10
| | | | llvm-svn: 35874
* Unbreak VC++ build.Jeff Cohen2007-04-072-32/+32
| | | | llvm-svn: 35751
* For PR1291:Reid Spencer2007-04-073-63/+68
| | | | | | Implement the PathWithStatus class and its use throughout lib/System. llvm-svn: 35742
* For PR1302:Reid Spencer2007-04-041-9/+38
| | | | | | Implement recognition of COFF, ELF and Mach-O object/shared lib files. llvm-svn: 35650
* Use the stat information in the Path object, if it is already obtained. ThisReid Spencer2007-03-291-4/+3
| | | | | | | avoids a call to ::fstat by MappedFile when the file size information was already obtained by the Path object. llvm-svn: 35477
* For PR789:Reid Spencer2007-03-294-50/+57
| | | | | | | | Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. llvm-svn: 35476
* Determine absolute paths the correct way :)Jeff Cohen2007-03-291-3/+9
| | | | llvm-svn: 35464
* Add a uniqueID field to the FileStatus structure for Paths. This will mapReid Spencer2007-03-292-0/+8
| | | | | | | to the inode number on Unix and something far less unique on Windows. The windows case needs to be improved. llvm-svn: 35461
* For PR789:Reid Spencer2007-03-292-26/+49
| | | | | | | | | * Add a method: bool isAbsolute() const, which determines if the path name is absolute or not. * Implement caching of file status information in the Path object. Allow it to be updated forcefully or lazily re-fetched from the cached value. llvm-svn: 35456
* 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
OpenPOWER on IntegriCloud