Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include <pthread.h> before we use pthread_self/pthread_kill | Douglas Gregor | 2011-04-29 | 1 | -3/+3 |
| | | | | llvm-svn: 130510 | ||||
* | sys/Host: Change getHostTriple() to return the full Darwin version on OS X. | Daniel Dunbar | 2011-04-20 | 1 | -4/+1 |
| | | | | llvm-svn: 129852 | ||||
* | Fix a ton of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 2 | -2/+2 |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558 | ||||
* | revert r128199 until it can be made to work with Frontend/dependency-gen.c. | Andrew Trick | 2011-03-24 | 1 | -5/+9 |
| | | | | llvm-svn: 128218 | ||||
* | Remove all uses of PATH_MAX and MAXPATHLEN from PathV2. | Michael J. Spencer | 2011-03-24 | 1 | -9/+5 |
| | | | | llvm-svn: 128199 | ||||
* | Avoid initializing posix_spawn_file_actions_t if not used. | Benjamin Kramer | 2011-03-20 | 1 | -7/+11 |
| | | | | | | | - glibc falls back to fork+exec if a file actions object is present. - On BSDs this saves a malloc. llvm-svn: 127969 | ||||
* | setExecutable() should default to success if there's nothing custom for it. | Jim Grosbach | 2011-03-18 | 1 | -1/+1 |
| | | | | llvm-svn: 127891 | ||||
* | Add r127409 back now that the windows file was updated. | Rafael Espindola | 2011-03-10 | 1 | -3/+3 |
| | | | | llvm-svn: 127417 | ||||
* | Revert r127409 which broke all the Windows bots. | Jakob Stoklund Olesen | 2011-03-10 | 1 | -3/+3 |
| | | | | llvm-svn: 127413 | ||||
* | Add support for MemoryBuffers that are not null terminated and add | Rafael Espindola | 2011-03-10 | 1 | -3/+3 |
| | | | | | | support for creating buffers that cover only a part of a file. llvm-svn: 127409 | ||||
* | improve support for OpenBSD, patch by Amit Kulkarni! | Chris Lattner | 2011-02-18 | 1 | -2/+4 |
| | | | | llvm-svn: 125943 | ||||
* | Rip out realpath() support. It's expensive, and often a bad idea, and | Douglas Gregor | 2011-02-09 | 1 | -30/+0 |
| | | | | | | I have another way to achieve the same goal. llvm-svn: 125239 | ||||
* | Attempt to fix the build after r125228. | Cameron Zwarich | 2011-02-09 | 1 | -2/+2 |
| | | | | llvm-svn: 125236 | ||||
* | Add llvm::sys::path::canonical(), which provides the canonicalized | Douglas Gregor | 2011-02-09 | 1 | -0/+30 |
| | | | | | | | | | | 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 | ||||
* | Fix rename. | Michael J. Spencer | 2011-01-16 | 1 | -2/+11 |
| | | | | llvm-svn: 123604 | ||||
* | Support/PathV2: Implement get_magic. | Michael J. Spencer | 2011-01-15 | 1 | -0/+31 |
| | | | | llvm-svn: 123544 | ||||
* | Support/Path: Deprecate PathV1::isDirectory and replace all uses with ↵ | Michael J. Spencer | 2011-01-11 | 1 | -1/+2 |
| | | | | | | PathV2::is_directory. llvm-svn: 123209 | ||||
* | Support/Path: Deprecate PathV1::exists and replace all uses with ↵ | Michael J. Spencer | 2011-01-10 | 2 | -2/+5 |
| | | | | | | PathV2::fs::exists. llvm-svn: 123151 | ||||
* | Support/PathV2: Implement directory iteration on POSIX. | Michael J. Spencer | 2011-01-05 | 1 | -0/+54 |
| | | | | llvm-svn: 122879 | ||||
* | Support/PathV1: Deprecate GetRootDirectory. | Michael J. Spencer | 2010-12-27 | 1 | -6/+5 |
| | | | | llvm-svn: 122580 | ||||
* | Support/PathV1: Deprecate makeAbsolute and remove Unix impl because it ↵ | Michael J. Spencer | 2010-12-25 | 1 | -12/+0 |
| | | | | | | annoys people. llvm-svn: 122553 | ||||
* | Add missing standard headers. Patch by Joerg Sonnenberger! | Nick Lewycky | 2010-12-19 | 1 | -0/+1 |
| | | | | llvm-svn: 122193 | ||||
* | Support: Remove Alarm. It is unused (via local grep and google code search). | Michael J. Spencer | 2010-12-07 | 1 | -72/+0 |
| | | | | llvm-svn: 121160 | ||||
* | Support/PathV2: Change most functions in the path namespace to return their work | Michael J. Spencer | 2010-12-07 | 1 | -2/+1 |
| | | | | | | via their return value instead of an out parameter. llvm-svn: 121149 | ||||
* | Support/PathV2: Remove the error_code return type from all functions in the path | Michael J. Spencer | 2010-12-07 | 1 | -3/+3 |
| | | | | | | | namespace. None of them return anything except for success anyway. These will be converted to returning their result soon. llvm-svn: 121109 | ||||
* | Support/Unix/PathV2: Return the real error from realpath instead of any error | Michael J. Spencer | 2010-12-07 | 1 | -1/+2 |
| | | | | | | that close or unlink set. llvm-svn: 121094 | ||||
* | Support/Unix/PathV2: Use 0770 instead of 0700 when creating a directory. ↵ | Michael J. Spencer | 2010-12-07 | 1 | -1/+1 |
| | | | | | | | | Also use the standard macros instead of octal notation. llvm-svn: 121093 | ||||
* | Support/PathV2: Use SmallVector::clear instead of set_size. | Michael J. Spencer | 2010-12-07 | 1 | -2/+2 |
| | | | | llvm-svn: 121092 | ||||
* | Support/PathV2: Clarify and correct documentation. | Michael J. Spencer | 2010-12-07 | 1 | -0/+5 |
| | | | | llvm-svn: 121091 | ||||
* | Support/PathV2: Move current_path from path to fs and fix the Unix ↵ | Michael J. Spencer | 2010-12-07 | 1 | -11/+13 |
| | | | | | | | | implementation. Unix bug spotted by Dan Gohman. llvm-svn: 121090 | ||||
* | Support/PathV2: Remove redundant calls to make_error_code. | Michael J. Spencer | 2010-12-04 | 1 | -21/+21 |
| | | | | llvm-svn: 120913 | ||||
* | Support/FileSystem: Add status implementation. | Michael J. Spencer | 2010-12-04 | 1 | -0/+32 |
| | | | | llvm-svn: 120870 | ||||
* | Support/FileSystem: Add file_size implementation. | Michael J. Spencer | 2010-12-04 | 1 | -0/+14 |
| | | | | llvm-svn: 120867 | ||||
* | Support/FileSystem: Add equivalent implementation. | Michael J. Spencer | 2010-12-03 | 1 | -0/+25 |
| | | | | llvm-svn: 120827 | ||||
* | Support/FileSystem: Add resize_file implementation. | Michael J. Spencer | 2010-12-03 | 1 | -0/+10 |
| | | | | llvm-svn: 120819 | ||||
* | Support/FileSystem: Add rename implementation. | Michael J. Spencer | 2010-12-03 | 1 | -0/+13 |
| | | | | llvm-svn: 120818 | ||||
* | Support/FileSystem: Add remove implementation. | Michael J. Spencer | 2010-12-03 | 1 | -0/+14 |
| | | | | llvm-svn: 120817 | ||||
* | Support/FileSystem: Add create_symlink implementation. | Michael J. Spencer | 2010-12-03 | 1 | -0/+13 |
| | | | | llvm-svn: 120800 | ||||
* | Support/FileSystem: Add create_hard_link implementation. | Michael J. Spencer | 2010-12-03 | 1 | -0/+13 |
| | | | | llvm-svn: 120792 | ||||
* | Support/FileSystem: Add create_director{y,ies} implementations. | Michael J. Spencer | 2010-12-03 | 1 | -0/+14 |
| | | | | llvm-svn: 120790 | ||||
* | Support/FileSystem: Add unique_file and exists implementations. | Michael J. Spencer | 2010-12-03 | 1 | -2/+129 |
| | | | | llvm-svn: 120776 | ||||
* | Support/FileSystem: Fix copy_file implementation to use ↵ | Michael J. Spencer | 2010-12-01 | 1 | -2/+2 |
| | | | | | | | | toNullTerminatedStringRef instead of toStringRef. The file system APIs need c strings. llvm-svn: 120601 | ||||
* | Support/FileSystem: Add copy_file implementation. Not tests yet because the | Michael J. Spencer | 2010-12-01 | 1 | -0/+92 |
| | | | | | | file creation APIs aren't implemented. llvm-svn: 120593 | ||||
* | Support: Add PathV2 implementation. | Michael J. Spencer | 2010-11-29 | 1 | -0/+39 |
| | | | | llvm-svn: 120329 | ||||
* | Now to chant the magical incantation that will exorcise the System library | Charles Davis | 2010-11-29 | 8 | -8/+8 |
| | | | | | | | | from LLVM forever: grep -lR "llvm/System" * | grep -v .svn | xargs sed -ie 's#llvm/System#llvm/Support#g' llvm-svn: 120314 | ||||
* | Missed a spot. | Michael J. Spencer | 2010-11-29 | 1 | -1/+1 |
| | | | | llvm-svn: 120301 | ||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 14 | -0/+2540 |
llvm-svn: 120298 |