summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System
Commit message (Collapse)AuthorAgeFilesLines
...
* Erase non-applicable Unix comment, this is Win32Misha Brukman2004-11-161-1/+0
| | | | llvm-svn: 17896
* Remove useless #include.Reid Spencer2004-11-166-7/+0
| | | | | | Patch contributed by Jeff Cohen. llvm-svn: 17891
* Simplify code.Reid Spencer2004-11-161-2/+1
| | | | | | Patch contributed by Jeff Cohen. llvm-svn: 17890
* Per code review:Reid Spencer2004-11-162-1/+5
| | | | | | | | * get rid of (void) construct in function declarations * make toString a const member * add a default implementation of toString for Win32 llvm-svn: 17873
* Per code review:Reid Spencer2004-11-161-7/+4
| | | | | | | | | | | * Clean up the StatusInfo constructor to construct all members and give them reasonable values. * Get rid of the Vector typedef and make the interface to getDirectoryContent use a std::set instead of a std::vector so the dir content is sorted. * Make the getStatusInfo method const and not return a useless boolean. llvm-svn: 17872
* Provide the ThrowErrno utility.Reid Spencer2004-11-151-0/+3
| | | | | | Patch contributed by Morten Ofstad llvm-svn: 17827
* Adjust implementation to match new interface.Reid Spencer2004-11-151-2/+2
| | | | | | Patch provided by Morten Ofstad llvm-svn: 17826
* Actually get the #include correct so it compiles .. duh.Reid Spencer2004-11-158-9/+9
| | | | llvm-svn: 17817
* Make it actually compile on Solaris.Reid Spencer2004-11-152-2/+2
| | | | llvm-svn: 17815
* Consolidate the implementation of TimeValue::now() for Unix to use theReid Spencer2004-11-158-53/+19
| | | | | | seemingly ubiquitous gettimeofday(3) call. llvm-svn: 17813
* Implement functionality suggested from code review: getStatusInfo shouldReid Spencer2004-11-141-1/+4
| | | | | | returnn false if the file doesn't exist rather than throw ane exception. llvm-svn: 17809
* Make sure IdentifyFileType is in the sys namespace.Reid Spencer2004-11-141-1/+1
| | | | llvm-svn: 17806
* Add missing include.Alkis Evlogimenos2004-11-141-0/+1
| | | | llvm-svn: 17799
* Forget strerror_r, it causes problems. Fix later when threading mattersReid Spencer2004-11-141-5/+0
| | | | llvm-svn: 17783
* Implement the toString methodReid Spencer2004-11-141-0/+16
| | | | llvm-svn: 17782
* Update for prototype changesReid Spencer2004-11-141-2/+2
| | | | llvm-svn: 17781
* * Implement getDirectoryContents * Implement getStatusInfo * Implement ↵Reid Spencer2004-11-141-7/+81
| | | | | | setStatusInfo * Implement renameFile llvm-svn: 17780
* Fix bugs in class invariantReid Spencer2004-11-141-0/+3
| | | | llvm-svn: 17779
* Include the correct implementation fileReid Spencer2004-11-141-1/+3
| | | | llvm-svn: 17778
* Don't exceed 80 columns.Reid Spencer2004-11-141-5/+5
| | | | llvm-svn: 17777
* Implement IdentifyFileType functionReid Spencer2004-11-141-0/+27
| | | | llvm-svn: 17776
* Fix isBytecodeFile to correctly recognized compressed bytecode too.Reid Spencer2004-11-091-4/+7
| | | | llvm-svn: 17655
* * Implement getStatusInfo for getting stat(2) like informationReid Spencer2004-11-091-5/+39
| | | | | | | * Implement createTemporaryFile for mkstemp(3) functionality * Fix isBytecodeFile to accept llvc magic # (compressed) as bytecode. llvm-svn: 17654
* Fix a typo: isvalid -> isValidReid Spencer2004-11-081-1/+1
| | | | llvm-svn: 17621
* Consistently use llvm.cs.uiuc.edu instead of llvm.orgMisha Brukman2004-11-071-1/+1
| | | | llvm-svn: 17548
* Stop propagating method names that violate the coding standardReid Spencer2004-11-0513-144/+144
| | | | llvm-svn: 17498
* Change Library Names Not To Conflict With Others When InstalledReid Spencer2004-10-272-2/+1
| | | | llvm-svn: 17286
* Add EXTRA_DIST for additional files to be distributed.Reid Spencer2004-10-261-0/+2
| | | | llvm-svn: 17233
* We won't use automakeReid Spencer2004-10-222-696/+0
| | | | llvm-svn: 17155
* Fix some grammarMisha Brukman2004-10-191-3/+3
| | | | llvm-svn: 17141
* Initial automake generated Makefile templateReid Spencer2004-10-181-0/+674
| | | | llvm-svn: 17136
* AIX does not have mkdtemp() so emulate its behavior using mktemp() and mkdir()Misha Brukman2004-10-181-5/+10
| | | | llvm-svn: 17131
* Allow this file to compile on Darwin.Reid Spencer2004-10-141-0/+1
| | | | llvm-svn: 16971
* Use __MINGW instead of __MING. Patch contributed by Henrik Bach.Reid Spencer2004-10-141-1/+1
| | | | llvm-svn: 16970
* Get proper BSD #includes for MappedFile implementation.Reid Spencer2004-10-141-0/+2
| | | | llvm-svn: 16969
* Implementation of MappedFile for Win32. Patch provided by Jeff Cohen.Reid Spencer2004-10-141-6/+101
| | | | llvm-svn: 16968
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-131-1/+1
| | | | llvm-svn: 16950
* Initial version of automake Makefile.am file.Reid Spencer2004-10-101-0/+22
| | | | llvm-svn: 16885
* Must include sys/stat.h before declaring a 'struct stat'Brian Gaeke2004-10-051-0/+1
| | | | llvm-svn: 16728
* Adjust sys/stat.h inclusion so its only for SunOS.Reid Spencer2004-10-052-1/+1
| | | | llvm-svn: 16686
* Added a couple of includes to get this to compile on Sparc.Tanya Lattner2004-10-052-1/+2
| | | | llvm-svn: 16685
* Solaris doesn't have MAP_FILE.Chris Lattner2004-10-051-1/+4
| | | | llvm-svn: 16682
* First version of the MappedFile abstraction for operating system idependentReid Spencer2004-10-0410-0/+330
| | | | | | | | mapping of files. This first version uses mmap where its available. The class needs to implement an alternate mechanism based on malloc'd memory and file reading/writing for platforms without virtual memory. llvm-svn: 16649
* That should actually be __MING, not __MINGW.Misha Brukman2004-09-301-1/+1
| | | | llvm-svn: 16617
* Check for __MINGW define instead of __MINGW_H, patch by Henrik Bach.Misha Brukman2004-09-301-1/+1
| | | | llvm-svn: 16615
* Improve validity checking of windows path names and fix file creationReid Spencer2004-09-291-31/+78
| | | | | | | | problems. Patch contributed by Jeff Cohen. Thanks Jeff! llvm-svn: 16565
* Use llvm::sys::Path to destroy the file.Reid Spencer2004-09-281-4/+5
| | | | | | Patch contributed by Jeff Cohen. Thanks Jeff! llvm-svn: 16564
* Win32 implementation of TimeValue::now().Reid Spencer2004-09-281-6/+12
| | | | | | Patch contributed by Jeff Cohen. Thanks Jeff! llvm-svn: 16563
* FreeBSD implementation of the TimeValue::now() method.Reid Spencer2004-09-281-2/+13
| | | | | | Patch kindly contributed by Jeff Cohen. Thanks Jeff! llvm-svn: 16562
* Updated to reflect changes in the interface of TimeValue::now().Reid Spencer2004-09-252-8/+10
| | | | llvm-svn: 16515
OpenPOWER on IntegriCloud