Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement GetTimeUsage correctly. | Reid Spencer | 2004-12-20 | 1 | -4/+8 | |
| | | | | llvm-svn: 19074 | |||||
* | Provide a getrusage based implementation of GetTotalMemoryUsage and use | Reid Spencer | 2004-12-20 | 1 | -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 Spencer | 2004-12-20 | 1 | -4/+4 | |
| | | | | llvm-svn: 19071 | |||||
* | Keep up with lib/System changes | Jeff Cohen | 2004-12-20 | 2 | -31/+47 | |
| | | | | llvm-svn: 19057 | |||||
* | For PR351: | Reid Spencer | 2004-12-20 | 2 | -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 Spencer | 2004-12-20 | 1 | -1/+1 | |
| | | | | | | No need for Unix/SUS/Process.cpp any more, just ifdef it. llvm-svn: 19054 | |||||
* | * Use "" for LLVM include files, not <> | Misha Brukman | 2004-12-20 | 1 | -5/+3 | |
| | | | | | | | * llvm/Config/alloca.h already #includes config.h * Minor readability/stylistic changes llvm-svn: 19048 | |||||
* | Use <> for system #include files | Misha Brukman | 2004-12-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 19046 | |||||
* | Make references to 'struct sigaction' compile under Solaris. | Brian Gaeke | 2004-12-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 19045 | |||||
* | For PR351: | Reid Spencer | 2004-12-19 | 1 | -22/+99 | |
| | | | | | | | Move the functionality of RunProgramWithTimeout into the ExecuteAndWait function: support a timeout and I/O redirects llvm-svn: 19043 | |||||
* | For PR351: | Reid Spencer | 2004-12-19 | 1 | -0/+1 | |
| | | | | | | Add a needed include. llvm-svn: 19042 | |||||
* | Fix win32 breakage | Jeff Cohen | 2004-12-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 19028 | |||||
* | Expository comment submitted by Henrik Bach | Jeff Cohen | 2004-12-16 | 1 | -0/+3 | |
| | | | | llvm-svn: 18976 | |||||
* | Change the signatures of the destroyFile and destroyDirectory methods to | Reid Spencer | 2004-12-15 | 2 | -4/+4 | |
| | | | | | | const because they affect the file system, not the Path object. llvm-svn: 18973 | |||||
* | Remove the CFE's lib directory from the bytecode path because LLVM should | Reid Spencer | 2004-12-15 | 1 | -7/+0 | |
| | | | | | | be agnostic to the needs of any specific FE. llvm-svn: 18969 | |||||
* | Remove automatic insertion of CFE's lib directory into the bytecode path | Reid Spencer | 2004-12-15 | 1 | -7/+0 | |
| | | | | | | because LLVM should be agnostic to the needs of specific front ends. llvm-svn: 18968 | |||||
* | Fix a file overwrite bug in llvm-ar introduced by changes to | Reid Spencer | 2004-12-15 | 2 | -6/+16 | |
| | | | | | | | | | | 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. llvm-svn: 18961 | |||||
* | Make Win32 TimeValue::toString() re-entrant and work with mingw | Jeff Cohen | 2004-12-15 | 1 | -5/+9 | |
| | | | | llvm-svn: 18954 | |||||
* | Fix VC++ compilation errors | Jeff Cohen | 2004-12-15 | 2 | -6/+3 | |
| | | | | llvm-svn: 18953 | |||||
* | For PR351: | Reid Spencer | 2004-12-15 | 3 | -22/+131 | |
| | | | | | | | | | * 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. llvm-svn: 18947 | |||||
* | Add the getMagicNumber method. | Reid Spencer | 2004-12-14 | 1 | -0/+19 | |
| | | | | | | Patch contributed by Henrik Bach. Thanks Henrik! llvm-svn: 18933 | |||||
* | Implement Win32 Path::getStatusInfo(), TimeValue::toString() | Jeff Cohen | 2004-12-14 | 3 | -9/+50 | |
| | | | | llvm-svn: 18930 | |||||
* | For PR351: | Reid Spencer | 2004-12-14 | 2 | -5/+12 | |
| | | | | | | Implement the new environment pointer for ExecuteAndWait llvm-svn: 18928 | |||||
* | For PR351: | Reid Spencer | 2004-12-13 | 2 | -0/+45 | |
| | | | | | | | | | | 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. llvm-svn: 18907 | |||||
* | Genericize implementation of GetDLLSuffix now that we have LTDL_SHLIB_EXT | Reid Spencer | 2004-12-13 | 9 | -40/+6 | |
| | | | | | | available. llvm-svn: 18904 | |||||
* | Fix a bug where "." or any single character file name doesn't get the | Reid Spencer | 2004-12-13 | 1 | -1/+1 | |
| | | | | | | terminating / when setDirectory is called. llvm-svn: 18886 | |||||
* | Remove an always false clause from an if statement. | Reid Spencer | 2004-12-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 18885 | |||||
* | Fix a bug where directory names of length one or less where not set | Alkis Evlogimenos | 2004-12-13 | 1 | -1/+1 | |
| | | | | | | properly (examples: "", ".", "a"). llvm-svn: 18883 | |||||
* | * Add a std::ostream inserter for sys::Path | Reid Spencer | 2004-12-13 | 2 | -2/+2 | |
| | | | | | | * Correct the std::string constructor to take a const reference. llvm-svn: 18877 | |||||
* | Fix recent breakage of win32 build | Jeff Cohen | 2004-12-13 | 2 | -9/+1 | |
| | | | | llvm-svn: 18876 | |||||
* | Implement new functions per new interface | Reid Spencer | 2004-12-13 | 1 | -55/+48 | |
| | | | | llvm-svn: 18866 | |||||
* | For PR351: \ | Reid Spencer | 2004-12-13 | 1 | -67/+54 | |
| | | | | | | | | * Remove IsLibrary and GetLibraryPath, replaced by FindLibrary in ../Path.cpp \ * Implement GetSystemLibraryPaths and GetBytecodeLibraryPaths, instead of the \ GetSystemLibraryPath1 and GetSystemLibraryPath2 methods llvm-svn: 18862 | |||||
* | For PR351: \ | Reid Spencer | 2004-12-13 | 1 | -0/+31 | |
| | | | | | | | | * Move generic isArchive method here from Unix/Path.cpp \ * Implement isDynamicLibrary \ * Implement FindLibrary for Linker llvm-svn: 18861 | |||||
* | Make the size() method const | Reid Spencer | 2004-12-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 18852 | |||||
* | Rename Path::get -> Path::toString | Reid Spencer | 2004-12-11 | 4 | -12/+14 | |
| | | | | llvm-svn: 18802 | |||||
* | Path::get -> Path::toString | Reid Spencer | 2004-12-11 | 4 | -15/+21 | |
| | | | | llvm-svn: 18785 | |||||
* | Fix residual Visual Studio build problems | Jeff Cohen | 2004-12-09 | 1 | -11/+7 | |
| | | | | llvm-svn: 18688 | |||||
* | Make this work with the ICC compiler, contributed by Bjørn Wennberg | Chris Lattner | 2004-12-08 | 1 | -0/+1 | |
| | | | | llvm-svn: 18626 | |||||
* | Fix compilation error on Darwin. | Chris Lattner | 2004-12-04 | 1 | -15/+18 | |
| | | | | llvm-svn: 18485 | |||||
* | Move darwin-specific majik here. | Chris Lattner | 2004-12-03 | 1 | -5/+27 | |
| | | | | llvm-svn: 18466 | |||||
* | Fix seriously broken implementation of GetMagicNumber. | Reid Spencer | 2004-12-02 | 1 | -4/+6 | |
| | | | | llvm-svn: 18422 | |||||
* | Implement two new functions: LoadLibraryPermanently and | Reid Spencer | 2004-11-29 | 1 | -28/+62 | |
| | | | | | | SearchForAddressOfSymbol. llvm-svn: 18355 | |||||
* | We just use ltdl's implementation for this abstraction now. Its portable to | Reid Spencer | 2004-11-29 | 1 | -13/+3 | |
| | | | | | | more platforms than LLVM supports. llvm-svn: 18352 | |||||
* | Mods for compilation with llvm. | Reid Spencer | 2004-11-29 | 1 | -7/+10 | |
| | | | | llvm-svn: 18346 | |||||
* | Original version of ltdl.h from libtool 1.5.10 | Reid Spencer | 2004-11-29 | 1 | -0/+366 | |
| | | | | llvm-svn: 18345 | |||||
* | Original version of ltdl.c from libtool 1.5.10 | Reid Spencer | 2004-11-29 | 1 | -0/+4495 | |
| | | | | llvm-svn: 18344 | |||||
* | Implement the default constructor which causes the current program to be | Reid Spencer | 2004-11-29 | 3 | -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++ compiler | Reid Spencer | 2004-11-20 | 1 | -5/+9 | |
| | | | | | | happy. Thanks to Henrik Bach for pointing this out. llvm-svn: 18056 | |||||
* | Dynamic Library abstraction. This makes the abstraction of a single dynamic | Reid Spencer | 2004-11-18 | 10 | -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 Spencer | 2004-11-16 | 1 | -7/+17 | |
| | | | | | | * Don't use variable length arrays (replaced with alloca) llvm-svn: 17901 |