| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Constant folding support for calls to umul.with.overflow(), basically ↵ | Frits van Bommel | 2011-03-27 | 1 | -0/+10 | |
| | | | | | | | identical to the smul.with.overflow() code. llvm-svn: 128379 | |||||
| * | 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 | |||||
| * | We don't need a null terminator for the output file. | Rafael Espindola | 2011-03-22 | 1 | -4/+8 | |
| | | | | | llvm-svn: 128098 | |||||
| * | Properly initialize all fields in CrashReporterCleanupContext. This caused ↵ | Ted Kremenek | 2011-03-22 | 1 | -1/+1 | |
| | | | | | | | the buildbot failure earlier. llvm-svn: 128071 | |||||
| * | Temporarily stop recovering resources in CrashRecoveryContext while I ↵ | Ted Kremenek | 2011-03-22 | 1 | -1/+1 | |
| | | | | | | | investigate further why this works on my machine and not on others. llvm-svn: 128065 | |||||
| * | Provide a means for CrashRecovery clients to determine if code is currently ↵ | Ted Kremenek | 2011-03-21 | 1 | -0/+9 | |
| | | | | | | | running while crash recovery cleanups are being processed. llvm-svn: 128008 | |||||
| * | 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 | |||||
| * | Tweak CrashRecoveryContextCleanup to provide an easy method for clients to ↵ | Ted Kremenek | 2011-03-19 | 1 | -0/+1 | |
| | | | | | | | select between 'delete' and 'destructor' cleanups, and allow the destructor of CrashRecoveryContextCleanupRegister to be pseudo re-entrant. llvm-svn: 127929 | |||||
| * | Tweak CrashRecoveryContext::GetCurrent() to return quickly if ↵ | Ted Kremenek | 2011-03-19 | 1 | -0/+3 | |
| | | | | | | | | | 'gCrsahRecoveryEnabled' is false. This avoids us needing to go to thread local storage for the performance sensitive case where we are compiling code. llvm-svn: 127928 | |||||
| * | setExecutable() should default to success if there's nothing custom for it. | Jim Grosbach | 2011-03-18 | 1 | -1/+1 | |
| | | | | | llvm-svn: 127891 | |||||
| * | raw_ostream: [PR6745] Tweak formatting (double)%e for Windows hosts. | NAKAMURA Takumi | 2011-03-18 | 1 | -0/+30 | |
| | | | | | | | | On MSVCRT and compatible, output of %e is incompatible to Posix by default. Number of exponent digits should be at least 2. "%+03d" FIXME: Implement our formatter in future! llvm-svn: 127872 | |||||
| * | Initialize the only-used-with-PPC-double-double parts of the APFloat class. This | Bill Wendling | 2011-03-18 | 1 | -13/+10 | |
| | | | | | | | | makes valgrind stop complaining about uninitialized variables being read when it accesses a bitfield (category) that shares its bits with these variables. llvm-svn: 127871 | |||||
| * | Check RequiresNullTerminator first, or we might read from an invalid address. | Rafael Espindola | 2011-03-18 | 1 | -1/+1 | |
| | | | | | llvm-svn: 127853 | |||||
| * | Augment CrashRecoveryContext to have registered "cleanup" objects that can ↵ | Ted Kremenek | 2011-03-18 | 1 | -0/+38 | |
| | | | | | | | be used to release resources during a crash. llvm-svn: 127849 | |||||
| * | Use RequiresNullTerminator to create buffers without a null terminator | Rafael Espindola | 2011-03-17 | 1 | -2/+4 | |
| | | | | | | | instead of copying. llvm-svn: 127835 | |||||
| * | Add an argument to APInt's magic udiv calculation to specify the number of ↵ | Benjamin Kramer | 2011-03-17 | 1 | -2/+4 | |
| | | | | | | | | | bits that are known zero in the divided number. This will come in handy soon. llvm-svn: 127828 | |||||
| * | lib/Support/raw_ostream.cpp: On mingw, report_fatal_error() should not be ↵ | NAKAMURA Takumi | 2011-03-16 | 1 | -0/+8 | |
| | | | | | | | | | called at dtor context. report_fatal_error() invokes exit(). We know report_fatal_error() might not write messages to stderr when any errors were detected on FD == 2. llvm-svn: 127726 | |||||
| * | 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 | |||||
| * | Add scei vendor | John Thompson | 2011-03-15 | 1 | -0/+3 | |
| | | | | | llvm-svn: 127705 | |||||
| * | Don't compute the file size if we don't need to. | Rafael Espindola | 2011-03-10 | 1 | -14/+29 | |
| | | | | | llvm-svn: 127426 | |||||
| * | Add r127409 back now that the windows file was updated. | Rafael Espindola | 2011-03-10 | 2 | -28/+77 | |
| | | | | | llvm-svn: 127417 | |||||
| * | Try to fix the windows build. | Rafael Espindola | 2011-03-10 | 1 | -2/+2 | |
| | | | | | llvm-svn: 127416 | |||||
| * | Revert r127409 which broke all the Windows bots. | Jakob Stoklund Olesen | 2011-03-10 | 2 | -77/+28 | |
| | | | | | llvm-svn: 127413 | |||||
| * | Add support for MemoryBuffers that are not null terminated and add | Rafael Espindola | 2011-03-10 | 2 | -28/+77 | |
| | | | | | | | support for creating buffers that cover only a part of a file. llvm-svn: 127409 | |||||
| * | lib/Support/regcomp.c: Fix cygwin warning. | NAKAMURA Takumi | 2011-03-08 | 1 | -1/+1 | |
| | | | | | llvm-svn: 127241 | |||||
| * | Windows/PathV2.inc: Eliminate redundant condition. DWORD is unsigned. | NAKAMURA Takumi | 2011-03-07 | 1 | -1/+1 | |
| | | | | | llvm-svn: 127140 | |||||
| * | raw_ostream: while it is generally desirable to do larger writes, it can lead to | Benjamin Kramer | 2011-03-04 | 1 | -3/+7 | |
| | | | | | | | | | | | inefficient file system buffering if the writes are not a multiple of the desired buffer size. Avoid this by limiting the large write to a multiple of the buffer size and copying the remainder into the buffer. Thanks to Dan for pointing this out. llvm-svn: 127026 | |||||
| * | raw_ostream: If writing a string that is larger than the buffer, write it ↵ | Benjamin Kramer | 2011-03-04 | 1 | -9/+13 | |
| | | | | | | | | | directly instead of doing many buffer-sized writes. This caps the number of write(2) calls per string to a maximum of 2. llvm-svn: 127010 | |||||
| * | Support: Add llvm::AreStatisticsEnabled(). | Daniel Dunbar | 2011-02-26 | 1 | -0/+4 | |
| | | | | | llvm-svn: 126558 | |||||
| * | The signed version of our "magic number" computation for the integer ↵ | Cameron Zwarich | 2011-02-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | approximation of a constant had a minor typo introduced when copying it from the book, which caused it to favor negative approximations over positive approximations in many cases. Positive approximations require fewer operations beyond the multiplication. In the case of division by 3, we still generate code that is a single instruction larger than GCC's code. llvm-svn: 126097 | |||||
| * | Provide tag strings for llvm specific tags. | Devang Patel | 2011-02-18 | 1 | -0/+4 | |
| | | | | | llvm-svn: 125986 | |||||
| * | improve support for OpenBSD, patch by Amit Kulkarni! | Chris Lattner | 2011-02-18 | 1 | -2/+4 | |
| | | | | | llvm-svn: 125943 | |||||
| * | Check the errorcode. | Argyrios Kyrtzidis | 2011-02-18 | 1 | -0/+1 | |
| | | | | | llvm-svn: 125804 | |||||
| * | Enhance constant folding of bitcast operations on vectors of floats. | Nadav Rotem | 2011-02-17 | 1 | -0/+6 | |
| | | | | | | | | Add getAllOnesValue of FP numbers to Constants and APFloat. Add more tests. llvm-svn: 125776 | |||||
| * | Triple::MinGW64 is deprecated and removed. We can use Triple::MinGW32 generally. | NAKAMURA Takumi | 2011-02-17 | 1 | -3/+0 | |
| | | | | | | | No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32. In llvm side, i686 and x64 can be treated as similar way. llvm-svn: 125747 | |||||
| * | Implement a function from PathV2 whose definition is missing. | Argyrios Kyrtzidis | 2011-02-15 | 1 | -0/+6 | |
| | | | | | llvm-svn: 125574 | |||||
| * | Adds llvm::sys::path::is_separator() to test whether a char is a path separator | Zhanyong Wan | 2011-02-11 | 1 | -12/+13 | |
| | | | | | | | on the host OS. Reviewed by dgregor. llvm-svn: 125406 | |||||
| * | 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 | |||||
| * | lib/Support/Errno.cpp: Check strerror_s() with HAVE_DECL_STRERROR_S in ↵ | NAKAMURA Takumi | 2011-02-09 | 1 | -1/+1 | |
| | | | | | | | | | | | config.h.*. AC_CHECK_FUNCS seeks a symbol only in libs. We should check the declaration in string.h. FIXME: I have never seen mingw(s) have strerror_s() (not _strerror_s()). FIXME: Autoconf/CMake may seek strerror_s() with the definition MINGW_HAS_SECURE_API in future. llvm-svn: 125172 | |||||
| * | 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 | |||||
| * | Don't open the file again in the gold plugin. To be able to do this, update | Rafael Espindola | 2011-02-08 | 1 | -12/+3 | |
| | | | | | | | MemoryBuffer::getOpenFile to not close the file descriptor. llvm-svn: 125128 | |||||
| * | Fix a clang warning. | Anders Carlsson | 2011-02-05 | 1 | -1/+2 | |
| | | | | | llvm-svn: 124960 | |||||
| * | 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 | |||||

