summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAge
* Add llvm-as project to Visual StudioJeff Cohen2005-01-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19227 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bountiful sources of VC++ 'possible loss of data' warningsJeff Cohen2005-01-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19224 91177308-0d34-0410-b5e6-96231b3b80d8
* Add HAVE_SBRKReid Spencer2005-01-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19222 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a useful accessorChris Lattner2005-01-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19209 91177308-0d34-0410-b5e6-96231b3b80d8
* Add two helper functions.Chris Lattner2005-01-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19208 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix a bug in an m4 macro that used an incorrect test operatorReid Spencer2004-12-29
| | | | | | | | | * Add CAN_DLOPEN_SELF so we can determine if dlopen(0) will open the program or not. * Correct a warning messages to be a little more specific on what it checks git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19184 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-27
| | | | | | | | * Move implementation of sys::PreventCoreFiles function to this file from the now defunct SysConfig abstraction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19159 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-27
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19149 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-27
| | | | | | | | * Add checks for sterror and strerror_r functions * Add check to determine if /dev/zero is needed for allocating RWX memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19148 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-25
| | | | | | | | | | | * Make sure all headers used by lib/System have checks * Use "standard" autoconf checks for certain problematic headers For PR432: * Resurrect --with-llvmgccdir so a specific llvm-gcc/llvm-g++ installation can be specified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19142 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-24
| | | | | | | | Create new variables LLVM_ON_UNIX and LLVM_ON_WIN32 so we can start getting rid of reliance upon a symbolic link to switch implementations in lib/System git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19131 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-22
| | | | | | | Move non-portable FDHandle class to its only user: lib/Debugger git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19106 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix VC++ compilation errorJeff Cohen2004-12-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19082 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove this file as there are no LLVM users of it any more.Reid Spencer2004-12-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19066 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove this file as its not used by anything in LLVM any more. SystemReid Spencer2004-12-20
| | | | | | | dependent behavior is now made through the lib/System interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19064 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove these files as they are included by nothing in LLVM any more. TheReid Spencer2004-12-20
| | | | | | | system dependent functionality has been moved to lib/System. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19063 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove these headers. The files that used to #include them don't any moreReid Spencer2004-12-20
| | | | | | | as most system dependent behavior has been moved to lib/System. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19062 91177308-0d34-0410-b5e6-96231b3b80d8
* Add HAVE_SYSCONFReid Spencer2004-12-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19060 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-20
| | | | | | | | | * Add GetMallocUsage as a wrapper around mallinfo() * Add GetTotalMemoryUsage to get approximate RSS size * Add GetTimeUsage to get elapsed/system/user time git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19051 91177308-0d34-0410-b5e6-96231b3b80d8
* Wrap long linesReid Spencer2004-12-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19050 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-20
| | | | | | | | This file is no longer needed as system dependent functions have been encapsulated into lib/System. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19049 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-19
| | | | | | | | | Incorporate the abilities of RunPRogramWithTimeout into sys::Program::ExecuteAndWait so that redirection and a timeout are optionally supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19039 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-19
| | | | | | | Turn path instance variables into sys::Path instead of std::string git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19038 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-19
| | | | | | | | Replace RunProgramWithTimeout with an inline function that calls sys::Program::ExecuteAndWait. This is now just a convenience function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19037 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct the name of the method. CopyFiles -> CopyFile.Reid Spencer2004-12-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19025 91177308-0d34-0410-b5e6-96231b3b80d8
* Make code fit in 80 colsChris Lattner2004-12-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19016 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-16
| | | | | | | | | | * Make the OutputC and OutputAsm functions work with sys::Path for the output file name instead of using std::string. * Get rid of extraneous "toString" calls. * Change "removeFile" to sys::Path::destroyFile() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19000 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-16
| | | | | | | | | * Remove the "removeFile" function, now implemented by the sys::Path::destroyFile method. * Make the FileRemove work with a sys::Path instead of a std::string git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18999 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of inclusion of config.h because this file is autoconf'd.Reid Spencer2004-12-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18992 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust documentation of GetBytecodeLibraryPaths after removing LLVMGCCDIRReid Spencer2004-12-15
| | | | | | | support from it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18972 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove LLVMGCCDIR.Reid Spencer2004-12-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18971 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a file overwrite bug in llvm-ar introduced by changes toReid Spencer2004-12-15
| | | | | | | | | | | createTemporaryFile semantics where it doesn't create a fully unique name if the basename doesn't exist. This functionality is now optionally provided by the boolean reuse_current parameter to createTemporaryFile and makeUnique. The default values differ because of the way these functions are used in LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18961 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the AliasAnalysis interface more precise for common cases.Chris Lattner2004-12-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18956 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-15
| | | | | | | | | | * Fix implementation and documentation about LLVMGCCDIR/bytecode-libs * Add the makeUnique method, replacement for getUniqueFilename in Support. * Add the sys::CopyFile function, replacement for CopyFile in Support. * Move GetLLVMConfigDir() into generic code area since its generic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18947 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-15
| | | | | | | | Remove getUniqueFilename and CopyFile. These are now implemented by sys::Path::makeUnique and sys::CopyFile, respectively. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18946 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some system specific functions we useReid Spencer2004-12-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18945 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement Win32 Path::getStatusInfo(), TimeValue::toString()Jeff Cohen2004-12-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18930 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-14
| | | | | | | | * Fix commentary, wrap lines, etc. * Add an environment pointer to the ExecuteAndWait function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18926 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-13
| | | | | | | | * isExecutable -> sys::Path::executable() * Adjust interface of FindExecutable to return a sys::Path git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18917 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-13
| | | | | | | | Remove AllocateRWXMemory as it is not used any more in LLVM. The function has been replaced with sys::Memory::AllocateRWX several months ago. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18912 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-13
| | | | | | | | | Remove the MakeFileReadable and MakeFileExecutable functions which are no longer present in LLVM. They have been replaced with the sys::Path methods makeReadable and makeExecutable, respectively. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18910 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-13
| | | | | | | | | | | Implement three new functions to allow setting access/permission bits on the file referenced by a path. The makeReadable and makeExecutable methods replace the FileUtilities MakeFileReadable and MakeFileExecutable functions. The makeWritable function is new and provided for consistency since Path has a writable() method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18907 91177308-0d34-0410-b5e6-96231b3b80d8
* Change this method to return ulong, not uint, for 64-bit targets.Chris Lattner2004-12-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18906 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351:Reid Spencer2004-12-13
| | | | | | | | | The ReadFileIntoAddressSpace and UnmapFileFromAddressSpace functions are no longer used by LLVM. Remove them. Replacement functionality for both functions is now encapsulated in the sys::MappedFile class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18903 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR351: \Reid Spencer2004-12-13
| | | | | | | | | The getFileTimestamp and getFileSize functions have been removed from \ FileUtilities.{h,cpp}. They are replaced by Path::getTimestamp and \ Path::getSize,respectively. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18892 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a size_type typedef to LLVM containers to make Visual Studio shut upReid Spencer2004-12-13
| | | | | | | (and possibly to make LLVM more x86 64bit friendly). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18891 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a convenience function for clearing the two global areas.Reid Spencer2004-12-13
| | | | | | | Patch contributed by Morten Ofsted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18890 91177308-0d34-0410-b5e6-96231b3b80d8
* * Add a std::ostream inserter for sys::PathReid Spencer2004-12-13
| | | | | | | * Correct the std::string constructor to take a const reference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18877 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove commented out functions that have been replaced with lib/SystemReid Spencer2004-12-13
| | | | | | | functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18868 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the size() method constReid Spencer2004-12-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18852 91177308-0d34-0410-b5e6-96231b3b80d8