Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Dynamic Library abstraction. This makes the abstraction of a single dynamic | Reid Spencer | 2004-11-18 | 1 | -0/+47 |
| | | | | | | | library (shared library/shared object) whose symbols can be looked up dynamically. Used for plug-ins. llvm-svn: 17940 | ||||
* | * Use low-level unix I/O interface since we're on Unix. | Reid Spencer | 2004-11-16 | 1 | -7/+17 |
| | | | | | | * Don't use variable length arrays (replaced with alloca) llvm-svn: 17901 | ||||
* | Per code review: | Reid Spencer | 2004-11-16 | 1 | -1/+1 |
| | | | | | | | | * 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 Spencer | 2004-11-16 | 1 | -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 | ||||
* | Make it actually compile on Solaris. | Reid Spencer | 2004-11-15 | 1 | -1/+1 |
| | | | | llvm-svn: 17815 | ||||
* | Consolidate the implementation of TimeValue::now() for Unix to use the | Reid Spencer | 2004-11-15 | 1 | -0/+13 |
| | | | | | | seemingly ubiquitous gettimeofday(3) call. llvm-svn: 17813 | ||||
* | Implement functionality suggested from code review: getStatusInfo should | Reid Spencer | 2004-11-14 | 1 | -1/+4 |
| | | | | | | returnn false if the file doesn't exist rather than throw ane exception. llvm-svn: 17809 | ||||
* | Forget strerror_r, it causes problems. Fix later when threading matters | Reid Spencer | 2004-11-14 | 1 | -5/+0 |
| | | | | llvm-svn: 17783 | ||||
* | Implement the toString method | Reid Spencer | 2004-11-14 | 1 | -0/+16 |
| | | | | llvm-svn: 17782 | ||||
* | Update for prototype changes | Reid Spencer | 2004-11-14 | 1 | -2/+2 |
| | | | | llvm-svn: 17781 | ||||
* | * Implement getDirectoryContents * Implement getStatusInfo * Implement ↵ | Reid Spencer | 2004-11-14 | 1 | -7/+81 |
| | | | | | | setStatusInfo * Implement renameFile llvm-svn: 17780 | ||||
* | Fix bugs in class invariant | Reid Spencer | 2004-11-14 | 1 | -0/+3 |
| | | | | llvm-svn: 17779 | ||||
* | * Implement getStatusInfo for getting stat(2) like information | Reid Spencer | 2004-11-09 | 1 | -5/+39 |
| | | | | | | | * Implement createTemporaryFile for mkstemp(3) functionality * Fix isBytecodeFile to accept llvc magic # (compressed) as bytecode. llvm-svn: 17654 | ||||
* | Stop propagating method names that violate the coding standard | Reid Spencer | 2004-11-05 | 3 | -60/+60 |
| | | | | llvm-svn: 17498 | ||||
* | Change Library Names Not To Conflict With Others When Installed | Reid Spencer | 2004-10-27 | 1 | -1/+0 |
| | | | | llvm-svn: 17286 | ||||
* | Must include sys/stat.h before declaring a 'struct stat' | Brian Gaeke | 2004-10-05 | 1 | -0/+1 |
| | | | | llvm-svn: 16728 | ||||
* | Adjust sys/stat.h inclusion so its only for SunOS. | Reid Spencer | 2004-10-05 | 1 | -1/+0 |
| | | | | llvm-svn: 16686 | ||||
* | Added a couple of includes to get this to compile on Sparc. | Tanya Lattner | 2004-10-05 | 2 | -1/+2 |
| | | | | llvm-svn: 16685 | ||||
* | Solaris doesn't have MAP_FILE. | Chris Lattner | 2004-10-05 | 1 | -1/+4 |
| | | | | llvm-svn: 16682 | ||||
* | First version of the MappedFile abstraction for operating system idependent | Reid Spencer | 2004-10-04 | 1 | -0/+138 |
| | | | | | | | | 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 | ||||
* | Added stub implementations of TimeValue concept for remaining platforms. | Reid Spencer | 2004-09-25 | 1 | -0/+22 |
| | | | | llvm-svn: 16513 | ||||
* | Get rid of file descriptor leak in create_file. | Reid Spencer | 2004-09-18 | 1 | -1/+3 |
| | | | | llvm-svn: 16395 | ||||
* | Allow "bc" as suffix for bytecode files. | Reid Spencer | 2004-09-16 | 1 | -0/+8 |
| | | | | llvm-svn: 16381 | ||||
* | Implement the GetLibraryPath function. | Reid Spencer | 2004-09-14 | 1 | -0/+45 |
| | | | | llvm-svn: 16323 | ||||
* | Clean up the interface and implementation of sys::Program so that it is | Reid Spencer | 2004-09-13 | 1 | -15/+16 |
| | | | | | | cleanly dissociated from the sys::Path class. llvm-svn: 16315 | ||||
* | Provide a generic Unix implementation of the Memory concept. | Reid Spencer | 2004-09-11 | 1 | -0/+20 |
| | | | | llvm-svn: 16291 | ||||
* | Provide a generic unix implementation of the Process abstraction. | Reid Spencer | 2004-09-11 | 1 | -0/+34 |
| | | | | llvm-svn: 16290 | ||||
* | Implemented support for detecting file types by magic number, stripping | Reid Spencer | 2004-09-11 | 1 | -0/+48 |
| | | | | | | path and suffix to leave basename, and getting the DLL suffix. llvm-svn: 16289 | ||||
* | Implementation of Process concept for SUSv2 platforms. | Reid Spencer | 2004-09-11 | 1 | -0/+31 |
| | | | | llvm-svn: 16288 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 3 | -3/+3 |
| | | | | | | | | 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 | ||||
* | Actually define PreventCoreFiles in the sys namespace. | Reid Spencer | 2004-08-31 | 1 | -3/+1 |
| | | | | llvm-svn: 16125 | ||||
* | Add a new abstraction, SysConfig for platform independent system | Reid Spencer | 2004-08-31 | 2 | -0/+36 |
| | | | | | | | configuration calls. Right now this just contains PreventCoreFiles so that bugpoint can by platform independent. llvm-svn: 16124 | ||||
* | Move the GetTemporaryDirectory function from "generic Unix" to platform | Reid Spencer | 2004-08-30 | 1 | -12/+0 |
| | | | | | | specific. llvm-svn: 16119 | ||||
* | Add inclusion of assert.h | Reid Spencer | 2004-08-30 | 1 | -0/+1 |
| | | | | llvm-svn: 16118 | ||||
* | Add a declaration of environ global for Darwin | Reid Spencer | 2004-08-29 | 1 | -0/+2 |
| | | | | llvm-svn: 16100 | ||||
* | Include some additional header files. | Reid Spencer | 2004-08-29 | 1 | -4/+6 |
| | | | | | | Fix the banner length. llvm-svn: 16086 | ||||
* | Initial platform independent implementation of operating system concept | Reid Spencer | 2004-08-29 | 1 | -0/+169 |
| | | | | | | of "Signals" (cleanup after fatal errors). llvm-svn: 16085 | ||||
* | Initial commit of an platform-indepdendent implementation for the | Reid Spencer | 2004-08-29 | 1 | -0/+133 |
| | | | | | | "Program" operating system concept (find and execute programs). llvm-svn: 16084 | ||||
* | Revise the design of the Path concept per peer review. Too many changes to | Reid Spencer | 2004-08-29 | 1 | -86/+281 |
| | | | | | | | | note individually but these essence of it is to not derive from std::string, clarify the interface, and provide better documentation. There is now also (untested) implementations for AIX, Darwin, and SunOS. llvm-svn: 16078 | ||||
* | Fix a typo. | Reid Spencer | 2004-08-26 | 1 | -1/+1 |
| | | | | llvm-svn: 16055 | ||||
* | Add a README explaining the intended content of this directory. | Reid Spencer | 2004-08-26 | 1 | -0/+16 |
| | | | | llvm-svn: 16053 | ||||
* | Initial implementation of the Path operating system concept. | Reid Spencer | 2004-08-25 | 2 | -0/+172 |
llvm-svn: 16048 |