Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CrashRecovery/Darwin: Override raise() as well so that crash recovery doesn't | Daniel Dunbar | 2010-09-22 | 1 | -1/+5 |
| | | | | | | | end up altering the thread on which crashes are done because of its use of Darwin's broken raise() implementation. llvm-svn: 114558 | ||||
* | 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 | ||||
* | Add one more Core i7 model number. | Jakob Stoklund Olesen | 2010-09-19 | 1 | -0/+2 |
| | | | | llvm-svn: 114310 | ||||
* | add corei7, the laptop version. | Chris Lattner | 2010-09-19 | 1 | -0/+1 |
| | | | | llvm-svn: 114302 | ||||
* | Move the declaration SetInformationJobObject() outside of namespace. | NAKAMURA Takumi | 2010-09-17 | 1 | -9/+9 |
| | | | | | | It is also workaround for PR7927. llvm-svn: 114175 | ||||
* | System: Don't reexport ___eprintf when building with Clang; this symbol isn't | Daniel Dunbar | 2010-09-17 | 1 | -0/+7 |
| | | | | | | | used on Darwin anymore, and Clang might not always link with the library it is currently found in. llvm-svn: 114165 | ||||
* | System/Path: Add x86-64 COFF to IdentifyFileType. | Michael J. Spencer | 2010-09-15 | 1 | -0/+4 |
| | | | | llvm-svn: 114037 | ||||
* | System/Path: Add isObjectFile(). | Michael J. Spencer | 2010-09-15 | 1 | -0/+14 |
| | | | | llvm-svn: 114032 | ||||
* | lib/System/Host.cpp: 7bit-ize. Eliminate "TM" and "(R)" in comments. | NAKAMURA Takumi | 2010-09-09 | 1 | -16/+16 |
| | | | | llvm-svn: 113486 | ||||
* | Issue a #error if the host doesn't have an implementation for | Dan Gohman | 2010-09-07 | 1 | -0/+2 |
| | | | | | | GetMainExecutable yet. llvm-svn: 113240 | ||||
* | compute the HasSSE3 bit correctly, patch by Nikolai Saoukh. | Chris Lattner | 2010-09-06 | 1 | -9/+8 |
| | | | | llvm-svn: 113147 | ||||
* | Apply a patch from Kees van Reeuwijk to add support for Minix. | Dan Gohman | 2010-09-02 | 1 | -3/+3 |
| | | | | | | | Minix apparently doesn't like double-slash separators, and there's no apparent need for them here. llvm-svn: 112844 | ||||
* | Add an interface for unregistering a file from the FilesToRemove list. | Dan Gohman | 2010-09-01 | 2 | -0/+24 |
| | | | | llvm-svn: 112705 | ||||
* | Some fixes for NetBSD | Anton Korobeynikov | 2010-08-31 | 1 | -3/+3 |
| | | | | llvm-svn: 112662 | ||||
* | Cleanup Whitespace. | Michael J. Spencer | 2010-08-31 | 1 | -20/+20 |
| | | | | llvm-svn: 112587 | ||||
* | 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 | ||||
* | Fix --disable-threads build, PR7949. | Daniel Dunbar | 2010-08-20 | 1 | -0/+1 |
| | | | | llvm-svn: 111676 | ||||
* | CrashRecovery/Darwin: On Darwin, raise sends a signal to the main thread instead | Daniel Dunbar | 2010-08-19 | 1 | -0/+34 |
| | | | | | | | | | of the current thread. This has the unfortunate effect that assert() and abort() will end up bypassing our crash recovery attempts. We work around this for anything in the same linkage unit by just defining our own versions of the assert handler and abort. llvm-svn: 111583 | ||||
* | Fix failure of unittests/ExecutionEngine/JIT/MultiJITTest.cpp on | Chris Lattner | 2010-08-17 | 1 | -0/+6 |
| | | | | | | cygwin when built with ENABLE_SHARED=1. Patch by NAKAMURA Takumi! llvm-svn: 111231 | ||||
* | Mark this variable as used. | Chandler Carruth | 2010-08-10 | 1 | -0/+1 |
| | | | | llvm-svn: 110667 | ||||
* | remove code setting rw locks to PTHREAD_PROCESS_PRIVATE, which | Chris Lattner | 2010-08-10 | 1 | -16/+1 |
| | | | | | | is the default. Patch by NAKAMURA Takumi! llvm-svn: 110636 | ||||
* | Eliminate unnecessary empty string literals. | Dan Gohman | 2010-08-04 | 1 | -2/+2 |
| | | | | llvm-svn: 110183 | ||||
* | Add an erase() method to llvm::ThreadLocal. | Owen Anderson | 2010-07-28 | 3 | -0/+9 |
| | | | | llvm-svn: 109686 | ||||
* | Rather than using an ifdef on the target to zero out fields, | Duncan Sands | 2010-07-14 | 1 | -4/+1 |
| | | | | | | just use memset to zero the entire struct. llvm-svn: 108330 | ||||
* | Convert some tab stops into spaces. | Duncan Sands | 2010-07-12 | 1 | -1/+1 |
| | | | | llvm-svn: 108130 | ||||
* | Path::isRootDirectory is unimplemented on Unix and not used, | Chris Lattner | 2010-07-12 | 1 | -6/+0 |
| | | | | | | remove it, fixing PR6909. llvm-svn: 108125 | ||||
* | improve Path::makeUnique when mkstemp/mktemp are not available | Chris Lattner | 2010-07-12 | 1 | -7/+12 |
| | | | | | | patch by Lasse Kärkkäinen in PR7404. llvm-svn: 108110 | ||||
* | add some triple for minix, patch by Kees van Reeuwijk from PR7582 | Chris Lattner | 2010-07-07 | 1 | -1/+1 |
| | | | | llvm-svn: 107785 | ||||
* | Avoid "variable 'bits' set but not used [-Wunused-but-set-variable]" | Duncan Sands | 2010-06-10 | 1 | -10/+6 |
| | | | | | | | warnings with gcc-4.6, by not setting bits when the result is not used. llvm-svn: 105790 | ||||
* | Factor out the handler work from SignalHandler into a helper function, | Dan Gohman | 2010-05-27 | 1 | -5/+12 |
| | | | | | | | | | and change llvm::sys::RunInterruptHandlers to call that function directly instead of calling SignalHandler, because the rest of SignalHandler invokes side effects which aren't appropriate, including raising the signal. llvm-svn: 104896 | ||||
* | Don't bother clearing the Magic string when the magic number | Dan Gohman | 2010-05-27 | 1 | -3/+1 |
| | | | | | | can't be read, since it isn't cleared on other error paths. llvm-svn: 104852 | ||||
* | Don't bother checking canRead() before calling getMagicNumber(); | Dan Gohman | 2010-05-27 | 1 | -16/+13 |
| | | | | | | getMagicNumber() does its own error checking. llvm-svn: 104851 | ||||
* | Add llvm::sys::RunInterruptHandlers(), which runs the registered SIGINT cleanup | Daniel Dunbar | 2010-05-08 | 2 | -1/+7 |
| | | | | | | stuff. llvm-svn: 103333 | ||||
* | This doesn't need SmallVector.h anymore. | Dan Gohman | 2010-04-19 | 1 | -1/+0 |
| | | | | llvm-svn: 101790 | ||||
* | Fix this for std::vectors which don't have .data(). | Dan Gohman | 2010-04-19 | 1 | -1/+1 |
| | | | | llvm-svn: 101785 | ||||
* | Fix -Wcast-qual warnings. | Dan Gohman | 2010-04-19 | 1 | -6/+10 |
| | | | | llvm-svn: 101782 | ||||
* | Revert 91528 and use a std::vector instead, fixing an abuse of std::string. | Dan Gohman | 2010-04-19 | 1 | -10/+16 |
| | | | | llvm-svn: 101781 | ||||
* | avoid temporary std::string in non posix_spawn path. | Chris Lattner | 2010-04-18 | 1 | -4/+4 |
| | | | | llvm-svn: 101723 | ||||
* | Eliminate temporary string. | Benjamin Kramer | 2010-04-18 | 1 | -4/+4 |
| | | | | llvm-svn: 101711 | ||||
* | Properly inherit the environment on darwin where environ is not available ↵ | Benjamin Kramer | 2010-04-18 | 1 | -1/+6 |
| | | | | | | for shared libraries. llvm-svn: 101710 | ||||
* | This is horrible. Split the difference, and declare 'environ' on all non-Darwin | Nick Lewycky | 2010-04-18 | 1 | -0/+7 |
| | | | | | | | platforms to unbreak the darwin and linux builds. The BSD folks should feel free to change the #if, if this breaks them. llvm-svn: 101703 | ||||
* | Revert r101701, Darwin doesn't have 'environ'. Go figure. | Nick Lewycky | 2010-04-18 | 1 | -3/+0 |
| | | | | llvm-svn: 101702 | ||||
* | Fix linux build. posix_spawn doesn't inherit the environment by default. | Nick Lewycky | 2010-04-18 | 1 | -1/+4 |
| | | | | llvm-svn: 101701 | ||||
* | make Program::Execute use posix_spawn on systems that support it, | Chris Lattner | 2010-04-18 | 1 | -9/+64 |
| | | | | | | | | | as it is more efficient than fork/exec. Thanks to Eric for adding the autoconf check. It would be nice if a cmake guru could add a cmake check for posix_spawn as well. llvm-svn: 101693 | ||||
* | unnest from namespace. | Chris Lattner | 2010-04-18 | 1 | -5/+1 |
| | | | | llvm-svn: 101691 | ||||
* | Fix a bunch of namespace polution. | Dan Gohman | 2010-04-15 | 1 | -2/+8 |
| | | | | llvm-svn: 101376 | ||||
* | improve haiku portability, patch by Paul Davey. | Chris Lattner | 2010-04-10 | 1 | -0/+2 |
| | | | | llvm-svn: 100933 | ||||
* | add minix support, patch by Kees van Reeuwijk! PR6797 | Chris Lattner | 2010-04-09 | 1 | -0/+14 |
| | | | | llvm-svn: 100895 | ||||
* | AddSignalHandler was not releasing the critical section on win32. | Torok Edwin | 2010-03-31 | 1 | -0/+1 |
| | | | | | | Patch from Gianluigi Tiesi! llvm-svn: 100003 |