History log of /external/llvm/lib/Support/FileUtilities.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd81d94322a39503e4a3e87b6ee03d4fcb3465fb 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/lib/Support/FileUtilities.cpp
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/lib/Support/FileUtilities.cpp
6a3c89846f242b61236155e0e7100850327a222d 10-Jul-2013 Rafael Espindola <rafael.espindola@gmail.com> MemoryBuffer::getFile handles zero sized files, no need to duplicate the test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186018 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
80cecc8c6091b03905cdd35c4c374c20ad0702c1 14-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove a use of PathV1.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183982 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
bbf97ea7d5832922b3c40b67701b5719bfcb772b 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Don't use PathV1.h in FileUtilities.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183941 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
87d0b9ed1462705dd9bf1cb7f67d0bf03af776c8 12-Feb-2013 Guy Benyei <guy.benyei@intel.com> Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
d04a8d4b33ff316ca4cf961e06c9e312eff8e64f 03-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Use the new script to sort the includes of every file under lib.

Sooooo many of these had incorrect or strange main module includes.
I have manually inspected all of these, and fixed the main module
include to be the nearest plausible thing I could find. If you own or
care about any of these source files, I encourage you to take some time
and check that these edits were sensible. I can't have broken anything
(I strictly added headers, and reordered them, never removed), but they
may not be the headers you'd really like to identify as containing the
API being implemented.

Many forward declarations and missing includes were added to a header
files to allow them to parse cleanly when included first. The main
module rule does in fact have its merits. =]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
58604cd944eec4a75046076cb53eb708aaf2ee09 09-Feb-2012 David Blaikie <dblaikie@gmail.com> Change default error_code ctor to a 'named ctor' so it's more self-documenting.

