| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Change interface to Path class:
readable -> canRead
writable -> canWrite
executable -> canExecute
More (incremental) changes coming to close 495.
llvm-svn: 22345
|
|
|
|
|
|
| |
can't patch it up for c++ (works in C though)
llvm-svn: 22079
|
|
|
|
| |
llvm-svn: 21964
|
|
|
|
|
|
|
|
| |
BZ_OK (meaning more data is expected) but there is no more input data. In
this case, the input file is probably truncated. Generate an exception that
indicates this case when its detected.
llvm-svn: 21926
|
|
|
|
| |
llvm-svn: 21850
|
|
|
|
| |
llvm-svn: 21845
|
|
|
|
|
|
| |
* Combine multiple ``std::cerr <<'' statements into one for simplicity
llvm-svn: 21458
|
|
|
|
| |
llvm-svn: 21440
|
|
|
|
| |
llvm-svn: 21422
|
|
|
|
|
|
| |
heap!
llvm-svn: 20765
|
|
|
|
|
|
| |
leading whitespace.
llvm-svn: 20647
|
|
|
|
| |
llvm-svn: 20552
|
|
|
|
| |
llvm-svn: 20525
|
|
|
|
| |
llvm-svn: 20340
|
|
|
|
|
|
| |
for the suggestion! :)
llvm-svn: 20203
|
|
|
|
| |
llvm-svn: 20202
|
|
|
|
| |
llvm-svn: 20201
|
|
|
|
|
|
|
|
|
|
| |
handling zero length files a little more intelligently. If both files are
zero length then we return 0 (true) indicating a match. If only one of the
files is zero length then we return 1 (false) indicating that the files
differ. If the files don't agree in length then they can't match so we
skip the first loop that looks for a quick match.
llvm-svn: 20200
|
|
|
|
|
|
| |
printing help output or version info.
llvm-svn: 20180
|
|
|
|
| |
llvm-svn: 20168
|
|
|
|
|
|
|
| |
Timers' section. Since these are random timers in the program it doesn't
make sense to sum them up.
llvm-svn: 20090
|
|
|
|
|
|
| |
the same.
llvm-svn: 19929
|
|
|
|
| |
llvm-svn: 19928
|
|
|
|
|
|
|
|
|
|
| |
cases it represented them as 'unsigned's, which are not enough for 64-bit
hosts. In other cases, it represented them as uint64_t's, which are
inefficient for 32-bit hosts.
This patch unifies all of the sizes to use size_t instead.
llvm-svn: 19918
|
|
|
|
|
|
| |
really need. This reduces 4M of memory consumption reading 176.gcc.
llvm-svn: 19916
|
|
|
|
| |
llvm-svn: 19915
|
|
|
|
|
|
| |
memuse at the end, thus it is signed.
llvm-svn: 19904
|
|
|
|
| |
llvm-svn: 19782
|
|
|
|
|
|
| |
Delete dead functions.
llvm-svn: 19771
|
|
|
|
| |
llvm-svn: 19769
|
|
|
|
| |
llvm-svn: 19766
|
|
|
|
| |
llvm-svn: 19751
|
|
|
|
|
|
| |
on 64-bit Windows.
llvm-svn: 19393
|
|
|
|
| |
llvm-svn: 19378
|
|
|
|
| |
llvm-svn: 19377
|
|
|
|
| |
llvm-svn: 19240
|
|
|
|
|
|
| |
a terminal/console.
llvm-svn: 19237
|
|
|
|
|
|
|
|
|
|
| |
portability, the --track-space option was inadvertently ignored. This patch
fixes that so that sys::Process::GetMallocUsage() is only invoked if the
--track-spaces option is given. Apparently the mallinfo() call that
GetMallocUsage() uses is *very* slow, especially when processing very large
modules like projects/llvm-test/MultiSource/Applications/kimwitu++.
llvm-svn: 19163
|
|
|
|
|
|
| |
Move non-portable FDHandle class to its only user: lib/Debugger
llvm-svn: 19106
|
|
|
|
| |
llvm-svn: 19075
|
|
|
|
| |
llvm-svn: 19058
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* Remove #inclusion of FileUtilities.h, not needed any more.
* Convert getUniqueFilename -> sys::Pat::makeUnique()
llvm-svn: 18948
|
|
|
|
|
|
|
| |
Remove getUniqueFilename and CopyFile. These are now implemented by
sys::Path::makeUnique and sys::CopyFile, respectively.
llvm-svn: 18946
|
|
|
|
|
|
| |
* Remove the ExecWait function. This is now in sys::Program::ExecuteAndWait
llvm-svn: 18927
|
|
|
|
| |
llvm-svn: 18925
|