- Aug 10, 2012
-
-
Joerg Sonnenberger authored
includes both. Deal with feof and ferror potentially being macros. llvm-svn: 161658
-
- Jun 20, 2012
-
-
Nick Kledzik authored
Add permissions(), map_file_pages(), and unmap_file_pages() to llvm::sys::fs and add unit test. Unix is implemented. Windows side needs to be implemented. llvm-svn: 158770
-
- Jun 02, 2012
-
-
Benjamin Kramer authored
Apart from being slightly cheaper, this fixes a real bug that hits 32 bit linux systems. When passing a file larger than 2G to be linked (which isn't that uncommon with large projects such as WebKit), clang's driver checks if the file exists but the file size doesn't fit in an off_t and stat(2) fails with EOVERFLOW. Clang then says that the file doesn't exist instead of passing it to the linker. llvm-svn: 157891
-
- May 11, 2012
-
-
Eric Christopher authored
to user only read/write. Part of rdar://11325849 llvm-svn: 156591
-
- May 05, 2012
-
-
Daniel Dunbar authored
llvm-svn: 156239
-
Daniel Dunbar authored
- Just use sys::Process::GetRandomNumber instead of having two poor implementations. - This is ~70 times (!) faster on my OS X machine. llvm-svn: 156238
-
- Apr 23, 2012
-
-
Sylvestre Ledru authored
The problem is that the struct file_status on UNIX systems has two members called st_dev and st_ino; those are also members of the struct stat, and they are reserved identifiers which can also be provided as #define (and this is the case for st_dev on Hurd). The solution (attached) is to rename them, for example adding a "fs_" prefix (= file status) to them. Patch by Pino Toscano llvm-svn: 155354
-
- Apr 11, 2012
-
-
Sylvestre Ledru authored
Thanks to Pino Toscano for the patch llvm-svn: 154500
-
- Feb 09, 2012
-
-
David Blaikie authored
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) llvm-svn: 150197
-
- Dec 12, 2011
-
-
Chad Rosier authored
Original commit message: Support/FileSystem: Implement canonicalize. llvm-svn: 146378
-
Michael J. Spencer authored
llvm-svn: 146364
-
Michael J. Spencer authored
llvm-svn: 146363
-
- Dec 08, 2011
-
-
Michael J. Spencer authored
directory_iterator preserve InputIterator semantics on copy. llvm-svn: 146200
-
- Sep 14, 2011
-
-
Bill Wendling authored
Patch by Joakim Johansson! llvm-svn: 139743
-
- Jul 28, 2011
-
-
Argyrios Kyrtzidis authored
If true and 'model' parameter is not an absolute path, a temp directory will be prepended. Make it true by default to match current behaviour. llvm-svn: 136310
-
- Mar 24, 2011
-
-
Andrew Trick authored
llvm-svn: 128218
-
Michael J. Spencer authored
llvm-svn: 128199
-
- Feb 10, 2011
-
-
Douglas Gregor authored
I have another way to achieve the same goal. llvm-svn: 125239
-
Cameron Zwarich authored
llvm-svn: 125236
-
- Feb 09, 2011
-
-
Douglas Gregor authored
name of a path, after resolving symbolic links and eliminating excess path elements such as "foo/../" and "./". This routine still needs a Windows implementation, but I don't have a Windows machine available. Help? Please? llvm-svn: 125228
-
- Jan 16, 2011
-
-
Michael J. Spencer authored
llvm-svn: 123604
-
- Jan 15, 2011
-
-
Michael J. Spencer authored
llvm-svn: 123544
-
- Jan 05, 2011
-
-
Michael J. Spencer authored
llvm-svn: 122879
-
- Dec 07, 2010
-
-
Michael J. Spencer authored
via their return value instead of an out parameter. llvm-svn: 121149
-
Michael J. Spencer authored
namespace. None of them return anything except for success anyway. These will be converted to returning their result soon. llvm-svn: 121109
-
Michael J. Spencer authored
that close or unlink set. llvm-svn: 121094
-
Michael J. Spencer authored
the standard macros instead of octal notation. llvm-svn: 121093
-
Michael J. Spencer authored
llvm-svn: 121092
-
Michael J. Spencer authored
llvm-svn: 121091
-
Michael J. Spencer authored
Unix bug spotted by Dan Gohman. llvm-svn: 121090
-
- Dec 04, 2010
-
-
Michael J. Spencer authored
llvm-svn: 120913
-
Michael J. Spencer authored
llvm-svn: 120870
-
Michael J. Spencer authored
llvm-svn: 120867
-
- Dec 03, 2010
-
-
Michael J. Spencer authored
llvm-svn: 120827
-
Michael J. Spencer authored
llvm-svn: 120819
-
Michael J. Spencer authored
llvm-svn: 120818
-
Michael J. Spencer authored
llvm-svn: 120817
-
Michael J. Spencer authored
llvm-svn: 120800
-
Michael J. Spencer authored
llvm-svn: 120792
-
Michael J. Spencer authored
llvm-svn: 120790
-