Unify default construction of error_code uses on this idiom so that users don't
feel compelled to make static globals for naming convenience. (unfortunately I
couldn't make the original ctor private as some APIs don't return their result,
instead using an out parameter (that makes sense to default construct) - which
is a bit of a pity. I did, however, find/fix some cases of unnecessary default
construction of error_code before I hit the unfixable cases)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150197 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
7a2bdde0a0eebcd2125055e0eacaca040f0b766c 15-Apr-2011 Chris Lattner <sabre@nondot.org> Fix a ton of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
3ff9563c3e391954b2e224afcf8b2b0fcc3888aa 16-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121958 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
333ad3f2bf2941618f8e1563da022da011e615c0 09-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> Fix whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121382 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
333fb04506233255f10d8095c9e2de5e5f0fdc6f 09-Dec-2010 Michael J. Spencer <bigcheesegs@gmail.com> Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
1f6efa3996dd1929fbc129203ce5009b620e6969 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
71907fbebf5a812b9a117574b196d8ff9561ac75 15-Jun-2010 Daniel Dunbar <daniel@zuster.org> fpcmp: Fix bug where fpcmp wouldn't early exit when files obviously differ and
no tolerance is set.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106033 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
d1c82fe726a8776cb965c5bf1f6f6c0d311ef6bc 15-Jun-2010 Daniel Dunbar <daniel@zuster.org> fpcmp: Fix a possible infinite loop when comparing something like:
1..19 ok
to
1..20 o k
(yes, the odd space is necessary).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106032 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
5908839cedfa4cfb3b7a89db01f987c47e64aa90 29-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com> Convert some users of ftostr to raw_ostream.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94808 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
34cd4a484e532cc463fd5a4bf59b88d13c5467c1 05-May-2008 Evan Cheng <evan.cheng@apple.com> Fix more -Wshorten-64-to-32 warnings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50659 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
038112a4e0a9afd656f415ab397a230ae5921627 01-Apr-2008 Chris Lattner <sabre@nondot.org> Change the MemoryBuffer::getFile* methods to take just a pointer to the
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
a7750c1142baa5ad812d5209526a0b6568201e0e 01-Apr-2008 Chris Lattner <sabre@nondot.org> Change DiffFilesWithTolerance to be written in terms of MemoryBuffer,
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49024 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
bdbd2d710c665bcdf31cbed4b44cf3f94ba746e7 01-Apr-2008 Chris Lattner <sabre@nondot.org> Remove MappedFile support for mapping files for write and exec
and shared. This complicates the design, is not used, and probably
doesn't even work.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49022 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
ae9f3a3b7c915f725aef5a7250e88eaeddda03c6 20-Feb-2008 Anton Korobeynikov <asl@math.spbu.ru> Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47367 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
42f6e455de71099d12d30dc928748147bfc8f801 28-Jan-2008 Lauro Ramos Venancio <lauro.venancio@gmail.com> Simplify the code and fix a typo.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46458 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
599ddf9a7693a315a03fc77cf612eec53dee5f67 28-Jan-2008 Lauro Ramos Venancio <lauro.venancio@gmail.com> Fix fpcmp infinite loop when comparing "29-266" with "29-268".



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46455 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
4ee451de366474b9c228b4e5fa573795a715216d 29-Dec-2007 Chris Lattner <sabre@nondot.org> Remove attribution from file headers, per discussion on llvmdev.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45418 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
c74b4615071151b20fb1f82b11f85c2a1ba53e75 07-Apr-2007 Reid Spencer <rspencer@reidspencer.com> For PR1291:
Change uses of sys::Path class to sys::PathWithStatus in those places where
the file status information is needed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
8475ec068c213d0bf73f7686d82491a8f12e3b32 29-Mar-2007 Reid Spencer <rspencer@reidspencer.com> For PR789:
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35476 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
5ba2b702c21052346f171ab277824dc0e549ff77 29-Mar-2007 Reid Spencer <rspencer@reidspencer.com> For PR789:
Updates for change in interface of getFileStatus method of sys::Path class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35458 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
9df1246a1547064adc827318c4e8644be511244b 25-Nov-2006 Reid Spencer <rspencer@reidspencer.com> Make the absolute/relative tolerance information easier to read/understand.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31908 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
d6c3422e3126927840683574a658a0deada903f0 08-Nov-2006 Jim Laskey <jlaskey@mac.com> Remove redundant <cmath>.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
bfb8eaff7356543c7f59394c74a0229684dad222 18-Oct-2006 Reid Spencer <rspencer@reidspencer.com> Beef up the output from DiffFilesWithTolerance by setting the error code
to describe the difference being reported. This assists with understanding
differences an llvm-test and should help with bugpoint too.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
30493372f3d403c9637eb479e7d0c4388b715c41 23-Aug-2006 Reid Spencer <rspencer@reidspencer.com> For PR797:
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29848 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
862796959796d69fa490107d880854739660ffad 22-Aug-2006 Reid Spencer <rspencer@reidspencer.com> For PR797:
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29817 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
252ad03d7db0add504fdcc6bd67c1bc1e28bdd57 29-Jul-2006 Chris Lattner <sabre@nondot.org> Change Path::getStatusInfo to return a boolean and error string on an error
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
c64f1488ed214ce71dc5c56ca838fea9de2304b7 16-May-2006 Reid Spencer <rspencer@reidspencer.com> For PR777:
Add an additional catch block to ensure that this function can't throw any
exceptions, even one's we're not expecting.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
8dcd5483bce94be0ac02dd5c8b749a9a2458ee2b 02-Aug-2005 Chris Lattner <sabre@nondot.org> 200.sixtrack prints FP numbers with a very strange notation that uses D
instead of E for exponentials (e.g. 1.234D-43). Add support for this
notation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22574 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
f976c856fcc5055f3fc7d9f070d72c2d027c1d9d 22-Apr-2005 Misha Brukman <brukman+llvm@gmail.com> Remove trailing whitespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21422 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
c0d0e77042ef85ade9145ff2e922487a6e49cc07 17-Mar-2005 Chris Lattner <sabre@nondot.org> Fix a bug where we would consider " .99" and "1.0" different because of the
leading whitespace.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20647 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
2ee51cbeb8f83f0b04d9611535151c801bbe3d4b 15-Feb-2005 Chris Lattner <sabre@nondot.org> Instead of doing a manual comparison loop, just use memcmp, thanks to JohnC
for the suggestion! :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
e4b6a86852966fa217630d09e5b61df25b43fda0 15-Feb-2005 Chris Lattner <sabre@nondot.org> Make this more efficient now that we know both files are the same length.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20202 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
1e1a99fffac551af96df11a9149f40e17f68af42 15-Feb-2005 Misha Brukman <brukman+llvm@gmail.com> Fix spelling


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20201 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
45d55641fa3af536e48be446647ff51b15109992 15-Feb-2005 Reid Spencer <rspencer@reidspencer.com> Adjust DiffFilesWithTolerance to help poor cygwin's mmap facility by
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
da7e70e058108fb444741a721ccfb38d40154e5b 23-Jan-2005 Chris Lattner <sabre@nondot.org> Fix crash comparing empty file against nonempty file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19782 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
cc1b90b0e768478c2f7d62f7e1cbc95d8e6cb237 23-Jan-2005 Chris Lattner <sabre@nondot.org> Make DiffFilesWithTolerance take sys::Path's instead of std::strings
Delete dead functions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19771 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
c95b5604e0a248f59c2cf2d4ed93122d8c42bd45 23-Jan-2005 Chris Lattner <sabre@nondot.org> Fix a bug in previous checkin


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19769 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
44542539233acdaf1a72179cd38506478b432de9 23-Jan-2005 Chris Lattner <sabre@nondot.org> Add a new method, refactored out of fpcmp


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19766 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
5fb6ed4ae608c6f7ef589f1069b5dd5c7bdbd60b 22-Jan-2005 Jeff Cohen <jeffc@jolt-lang.org> Use binary mode for reading/writing bytecode files


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
772192cf36edeaed9366382914f820e1d81c605a 22-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:
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
/external/llvm/lib/Support/FileUtilities.cpp
a2f7ed7035b38a13c65c04fa3b626197bd9d360a 17-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:
* 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
/external/llvm/lib/Support/FileUtilities.cpp
67f6d3ad30941e0ac6d36939c271eec7d7b8a0e2 15-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:
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
/external/llvm/lib/Support/FileUtilities.cpp
2356f8612e2e7441d6c829b6886cc5c2a4a1671d 13-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:
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
/external/llvm/lib/Support/FileUtilities.cpp
2923f345334432ec8407aebd1ece560a531e9e08 13-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:
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
/external/llvm/lib/Support/FileUtilities.cpp
9d88d1aaab145e18c8e0fe93544f8a1ff0474866 13-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351: \
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
/external/llvm/lib/Support/FileUtilities.cpp
d99eaa3c1f7bfb930b7b0b85fd67d269b20d1804 13-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:Remove the file type checking methods (now in sys::Path)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
336e56e67d6e4ebce1eadca0446f023be859d114 08-Nov-2004 Misha Brukman <brukman+llvm@gmail.com> Handle headers for compressed bytecode files


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17634 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
d232438f542fa8b2e6a0fa237ac39d6475eb153f 20-Sep-2004 Reid Spencer <rspencer@reidspencer.com> Put in a #error in the event that we don't have an mmap that can map a file
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
551ccae044b0ff658fe629dd67edd5ffe75d10e8 02-Sep-2004 Reid Spencer <rspencer@reidspencer.com> Changes For Bug 352
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/.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
fa5fe7c8b88df6e27ac1dacd8b27aa1c3ef6b25d 07-Jun-2004 Chris Lattner <sabre@nondot.org> Make all of this functionality work directly on win32. Properly conditionalize
system specific stuff on HAVE_MKSTEMP


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14051 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
8868e84614d376a2172eae1b8c381b3ff16d9ead 05-Jun-2004 Alkis Evlogimenos <alkis@evlogimenos.com> Include cerrno.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
5bfac5d2edac78a0c0f91e751dc0c173158a4829 02-Jun-2004 Chris Lattner <sabre@nondot.org> Implement the new CopyFile function


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13945 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
e53477e56ce6ead4a17e66c53689c8feb2df7dd5 28-May-2004 Chris Lattner <sabre@nondot.org> Add support for zero length files


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13866 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
eb082995180756068af35bb826a9017975d87a51 28-May-2004 Chris Lattner <sabre@nondot.org> Add a pair of functions to hide system specific details of mapping a file in for reading.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13863 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
81a085a2598a877a02dbedf9d91e7bf899fb2f02 31-Dec-2003 Chris Lattner <sabre@nondot.org> Add new function


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10664 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
316cb083d66a38cf5d5975b974099c879e126341 30-Dec-2003 Chris Lattner <sabre@nondot.org> Add new method


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10649 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
9899ae3ae85e0d5cdb1a2fad0f527e5145da7f8c 30-Dec-2003 Chris Lattner <sabre@nondot.org> Further revisions of the FDHandle idea. In this version we use ownership
semantics that are the same as those used by std::auto_ptr. This allows
copying of FDHandle's, but copying transfers ownership.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10646 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
9b448b703fbd60951a57e4d912bcbaf0181ed253 29-Dec-2003 Chris Lattner <sabre@nondot.org> Add trivial exception specs to produce better code since the methods cannot
be inlined.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10643 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
2d6481cc2a168c4a867f8046119607f72552ef31 29-Dec-2003 Chris Lattner <sabre@nondot.org> Factor FDHandle out of the bytecode reader into the FileUtilities.h support
routines.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10642 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
2cdd21c2e4d855500dfb53f77aa74da53ccf9de6 14-Dec-2003 Chris Lattner <sabre@nondot.org> Finegrainify namespacification


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10464 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
971a7b88b56b55e6c03e7b0be886fab533216aaa 24-Nov-2003 Misha Brukman <brukman+llvm@gmail.com> Fix copy-pasto.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10197 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
17cca96735f3f7b4afeb44c67a0b191722ef6d20 24-Nov-2003 Misha Brukman <brukman+llvm@gmail.com> Add ability to query if a file is a legitimate ELF shared object.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
d0fde30ce850b78371fd1386338350591f9ff494 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Put all LLVM code into the llvm namespace, as per bug 109.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
a2302ffe78b2afe334f3b41eaf8a745b5608fa23 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Move IsArchive and IsBytecode here from gccld. Refactor into CheckMagic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9901 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
56be7ffe58b4e05c72b314841f0c168a7b307d84 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Add implementation of FileOpenable().
Refactor MakeFileExecutable() & MakeFileExecutable() into AddPermissionsBits().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9892 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
b576c94c15af9a440f69d9d03c2afead7971118c 20-Oct-2003 John Criswell <criswell@uiuc.edu> Added LLVM project notice to the top of every C++ source file.
Header files will be on the way.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
950971dfe6271e85292f73dd6ac105465e4898f7 16-Sep-2003 Misha Brukman <brukman+llvm@gmail.com> Fixed spelling & grammar.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8559 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
66622be46acfdebdfb82f1f6b988912ec8b61754 02-Sep-2003 John Criswell <criswell@uiuc.edu> Added the MakeFileReadable() method.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8327 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
9adeccc552d6f28bdc503a8c1ffe13ea6ea6d73d 02-Sep-2003 John Criswell <criswell@uiuc.edu> Added a description of the algorithm.
Return failure if the chmod() fails.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8326 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
6991a03753db092e2e5b269ebdc898ff5cfc43a8 02-Sep-2003 John Criswell <criswell@uiuc.edu> Added the MakeFileExecutable() method. This method takes a filename and
gives it execute access while respecting the user's umask.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8324 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
da81eca4bb9ac89f4e5643ec4cb2cfa886edea05 07-Aug-2003 Misha Brukman <brukman+llvm@gmail.com> close() requires "unistd.h" .


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7695 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
3d1b0c73319ec1d01ec927ead03a09bbc62c7aea 07-Aug-2003 Misha Brukman <brukman+llvm@gmail.com> Moved removeFile() and getUniqueFilename() into FileUtilities.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7691 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp
7a6ff2b98e0c7d4c54a4c04edb4357371f34d17f 01-Aug-2003 Chris Lattner <sabre@nondot.org> Check in the implementation of the FileUtilities!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/FileUtilities.cpp