| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
no tolerance is set.
llvm-svn: 106033
|
|
|
|
|
|
|
|
|
| |
1..19 ok
to
1..20 o k
(yes, the odd space is necessary).
llvm-svn: 106032
|
|
|
|
| |
llvm-svn: 94808
|
|
|
|
| |
llvm-svn: 50659
|
|
|
|
|
|
|
|
| |
start of a filename, not a filename+length. All clients can produce a
null terminated name, and the system api's require null terminated
strings anyway.
llvm-svn: 49041
|
|
|
|
|
|
|
|
| |
not an mmapped file. This more closely matches its requirements and
provides an implicitly null terminated buffer, something this
routine had to emulate itself before.
llvm-svn: 49024
|
|
|
|
|
|
|
| |
and shared. This complicates the design, is not used, and probably
doesn't even work.
llvm-svn: 49022
|
|
|
|
|
|
| |
annoying warnings.
llvm-svn: 47367
|
|
|
|
| |
llvm-svn: 46458
|
|
|
|
| |
llvm-svn: 46455
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
|
|
|
| |
Change uses of sys::Path class to sys::PathWithStatus in those places where
the file status information is needed.
llvm-svn: 35743
|
|
|
|
|
|
|
|
| |
Make the sys::Path::getFileStatus function more efficient by having it
return a pointer to the FileStatus structure rather than copy it. Adjust
uses of the function accordingly. Also, fix some memory issues in sys::Path.
llvm-svn: 35476
|
|
|
|
|
|
| |
Updates for change in interface of getFileStatus method of sys::Path class.
llvm-svn: 35458
|
|
|
|
| |
llvm-svn: 31908
|
|
|
|
| |
llvm-svn: 31561
|
|
|
|
|
|
|
| |
to describe the difference being reported. This assists with understanding
differences an llvm-test and should help with bugpoint too.
llvm-svn: 31044
|
|
|
|
|
|
|
| |
Final remove of exception handling from this file. lib/System can no longer
throw exceptions so there's no need for try/catch blocks here.
llvm-svn: 29848
|
|
|
|
|
|
|
|
|
|
| |
Adjust users of MappedFile to its new non-throwing interface. Note that in
most cases the lazy step of just throwing after a call to MappedFile was
installed. This was done in the name of incremental changes. Getting rid of
the new throw statements will take adjustment of interfaces and propagation
of errors to higher levels. Those changes will come in subsequent patches.
llvm-svn: 29817
|
|
|
|
|
|
|
|
| |
instead of throwing an exception. This reduces the amount of code that is
exposed to exceptions (e.g. FileUtilities), though it is clearly only one step
along the way.
llvm-svn: 29395
|
|
|
|
|
|
|
| |
Add an additional catch block to ensure that this function can't throw any
exceptions, even one's we're not expecting.
llvm-svn: 28309
|
|
|
|
|
|
|
| |
instead of E for exponentials (e.g. 1.234D-43). Add support for this
notation.
llvm-svn: 22574
|
|
|
|
| |
llvm-svn: 21422
|
|
|
|
|
|
| |
leading whitespace.
llvm-svn: 20647
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 19782
|
|
|
|
|
|
| |
Delete dead functions.
llvm-svn: 19771
|
|
|
|
| |
llvm-svn: 19769
|
|
|
|
| |
llvm-svn: 19766
|
|
|
|
| |
llvm-svn: 19751
|
|
|
|
|
|
| |
Move non-portable FDHandle class to its only user: lib/Debugger
llvm-svn: 19106
|
|
|
|
|
|
|
|
| |
* 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 getUniqueFilename and CopyFile. These are now implemented by
sys::Path::makeUnique and sys::CopyFile, respectively.
llvm-svn: 18946
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 18910
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 18903
|
|
|
|
|
|
|
|
| |
The getFileTimestamp and getFileSize functions have been removed from \
FileUtilities.{h,cpp}. They are replaced by Path::getTimestamp and \
Path::getSize,respectively.
llvm-svn: 18892
|
|
|
|
| |
llvm-svn: 18846
|
|
|
|
| |
llvm-svn: 17634
|
|
|
|
|
|
|
|
| |
into memor. This is just a reminder that the ReadFileIntoAddressSpace
function needs to be properly converted to lib/System and implemented via
read/write if there's no mmap of file support.
llvm-svn: 16428
|
|
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
|
|
|
|
|
| |
system specific stuff on HAVE_MKSTEMP
llvm-svn: 14051
|
|
|
|
| |
llvm-svn: 14041
|
|
|
|
| |
llvm-svn: 13945
|
|
|
|
| |
llvm-svn: 13866
|
|
|
|
|
|
| |
for reading.
llvm-svn: 13863
|
|
|
|
| |
llvm-svn: 10664
|
|
|
|
| |
llvm-svn: 10649
|