| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 19057
|
|
|
|
| |
llvm-svn: 19056
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
No need for Unix/SUS/Process.cpp any more, just ifdef it.
llvm-svn: 19054
|
|
|
|
|
|
|
|
| |
* Move system dependent implementation out of this file.
* Make implementation use sys::Process::GetMallocUsage where necessary.
* Make implementation use sys::Process::GetTimeUsage where necessary.
llvm-svn: 19053
|
|
|
|
|
|
|
| |
* llvm/Config/alloca.h already #includes config.h
* Minor readability/stylistic changes
llvm-svn: 19048
|
|
|
|
| |
llvm-svn: 19046
|
|
|
|
| |
llvm-svn: 19045
|
|
|
|
|
|
|
| |
Move the functionality of RunProgramWithTimeout into the ExecuteAndWait
function: support a timeout and I/O redirects
llvm-svn: 19043
|
|
|
|
|
|
| |
Add a needed include.
llvm-svn: 19042
|
|
|
|
|
|
|
|
|
|
| |
* Pass sys::Path instead of std::string for paths
* Correct the types of arguments passed to RunProgramWithTimeout due to its
interface using sys::Path instead of std::string
* Replace "/dev/null" (not portable) with empty string which
sys::Program::ExecuteAndWait recognizes as "redirect to bit bucket"
llvm-svn: 19041
|
|
|
|
|
|
|
|
|
| |
* Remove unneeded header files.
* Move RedirectFD static function to lib/System/Unix/Program.cpp
* Delete RunProgramWithTimeout, now implemented by
sys::Program::ExecuteAndWait. RunProgramWithTimeout is now a convenience func.
llvm-svn: 19040
|
|
|
|
| |
llvm-svn: 19028
|
|
|
|
| |
llvm-svn: 19024
|
|
|
|
|
|
| |
family of functions so it gets noticed if we ever remove this.
llvm-svn: 19022
|
|
|
|
| |
llvm-svn: 19021
|
|
|
|
| |
llvm-svn: 19020
|
|
|
|
|
|
|
| |
Regression/Analysis/GlobalsModRef/purecse.ll. Isn't this what the
-Woverload-whatever flag would warn about :)
llvm-svn: 19018
|
|
|
|
| |
llvm-svn: 19007
|
|
|
|
|
|
|
| |
save small amounts of time for functions that don't call llvm.returnaddress
or llvm.frameaddress (which is almost all functions).
llvm-svn: 19006
|
|
|
|
| |
llvm-svn: 19005
|
|
|
|
| |
llvm-svn: 19004
|
|
|
|
| |
llvm-svn: 19003
|
|
|
|
|
|
|
|
|
| |
* 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()
llvm-svn: 19000
|
|
|
|
|
|
|
|
| |
* 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
llvm-svn: 18999
|
|
|
|
| |
llvm-svn: 18994
|
|
|
|
|
|
| |
include it any more.
llvm-svn: 18993
|
|
|
|
| |
llvm-svn: 18987
|
|
|
|
| |
llvm-svn: 18985
|
|
|
|
|
|
| |
of custom rules.
llvm-svn: 18984
|
|
|
|
| |
llvm-svn: 18983
|
|
|
|
| |
llvm-svn: 18982
|
|
|
|
| |
llvm-svn: 18976
|
|
|
|
| |
llvm-svn: 18974
|
|
|
|
|
|
| |
const because they affect the file system, not the Path object.
llvm-svn: 18973
|
|
|
|
|
|
| |
be agnostic to the needs of any specific FE.
llvm-svn: 18969
|
|
|
|
|
|
| |
because LLVM should be agnostic to the needs of specific front ends.
llvm-svn: 18968
|
|
|
|
| |
llvm-svn: 18965
|
|
|
|
| |
llvm-svn: 18964
|
|
|
|
| |
llvm-svn: 18962
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 18958
|
|
|
|
| |
llvm-svn: 18957
|
|
|
|
| |
llvm-svn: 18955
|
|
|
|
| |
llvm-svn: 18954
|
|
|
|
| |
llvm-svn: 18953
|
|
|
|
|
|
|
| |
* Remove #inclusion of FileUtilities.h, not needed any more.
* Convert getUniqueFilename -> sys::Pat::makeUnique()
llvm-svn: 18948
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
Remove getUniqueFilename and CopyFile. These are now implemented by
sys::Path::makeUnique and sys::CopyFile, respectively.
llvm-svn: 18946
|
|
|
|
|
|
| |
turning X - (constantexpr) into X + (-constantexpr) among other things.
llvm-svn: 18935
|