Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [APFloat] Converted all references to APFloat::isNormal => ↵ | Michael Gottesman | 2013-06-19 | 1 | -3/+3 | |
| | | | | | | | | APFloat::isFiniteNonZero. Turns out all the references were in llvm and not in clang. llvm-svn: 184356 | |||||
* | Modified the implementation of fs::GetUniqueID on Windows such that it ↵ | Aaron Ballman | 2013-06-19 | 1 | -9/+14 | |
| | | | | | | actually finds a unique identifier for a file. Also adds unit tests for GetUniqueID. llvm-svn: 184351 | |||||
* | Remove Path::getDirectoryContents. | Rafael Espindola | 2013-06-19 | 2 | -78/+0 | |
| | | | | llvm-svn: 184311 | |||||
* | Remove Path::isObjectFile. | Rafael Espindola | 2013-06-19 | 1 | -8/+0 | |
| | | | | llvm-svn: 184305 | |||||
* | Remove Path::canExecute. | Rafael Espindola | 2013-06-19 | 2 | -19/+0 | |
| | | | | llvm-svn: 184298 | |||||
* | Fixed comment typo that causes the given comment to actually make sense. | Michael Gottesman | 2013-06-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 184286 | |||||
* | Remove Path::canWrite. | Rafael Espindola | 2013-06-18 | 2 | -13/+0 | |
| | | | | llvm-svn: 184235 | |||||
* | Add a can_write function to PathV2. | Rafael Espindola | 2013-06-18 | 2 | -0/+18 | |
| | | | | llvm-svn: 184233 | |||||
* | Remove unused Path::canRead. | Rafael Espindola | 2013-06-18 | 2 | -12/+0 | |
| | | | | llvm-svn: 184229 | |||||
* | Remove uniqueID from PathV1.h. | Rafael Espindola | 2013-06-18 | 2 | -8/+0 | |
| | | | | llvm-svn: 184219 | |||||
* | Add a GetUniqueID that will replace the uniqueID of PathV1.h. | Rafael Espindola | 2013-06-18 | 2 | -0/+26 | |
| | | | | llvm-svn: 184217 | |||||
* | Add a version of unique_file that return just the file name. | Rafael Espindola | 2013-06-18 | 1 | -1/+12 | |
| | | | | llvm-svn: 184206 | |||||
* | Basic support for parsing Mach-O universal binaries in LLVMObject library | Alexey Samsonov | 2013-06-18 | 1 | -2/+1 | |
| | | | | llvm-svn: 184191 | |||||
* | Reapply r183985 now that the missing check was added to PathV2. | Rafael Espindola | 2013-06-17 | 1 | -3/+5 | |
| | | | | llvm-svn: 184120 | |||||
* | Only delete regular files and directories. | Rafael Espindola | 2013-06-17 | 1 | -0/+16 | |
| | | | | | | | | This ports a missing feature from PathV1.h. I am not sure how to test this with the regular infrastructure, but an Apple bot should check this when r183985 is reapplied. llvm-svn: 184119 | |||||
* | Revert "Remove a use of PathV1.h." | Rafael Espindola | 2013-06-17 | 1 | -5/+3 | |
| | | | | | | | | This reverts commit r183985. We were missing the checks for not deleting things like /dev/null. llvm-svn: 184111 | |||||
* | Don't use PathV1.h in LTOCodeGenerator.cpp | Rafael Espindola | 2013-06-17 | 1 | -0/+4 | |
| | | | | | | | This patch also adds a simpler version of sys::fs::remove and a tool_output_file constructor for when we already have an open file. llvm-svn: 184095 | |||||
* | Fix incorrectly finding 'executable' directories instead of files. | Manuel Klimek | 2013-06-17 | 1 | -1/+8 | |
| | | | | | | | | | | | | | | | This broke for example the 'not' utility, if a directory called 'FileCheck' is executable and in the path before the actual 'FileCheck'. This patch steals the implementation of the "old" PathV1 canExecute implementation: - checks for R_OK (file readable): this is necessary for executing scripts; we should not regress here unless we have good reasons - checks for S_ISREG; if we want to get rid of this, we'd need to change all callers who already made the assumption when depending on Path V1. llvm-svn: 184074 | |||||
* | Add GetCurrentDirectory back. | Rafael Espindola | 2013-06-14 | 2 | -0/+21 | |
| | | | | | | | | It looks like clang-tools-extra/unittests/cpp11-migrate/TransformTest.cpp depends on the behaviour of the old one on Windows. Maybe a difference between GetCurrentDirectoryA and GetCurrentDirectoryW? llvm-svn: 184009 | |||||
* | Replace use of PathV1.h in MCContext.cpp. | Rafael Espindola | 2013-06-14 | 2 | -21/+0 | |
| | | | | | | GetCurrentDirectory is now unused. Remove it. llvm-svn: 184003 | |||||
* | Replace use of PathV1.h in Program.cpp. | Rafael Espindola | 2013-06-14 | 5 | -75/+63 | |
| | | | | llvm-svn: 183996 | |||||
* | Remove unused argument. | Rafael Espindola | 2013-06-14 | 1 | -3/+3 | |
| | | | | llvm-svn: 183992 | |||||
* | Don't use PathV1.h in GraphWriter.cpp. | Rafael Espindola | 2013-06-14 | 1 | -5/+2 | |
| | | | | llvm-svn: 183988 | |||||
* | Convert a use of sys::Path::GetTemporaryDirectory. | Rafael Espindola | 2013-06-14 | 1 | -10/+9 | |
| | | | | llvm-svn: 183987 | |||||
* | Remove a use of PathV1.h. | Rafael Espindola | 2013-06-14 | 1 | -3/+5 | |
| | | | | llvm-svn: 183985 | |||||
* | Remove a use of PathV1.h. | Rafael Espindola | 2013-06-14 | 1 | -15/+9 | |
| | | | | llvm-svn: 183982 | |||||
* | Move PrependMainExecutablePath next to its only user. | Rafael Espindola | 2013-06-14 | 1 | -23/+0 | |
| | | | | llvm-svn: 183980 | |||||
* | Remove a use of sys::Path. | Rafael Espindola | 2013-06-14 | 1 | -2/+3 | |
| | | | | llvm-svn: 183979 | |||||
* | Try to fix the windows build. | Rafael Espindola | 2013-06-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 183950 | |||||
* | Don't use PathV1.h in Signals.h. | Rafael Espindola | 2013-06-13 | 3 | -12/+15 | |
| | | | | llvm-svn: 183947 | |||||
* | Don't use PathV1.h in FileUtilities.h. | Rafael Espindola | 2013-06-13 | 1 | -2/+6 | |
| | | | | llvm-svn: 183941 | |||||
* | Avoid using PathV1.h in Program.h. | Rafael Espindola | 2013-06-13 | 3 | -22/+29 | |
| | | | | llvm-svn: 183940 | |||||
* | Add a version of sys::ExecuteAndWait that takes StringRefs. | Rafael Espindola | 2013-06-13 | 1 | -0/+23 | |
| | | | | llvm-svn: 183934 | |||||
* | Have sys::FindProgramByName return a std::string. | Rafael Espindola | 2013-06-13 | 2 | -15/+15 | |
| | | | | llvm-svn: 183928 | |||||
* | Covert remaining graph viewers from sys::Path to std::string. | Rafael Espindola | 2013-06-13 | 1 | -3/+3 | |
| | | | | llvm-svn: 183921 | |||||
* | Update code for other graph viewing programs too. | Rafael Espindola | 2013-06-13 | 1 | -3/+3 | |
| | | | | llvm-svn: 183920 | |||||
* | Reduce usage of sys::Path in the graph writer. | Rafael Espindola | 2013-06-13 | 1 | -22/+40 | |
| | | | | | | Now PathV1.h is not needed in GraphWriter.h. llvm-svn: 183919 | |||||
* | [Support] Fix handle and memory leak for processes that are not waited for | Reid Kleckner | 2013-06-13 | 3 | -40/+27 | |
| | | | | | | | | | | | | Execute's Data parameter is now optional, so we won't allocate memory for it on Windows and we'll close the process handle. The Unix code should probably do something similar to avoid accumulation of zombie children that haven't been waited on. Tested on Linux and Windows. llvm-svn: 183906 | |||||
* | Zero-initializing variables; fixes a build breakage introduced in r183864. | Aaron Ballman | 2013-06-13 | 1 | -2/+2 | |
| | | | | llvm-svn: 183904 | |||||
* | [Win] Put ChangeStdinToBinary ChangeStdoutToBinary ChangeStderrToBinary in sys. | Rafael Espindola | 2013-06-12 | 1 | -3/+3 | |
| | | | | llvm-svn: 183868 | |||||
* | s/Void/void. | Rafael Espindola | 2013-06-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 183866 | |||||
* | Attempt at fixing the windows build. | Rafael Espindola | 2013-06-12 | 1 | -34/+35 | |
| | | | | llvm-svn: 183865 | |||||
* | Remove the program class. | Rafael Espindola | 2013-06-12 | 6 | -46/+40 | |
| | | | | | | | It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just those two functions and make Execute and Wait implementations details. llvm-svn: 183864 | |||||
* | Don't use PathV1 in CommandLine.cpp. | Rafael Espindola | 2013-06-12 | 1 | -22/+10 | |
| | | | | | | No functionality change. llvm-svn: 183842 | |||||
* | Inline Path::isBitcodeFile into only use and remove it. | Rafael Espindola | 2013-06-12 | 1 | -8/+0 | |
| | | | | llvm-svn: 183840 | |||||
* | Remove Path::getMagicNumber. | Rafael Espindola | 2013-06-12 | 2 | -39/+0 | |
| | | | | llvm-svn: 183839 | |||||
* | Remove Path::hasMagicNumber. | Rafael Espindola | 2013-06-12 | 1 | -7/+0 | |
| | | | | llvm-svn: 183838 | |||||
* | Remove Path::isAbsolute. | Rafael Espindola | 2013-06-12 | 2 | -26/+0 | |
| | | | | llvm-svn: 183836 | |||||
* | Remove Path::isAbsolute(). | Rafael Espindola | 2013-06-12 | 2 | -22/+0 | |
| | | | | llvm-svn: 183835 | |||||
* | Remove Path::getSuffix. | Rafael Espindola | 2013-06-12 | 2 | -33/+0 | |
| | | | | llvm-svn: 183833 |