Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -918/+0 |
| | | | | llvm-svn: 120298 | ||||
* | Fix Whitespace. | Michael J. Spencer | 2010-11-10 | 1 | -6/+6 |
| | | | | llvm-svn: 118683 | ||||
* | System/Win32/Path: Implement isSymLink. | Michael J. Spencer | 2010-11-10 | 1 | -1/+9 |
| | | | | llvm-svn: 118681 | ||||
* | System/Path/Windows: Implement GetLLVMDefaultConfigDir. | Michael J. Spencer | 2010-11-09 | 1 | -2/+4 |
| | | | | llvm-svn: 118507 | ||||
* | System/Path/Windows: Generalize GetUserHomeDirectory. | Michael J. Spencer | 2010-11-09 | 1 | -8/+9 |
| | | | | llvm-svn: 118506 | ||||
* | System/Path/Windows: Make GetSystemLibraryPaths more generic. | Michael J. Spencer | 2010-11-09 | 1 | -2/+26 |
| | | | | llvm-svn: 118505 | ||||
* | System/Path/Windows: Change GetRootDirectory to return file:/// instead of C:/. | Michael J. Spencer | 2010-11-09 | 1 | -3/+3 |
| | | | | llvm-svn: 118502 | ||||
* | Remove contributor names as per coding statndard. | Michael J. Spencer | 2010-11-08 | 1 | -3/+0 |
| | | | | llvm-svn: 118442 | ||||
* | Add method for checking if a path is a symbolic link. | Rafael Espindola | 2010-11-07 | 1 | -0/+5 |
| | | | | llvm-svn: 118367 | ||||
* | appendSuffix: don't append a dot when the suffix is empty. | Mikhail Glushenkov | 2010-11-02 | 1 | -12/+0 |
| | | | | | | | Additionally, move the implementation of appendSuffix to Path.cpp: it is platform-independent. llvm-svn: 118089 | ||||
* | 80-col violations. | Mikhail Glushenkov | 2010-11-02 | 1 | -3/+5 |
| | | | | llvm-svn: 118045 | ||||
* | Path: Add GetEXESuffix() to complement GetDLLSuffix(). | Mikhail Glushenkov | 2010-11-02 | 1 | -0/+5 |
| | | | | llvm-svn: 118042 | ||||
* | Use C++03... | Michael J. Spencer | 2010-10-20 | 1 | -1/+6 |
| | | | | llvm-svn: 116927 | ||||
* | System-Win32/Path: Fix incorrect assumption in isValid. | Michael J. Spencer | 2010-10-20 | 1 | -0/+9 |
| | | | | | | | A recent commit to clang exposed a bug in the Win32 Path code. This is a minimal fix for it. llvm-svn: 116925 | ||||
* | Revert r114320(move file = copy + delete on Win32). r115040 is a better ↵ | Francois Pichet | 2010-09-30 | 1 | -11/+4 |
| | | | | | | solution for the Win32 ACCESS_DENIED lit error. llvm-svn: 115114 | ||||
* | Fix the "unable to rename temporary" lit test failing on Windows. rename is ↵ | Francois Pichet | 2010-09-20 | 1 | -4/+11 |
| | | | | | | now copy + delete on Windows. Problem to be revisited for a permanent and clean solution. llvm-svn: 114320 | ||||
* | System: Fix getMagicNumber on windows. | Michael J. Spencer | 2010-08-31 | 1 | -3/+2 |
| | | | | | | | | | | getMagicNumber was treating the _binary_ data it read in as a null terminated string. This resulted in the std::string calculating the length, and causing an assert in other code that assumed that the length it passed was the same as the length of the string it would get back. llvm-svn: 112586 | ||||
* | Don't cast Win32 FILETIME structs to int64. Patch by Dimitry Andric! | Michael J. Spencer | 2010-08-28 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | According to the Microsoft documentation here: http://msdn.microsoft.com/en-us/library/ms724284%28VS.85%29.aspx this cast used in lib/System/Win32/Path.inc: __int64 ft = *reinterpret_cast<__int64*>(&fi.ftLastWriteTime); should not be done. The documentation says: "Do not cast a pointer to a FILETIME structure to either a ULARGE_INTEGER* or __int64* value because it can cause alignment faults on 64-bit Windows." llvm-svn: 112376 | ||||
* | Path::isRootDirectory is unimplemented on Unix and not used, | Chris Lattner | 2010-07-12 | 1 | -6/+0 |
| | | | | | | remove it, fixing PR6909. llvm-svn: 108125 | ||||
* | Remove superfluous NULL assignment | Kovarththanan Rajaratnam | 2010-03-12 | 1 | -11/+11 |
| | | | | llvm-svn: 98350 | ||||
* | Fix Win32 Path.inc for API update. | Daniel Dunbar | 2009-12-18 | 1 | -1/+1 |
| | | | | llvm-svn: 91706 | ||||
* | Make Path use StringRef instead of std::string where possible. | Jeffrey Yasskin | 2009-12-17 | 1 | -15/+15 |
| | | | | llvm-svn: 91620 | ||||
* | API change Path::isSpecialFile to Path::isRegularFile, improve semantics in ↵ | Edward O'Callaghan | 2009-11-25 | 1 | -2/+4 |
| | | | | | | regards to comments from 89765 post review. llvm-svn: 89848 | ||||
* | Provide Path::isSpecialFile interface for PR5568. | Edward O'Callaghan | 2009-11-24 | 1 | -0/+5 |
| | | | | llvm-svn: 89765 | ||||
* | Path::createDirectoryOnDisk should ignore existing directories on win32 too. | Benjamin Kramer | 2009-11-05 | 1 | -2/+4 |
| | | | | llvm-svn: 86132 | ||||
* | Prune #includes from llvm/Linker.h and llvm/System/Path.h, | Chris Lattner | 2009-08-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869 | ||||
* | improve win32 path support, patch by Baptiste Lepilleur! | Chris Lattner | 2009-08-12 | 1 | -1/+2 |
| | | | | llvm-svn: 78823 | ||||
* | Don't use llvm_report_error in libSystem, this is a layering violation. | Daniel Dunbar | 2009-07-26 | 1 | -2/+2 |
| | | | | llvm-svn: 77169 | ||||
* | Use llvm_report_error, not llvm_unreachable. | Daniel Dunbar | 2009-07-12 | 1 | -2/+2 |
| | | | | llvm-svn: 75429 | ||||
* | Improve sys::Path::makeAbsolute on Win32. | Daniel Dunbar | 2009-07-12 | 1 | -0/+23 |
| | | | | | | | | - Patch by Viktor Kutuzov! - Minor tweak by me to add llvm_unreachable calls on FIXMEd error paths. llvm-svn: 75424 | ||||
* | "This patch implements the method with the GetModuleFileName function for ↵ | Chris Lattner | 2009-06-15 | 1 | -1/+3 |
| | | | | | | | | windows." Patch by Benjamin Kramer! llvm-svn: 73379 | ||||
* | add a new static method to portably determine whether a patch is | Chris Lattner | 2009-06-15 | 1 | -0/+14 |
| | | | | | | absolute or not, based on a patch by Gregory Curfman! llvm-svn: 73368 | ||||
* | hopefully fix an apparent build error on windows. | Chris Lattner | 2009-04-01 | 1 | -0/+1 |
| | | | | llvm-svn: 68175 | ||||
* | add a helper method to sys::Path for clang, patch by | Chris Lattner | 2008-08-11 | 1 | -0/+7 |
| | | | | | | Kovarththanan Rajaratnam! llvm-svn: 54655 | ||||
* | Minor comment fix. | Argyrios Kyrtzidis | 2008-06-16 | 1 | -1/+1 |
| | | | | llvm-svn: 52312 | ||||
* | Fix the sys::Path::getSuffix() implementation. | Argyrios Kyrtzidis | 2008-06-15 | 1 | -0/+16 |
| | | | | llvm-svn: 52288 | ||||
* | Make constructors target-specific. This fixes problems where the path would | Nick Lewycky | 2008-05-11 | 1 | -1/+11 |
| | | | | | | include backslashes on Windows. This should fix llvm-ld problems on win32. llvm-svn: 50960 | ||||
* | Fix renamePathOnDisk on Win32, patch from David Leon. This fixes problems with | Nick Lewycky | 2008-05-06 | 1 | -1/+1 |
| | | | | | | llvm-ar being unable to rename files. llvm-svn: 50702 | ||||
* | Make getDirnameSep a static method (not part of Path's interface). | Ted Kremenek | 2008-04-07 | 1 | -1/+3 |
| | | | | llvm-svn: 49354 | ||||
* | Added method Path::getDirname(). | Ted Kremenek | 2008-04-07 | 1 | -0/+2 |
| | | | | llvm-svn: 49352 | ||||
* | Stub out some sys::Path::MapInFilePages/UnMapFilePages methods. | Chris Lattner | 2008-04-01 | 1 | -0/+10 |
| | | | | llvm-svn: 49030 | ||||
* | remove extraneous namespace qualifier, PR2142 | Chris Lattner | 2008-03-13 | 1 | -2/+1 |
| | | | | llvm-svn: 48327 | ||||
* | Stub out a Path::GetMainExecutable call to find the path to the | Chris Lattner | 2008-03-03 | 1 | -0/+6 |
| | | | | | | main executable of a program. This needs to be implemented on windows. llvm-svn: 47835 | ||||
* | Add path separator support, patch by Sam Bishop. | Chris Lattner | 2008-02-27 | 1 | -19/+2 |
| | | | | llvm-svn: 47662 | ||||
* | Use empty() instead of comparing size() with zero. | Dan Gohman | 2008-01-29 | 1 | -1/+1 |
| | | | | llvm-svn: 46514 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | Unbreak mingw build | Anton Korobeynikov | 2007-12-22 | 1 | -1/+2 |
| | | | | llvm-svn: 45314 | ||||
* | Added "GetCurrentDirectory()" to sys::Path. | Ted Kremenek | 2007-12-18 | 1 | -0/+9 |
| | | | | llvm-svn: 45182 | ||||
* | Added "isDirectory" method to llvm::sys::Path. | Ted Kremenek | 2007-12-18 | 1 | -0/+7 |
| | | | | llvm-svn: 45168 | ||||
* | finishing touches of bytecode -> bitcode changes. also unbreak Windows | Gabor Greif | 2007-07-06 | 1 | -1/+1 |
| | | | | llvm-svn: 37950 |