summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System
Commit message (Collapse)AuthorAgeFilesLines
* Fix bugpointChris Lattner2005-01-161-2/+1
| | | | llvm-svn: 19605
* We don't distribute the operating system specific directories any more.Reid Spencer2005-01-141-1/+1
| | | | llvm-svn: 19563
* Fix and improve win32 path validation.Jeff Cohen2005-01-141-10/+22
| | | | llvm-svn: 19545
* Make asctime_r work for HP/UX.Reid Spencer2005-01-141-0/+4
| | | | llvm-svn: 19544
* Rename Unix/*.cpp and Win32/*.cpp to have a *.inc suffix so that the sillyReid Spencer2005-01-0923-15/+15
| | | | | | | gdb debugger doesn't get confused on which file it is reading (the one in lib/System or the one in lib/System/{Win32,Unix}) llvm-svn: 19426
* Use size_t instead of long to represent memory usage. long is 32 bitsJeff Cohen2005-01-082-4/+4
| | | | | | on 64-bit Windows. llvm-svn: 19393
* Correct the case of a #include directory name, just in case.Reid Spencer2005-01-021-1/+1
| | | | llvm-svn: 19254
* Add functions for determining if the stdin/out/err is connected to aJeff Cohen2005-01-011-0/+13
| | | | | | console or not. llvm-svn: 19236
* Add functions for determining if the stdin/out/err is connected to aReid Spencer2005-01-011-0/+24
| | | | | | console or not. llvm-svn: 19233
* Where do these tabs keep coming from???Jeff Cohen2004-12-311-1/+1
| | | | llvm-svn: 19203
* Mostly cleanup, but also some bug fixes, for win32/Path.cppJeff Cohen2004-12-311-38/+81
| | | | llvm-svn: 19202
* Fix a compilation error for the case where mallinfo() is not available.Reid Spencer2004-12-311-1/+1
| | | | llvm-svn: 19201
* Get rid of those nasty tabs...Jeff Cohen2004-12-311-18/+18
| | | | llvm-svn: 19199
* Bring win32/Path.cpp up to date with respect to Unix/Path.cppJeff Cohen2004-12-311-9/+104
| | | | llvm-svn: 19198
* Fix MINGW compilation errorsJeff Cohen2004-12-301-2/+2
| | | | llvm-svn: 19190
* For PR351:Reid Spencer2004-12-271-4/+58
| | | | | | | | | | * Ensure #includes are wrapped with appropriate HAVE_ guards * Account for variations in time.h and sys/time.h inclusion. * Add macros for getting wait(2) exit status correctly (per autoconf sugg.) * Implement ThrowErrno in terms of strerror_r, strerror or none based on what is available on the platform. llvm-svn: 19161
* For PR351:Reid Spencer2004-12-271-4/+0
| | | | | | * Remove redundant #includes that are now in Unix.h llvm-svn: 19160
* For PR351:Reid Spencer2004-12-272-0/+21
| | | | | | | * Move implementation of sys::PreventCoreFiles function to this file from the now defunct SysConfig abstraction. llvm-svn: 19159
* For PR351:Reid Spencer2004-12-271-1/+25
| | | | | | | * Ensure #includes are wrapped with appropriate HAVE_ guards * Ensure variations in "dirent" structure are accounted for. llvm-svn: 19158
* For PR351:Reid Spencer2004-12-271-0/+50
| | | | | | | * Ensure #includes are wrapped with appropriate HAVE_ guards * Consolidate implementation from operating system specific directory. llvm-svn: 19157
* For PR351:Reid Spencer2004-12-273-6/+20
| | | | | | * Ensure #includes are wrapped with appropriate HAVE_ guards llvm-svn: 19156
* For PR351:Reid Spencer2004-12-278-192/+8
| | | | | | | * Consolidate implementation for Unix systems into Unix/TimeValue.cpp * Avoid use of symbolic link to #include platform-specific implementation. llvm-svn: 19155
* For PR351:Reid Spencer2004-12-278-155/+7
| | | | | | | * Consolidate implementation for Unix systems into Unix/Program.cpp * Avoid use of symbolic link to #include platform-specific implementation. llvm-svn: 19154
* For PR351:Reid Spencer2004-12-278-190/+7
| | | | | | | * Consolidate implementation for Unix systems into Unix/Signals.cpp * Avoid use of symbolic link to #include platform-specific implementation. llvm-svn: 19153
* For PR351:Reid Spencer2004-12-278-407/+7
| | | | | | | * Consolidate implementation for Unix systems into Unix/Memory.cpp * Avoid use of symbolic link to #include platform-specific implementation. llvm-svn: 19152
* For PR351:Reid Spencer2004-12-278-130/+7
| | | | | | | * Consolidate implementation for Unix systems into Unix/MappedFile.cpp * Avoid use of symbolic link to #include platform-specific implementation. llvm-svn: 19151
* For PR351:Reid Spencer2004-12-278-155/+7
| | | | | | | * Consolidate implementation for Unix systems into Unix/Process.cpp * Avoid use of symbolic link to #include platform-specific implementation. llvm-svn: 19150
* For PR351:Reid Spencer2004-12-2710-278/+0
| | | | | | | | SysConf abstraction was pointless because it had a single function in it that pertained only to the current process. So merge it into the Process abstraction and remove the files completely. llvm-svn: 19149
* mingw doesn't support the official debug API.Jeff Cohen2004-12-251-9/+28
| | | | | | | Old versions of the C runtime somehow get loaded into the process. Make sure they aren't searched for symbols. llvm-svn: 19141
* Get VC++ building againJeff Cohen2004-12-241-2/+3
| | | | llvm-svn: 19140
* Eliminate use of ltdl.c when doing a VC++ build. Because libtool isn't used,Jeff Cohen2004-12-242-17/+86
| | | | | | ltdl's LGPL license would infect all of LLVM. llvm-svn: 19137
* For PR351:Reid Spencer2004-12-241-0/+89
| | | | | | | | Merge implementations of isValid and GetTemporaryDirectory into this file. There is not any point having the operating system specific files for such little variation between the Unix family of systems. llvm-svn: 19134
* For PR351:Reid Spencer2004-12-247-355/+0
| | | | | | | This implementation is no longer needed, its been merged to Unix/Path.cpp since there is such little variation between the platforms. llvm-svn: 19133
* For PR351:Reid Spencer2004-12-241-1/+7
| | | | | | | Use the LLVM_ON_UNIX and LLVM_ON_WIN32 #defines to include the implementation instead of relying upon the "platform" link llvm-svn: 19132
* Resurrect this file.Reid Spencer2004-12-241-0/+53
| | | | llvm-svn: 19130
* Remove these files as they are not being included any more. DynamicLibraryReid Spencer2004-12-249-298/+0
| | | | | | | is now implemented via ltdl.cpp which has its own way of dealing with the different platforms. llvm-svn: 19129
* Fix VC++ compilation errorJeff Cohen2004-12-241-2/+7
| | | | llvm-svn: 19124
* Put CopyFile in the sys namespace.Reid Spencer2004-12-231-1/+1
| | | | llvm-svn: 19122
* Patch to fix mingw compilation problem contributed by Henrik.Jeff Cohen2004-12-231-0/+5
| | | | llvm-svn: 19112
* Put the CopyFile function explicitly in the sys namespace.Reid Spencer2004-12-211-1/+1
| | | | llvm-svn: 19079
* Cygwin doesn't like .. through a link, so drop the ..Reid Spencer2004-12-209-9/+9
| | | | llvm-svn: 19076
* Implement GetTimeUsage correctly.Reid Spencer2004-12-201-4/+8
| | | | llvm-svn: 19074
* Provide a getrusage based implementation of GetTotalMemoryUsage and useReid Spencer2004-12-201-0/+4
| | | | | | the ru_maxrss field as an approximation. llvm-svn: 19072
* Consistently use the same #if style. Also, fix a bug testing for sbrk(3)Reid Spencer2004-12-201-4/+4
| | | | llvm-svn: 19071
* Keep up with lib/System changesJeff Cohen2004-12-202-31/+47
| | | | llvm-svn: 19057
* For PR351:Reid Spencer2004-12-202-6/+121
| | | | | | | | * Implement GetMallocUsage to get usage of malloc heap * Implement GetMemoryUsage to get total memory usage of process * Implement GetTimeUsage to get elapsed/user/system time llvm-svn: 19055
* For PR351:Reid Spencer2004-12-201-1/+1
| | | | | | No need for Unix/SUS/Process.cpp any more, just ifdef it. llvm-svn: 19054
* * Use "" for LLVM include files, not <>Misha Brukman2004-12-201-5/+3
| | | | | | | * llvm/Config/alloca.h already #includes config.h * Minor readability/stylistic changes llvm-svn: 19048
* Use <> for system #include filesMisha Brukman2004-12-191-1/+1
| | | | llvm-svn: 19046
* Make references to 'struct sigaction' compile under Solaris.Brian Gaeke2004-12-191-0/+1
| | | | llvm-svn: 19045
OpenPOWER on IntegriCloud