Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Revert r146363 to allow buildbots to make forward progress. | Chad Rosier | 2011-12-12 | 2 | -58/+0 | |
| | | | | | | | Original commit message: Support/FileSystem: Implement canonicalize. llvm-svn: 146378 | |||||
* | Support/FileSystem: Implement bool equivalent(file_status A, file_status B); | Michael J. Spencer | 2011-12-12 | 1 | -62/+38 | |
| | | | | llvm-svn: 146364 | |||||
* | Support/FileSystem: Implement canonicalize. | Michael J. Spencer | 2011-12-12 | 2 | -0/+58 | |
| | | | | llvm-svn: 146363 | |||||
* | Support/Windows: Cleanup scoped handles. | Michael J. Spencer | 2011-12-12 | 3 | -58/+77 | |
| | | | | llvm-svn: 146362 | |||||
* | Support/FileSystem: Implement recursive_directory_iterator and make | Michael J. Spencer | 2011-12-08 | 1 | -6/+7 | |
| | | | | | | directory_iterator preserve InputIterator semantics on copy. llvm-svn: 146200 | |||||
* | [Win32] Catch exceptions (eg. segfault) on waiting for invoked clang from ↵ | NAKAMURA Takumi | 2011-11-29 | 2 | -2/+12 | |
| | | | | | | | | | | | | the driver. clang/lib/Driver/Driver.cpp: Don't pass through negative exit status, or parent would be confused. llvm::sys::Program::Wait(): Suppose 0x8000XXXX and 0xC000XXXX as abnormal exit code and pass it as negative value. Win32 Exception Handler: Exit with ExceptionCode on an unhandle exception. llvm-svn: 145389 | |||||
* | Return only the least significant 8 bits of the exit status from | Peter Collingbourne | 2011-11-06 | 1 | -1/+1 | |
| | | | | | | Process::Wait on Windows (mimicing POSIX behaviour). llvm-svn: 143876 | |||||
* | rename getHostTriple into getDefaultTargetTriple | Sebastian Pop | 2011-11-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 143502 | |||||
* | rename LLVM_HOSTTRIPLE into LLVM_DEFAULT_TARGET_TRIPLE | Sebastian Pop | 2011-11-01 | 1 | -2/+1 | |
| | | | | llvm-svn: 143501 | |||||
* | Remove a couple unused methods. PR11201. | Eli Friedman | 2011-11-01 | 1 | -8/+0 | |
| | | | | llvm-svn: 143452 | |||||
* | Windows/Path.inc: [PR8460] Get rid of ScopedNullTerminator. Thanks to Zvi ↵ | NAKAMURA Takumi | 2011-10-24 | 1 | -18/+9 | |
| | | | | | | Rackover! llvm-svn: 142785 | |||||
* | Fix build on mingw-w64. | Anton Korobeynikov | 2011-10-21 | 1 | -6/+8 | |
| | | | | | | Patch by Ruben Van Boxem! llvm-svn: 142646 | |||||
* | Revert r142046, "Fix for llvm::sys::getHostTriple on Windows. Instead of ↵ | NAKAMURA Takumi | 2011-10-15 | 1 | -36/+4 | |
| | | | | | | | | | | relying on the triple" It extremely breaks builds when optimization is enabled. Twine should not hold temporary objects. By the way, I might feel sad if I saw "i786-" "i1586-" or "iF86-". llvm-svn: 142055 | |||||
* | Fix for llvm::sys::getHostTriple on Windows. Instead of relying on the triple | Chad Rosier | 2011-10-15 | 1 | -4/+36 | |
| | | | | | | | | from config.h, it discovers the triple based on the execution environment. Patch by Aaron Ballman <aaron@aaronballman.com> llvm-svn: 142046 | |||||
* | Windows/Memory.inc: Support the ability to allocate memory "near" another ↵ | NAKAMURA Takumi | 2011-10-15 | 1 | -2/+7 | |
| | | | | | | | | block of memory on Win32. It has fixed FIXME. Thanks to Aaron Ballman! llvm-svn: 142039 | |||||
* | Support/Windows: Add support modifying memory permissions on Windows. Patch ↵ | Michael J. Spencer | 2011-10-13 | 1 | -3/+45 | |
| | | | | | | by Aaron Ballman! llvm-svn: 141910 | |||||
* | Support/Windows: Add efficent RW mutex on Windows. Patch by Aaron Ballman! | Michael J. Spencer | 2011-10-13 | 1 | -11/+87 | |
| | | | | llvm-svn: 141907 | |||||
* | Add Windows x64 stack walking support. Patch by Aaron Ballman! | Michael J. Spencer | 2011-10-01 | 1 | -32/+190 | |
| | | | | llvm-svn: 140906 | |||||
* | sys::Process: Add a SetWorkingDirectory method. | Daniel Dunbar | 2011-09-23 | 1 | -0/+5 | |
| | | | | llvm-svn: 140433 | |||||
* | lib/Support/Windows/Windows.h: Update required IE ver. 0x0600 should be ↵ | NAKAMURA Takumi | 2011-08-23 | 1 | -1/+1 | |
| | | | | | | enough for Windows XP. llvm-svn: 138319 | |||||
* | Make DynamicLibrary thread-safe w/r/t call to dlerror() after dlopen(). PR10718 | Jordy Rose | 2011-08-22 | 1 | -2/+2 | |
| | | | | llvm-svn: 138260 | |||||
* | PathV2: Handle more reserved filenames on windows. | Benjamin Kramer | 2011-08-20 | 1 | -2/+24 | |
| | | | | | | Patch by Aaron Ballman! llvm-svn: 138213 | |||||
* | lib/Support/Windows/Windows.h: Require at least Windows XP(5.1) API. We will ↵ | NAKAMURA Takumi | 2011-08-20 | 1 | -2/+2 | |
| | | | | | | not support Windows 2000 any more. llvm-svn: 138198 | |||||
* | Unbork Windows build. Thanks, Francois. | Jordy Rose | 2011-08-17 | 1 | -2/+2 | |
| | | | | llvm-svn: 137798 | |||||
* | Use DynamicLibrary instances as a way to get symbols from a specific ↵ | Jordy Rose | 2011-08-17 | 1 | -26/+52 | |
| | | | | | | library. Preparation for upcoming (preliminary) support for plugins for the static analyzer. llvm-svn: 137791 | |||||
* | Add an optional 'bool makeAbsolute' in llvm::sys::fs::unique_file function. | Argyrios Kyrtzidis | 2011-07-28 | 1 | -11/+14 | |
| | | | | | | | 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 | |||||
* | Windows/DynamicLibrary.inc: Fix trivial warnings. Thanks to John Myers! | NAKAMURA Takumi | 2011-07-09 | 2 | -3/+3 | |
| | | | | llvm-svn: 134812 | |||||
* | Have Program::Wait return -2 for crashed and timeouts instead of embedding | Andrew Trick | 2011-05-21 | 1 | -4/+5 | |
| | | | | | | info in the error message. Per Dan's request. llvm-svn: 131780 | |||||
* | Typo and missing checkin from r131186. | Andrew Trick | 2011-05-11 | 1 | -1/+2 | |
| | | | | llvm-svn: 131187 | |||||
* | Windows/DynamicLibrary.inc: Clean up ELM_Callback. We may check the decl ↵ | NAKAMURA Takumi | 2011-05-01 | 1 | -31/+2 | |
| | | | | | | | | | instead of the versions of individual libraries. autoconf: Add checking ELM_Callback decl for mingw32 and mingw-w64. cmake/config-ix.cmake: Add checking ELM_Callback decl for win32. llvm-svn: 130657 | |||||
* | Windows/PathV2.inc: [PR8520] Recognize "NUL" as special (character) file. | NAKAMURA Takumi | 2011-03-16 | 1 | -1/+8 | |
| | | | | | FIXME: It is a temporal hack. We should detect as many "special file name" as possible. llvm-svn: 127724 | |||||
* | Windows/Path.inc: [PR6270] PathV1::makeUnique(): Give arbitrary initial seed ↵ | NAKAMURA Takumi | 2011-03-16 | 1 | -1/+11 | |
| | | | | | | | for workaround. FIXME: We should use sys::fs::unique_file() in future. llvm-svn: 127723 | |||||
* | Try to fix the windows build. | Rafael Espindola | 2011-03-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 127416 | |||||
* | Windows/PathV2.inc: Eliminate redundant condition. DWORD is unsigned. | NAKAMURA Takumi | 2011-03-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 127140 | |||||
* | Windows/Windows.h: Redefine _WIN32_WINNT here. mingw-w64 tends to define it ↵ | NAKAMURA Takumi | 2011-02-09 | 1 | -0/+3 | |
| | | | | | | as 0x0502 in its headers. llvm-svn: 125171 | |||||
* | Windows/Program.inc: Eliminate the declaration of SetInformationJobObject(). ↵ | NAKAMURA Takumi | 2011-02-09 | 1 | -9/+0 | |
| | | | | | | It should be provided with _WIN32_WINNT>=0x0500. llvm-svn: 125170 | |||||
* | Windows/DynamicLibrary.inc: ELM_Callback fix for mingw-w64. | NAKAMURA Takumi | 2011-02-09 | 1 | -1/+11 | |
| | | | | llvm-svn: 125169 | |||||
* | Windows/DynamicLibrary.inc: Split explicit symbols into explicit_symbols.inc. | NAKAMURA Takumi | 2011-02-05 | 2 | -60/+83 | |
| | | | | | | | config.h.* have conditions whether each symbol is defined or not. Autoconf and CMake may check symbols in libgcc.a for JIT on Mingw. llvm-svn: 124950 | |||||
* | Windows/Program.inc: Quote arguments when dubious characters (used by ↵ | NAKAMURA Takumi | 2011-02-05 | 1 | -1/+1 | |
| | | | | | | cmd.exe or MSYS shell) are included to invoke CreateProcess(). Thanks to Danil Malyshev. llvm-svn: 124945 | |||||
* | Make Win32's header file name lower for cross build on case-sensitive ↵ | NAKAMURA Takumi | 2011-02-04 | 3 | -5/+5 | |
| | | | | | | filesystem. llvm-svn: 124864 | |||||
* | Windows/PathV2.inc: For CryptAcquireContext(), CRYPT_VERIFYCONTEXT may be ↵ | NAKAMURA Takumi | 2011-01-17 | 1 | -1/+1 | |
| | | | | | | specified for easy use. llvm-svn: 123687 | |||||
* | Windows/PathV2.inc: MoveFileEx() can behave like Posix's mv(1) to specify ↵ | NAKAMURA Takumi | 2011-01-17 | 1 | -1/+2 | |
| | | | | | | MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING. llvm-svn: 123686 | |||||
* | lib/Support/Windows/Signals.inc: "Showstopper" dialogs may be suppressed ↵ | NAKAMURA Takumi | 2011-01-17 | 1 | -0/+3 | |
| | | | | | | with SetErrorMode() on Windows 7. llvm-svn: 123685 | |||||
* | Support/PathV2: Implement get_magic. | Michael J. Spencer | 2011-01-15 | 2 | -0/+43 | |
| | | | | llvm-svn: 123544 | |||||
* | Support/Path: Deprecate PathV1::isDirectory and replace all uses with ↵ | Michael J. Spencer | 2011-01-11 | 1 | -2/+3 | |
| | | | | | | PathV2::is_directory. llvm-svn: 123209 | |||||
* | Support/Path: Deprecate PathV1::exists and replace all uses with ↵ | Michael J. Spencer | 2011-01-10 | 1 | -3/+5 | |
| | | | | | | PathV2::fs::exists. llvm-svn: 123151 | |||||
* | Support/Windows/PathV2: Make directory iteration ignore . and .. | Michael J. Spencer | 2011-01-05 | 1 | -4/+24 | |
| | | | | llvm-svn: 122883 | |||||
* | Support/Windows/PathV2: Fix remove to handle both files and directories. | Michael J. Spencer | 2011-01-05 | 1 | -7/+21 | |
| | | | | llvm-svn: 122882 | |||||
* | Missed some StringRefRefs. | Benjamin Kramer | 2010-12-17 | 1 | -4/+2 | |
| | | | | llvm-svn: 122077 | |||||
* | Support/Windows/PathV2: Fix header comment. | Michael J. Spencer | 2010-12-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 121383 |