summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation error on Darwin.Chris Lattner2004-12-041-15/+18
| | | | llvm-svn: 18485
* Move darwin-specific majik here.Chris Lattner2004-12-031-5/+27
| | | | llvm-svn: 18466
* Fix seriously broken implementation of GetMagicNumber.Reid Spencer2004-12-021-4/+6
| | | | llvm-svn: 18422
* Implement two new functions: LoadLibraryPermanently andReid Spencer2004-11-291-28/+62
| | | | | | SearchForAddressOfSymbol. llvm-svn: 18355
* We just use ltdl's implementation for this abstraction now. Its portable toReid Spencer2004-11-291-13/+3
| | | | | | more platforms than LLVM supports. llvm-svn: 18352
* Mods for compilation with llvm.Reid Spencer2004-11-291-7/+10
| | | | llvm-svn: 18346
* Original version of ltdl.h from libtool 1.5.10Reid Spencer2004-11-291-0/+366
| | | | llvm-svn: 18345
* Original version of ltdl.c from libtool 1.5.10Reid Spencer2004-11-291-0/+4495
| | | | llvm-svn: 18344
* Implement the default constructor which causes the current program to beReid Spencer2004-11-293-5/+29
| | | | | | opened as if it was a dynamic library so its symbols can be searched too. llvm-svn: 18341
* Cast the void* handle data member to HMODULE* to keep the VC++ compilerReid Spencer2004-11-201-5/+9
| | | | | | happy. Thanks to Henrik Bach for pointing this out. llvm-svn: 18056
* Dynamic Library abstraction. This makes the abstraction of a single dynamicReid Spencer2004-11-1810-0/+361
| | | | | | | 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 Spencer2004-11-161-7/+17
| | | | | | * Don't use variable length arrays (replaced with alloca) llvm-svn: 17901
* 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
OpenPOWER on IntegriCloud