| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
- glibc falls back to fork+exec if a file actions object is present.
- On BSDs this saves a malloc.
llvm-svn: 127969
|
| |
|
|
|
|
| |
select between 'delete' and 'destructor' cleanups, and allow the destructor of CrashRecoveryContextCleanupRegister to be pseudo re-entrant.
llvm-svn: 127929
|
| |
|
|
|
|
|
|
| |
'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
|
| |
|
|
| |
llvm-svn: 127891
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 127853
|
| |
|
|
|
|
| |
be used to release resources during a crash.
llvm-svn: 127849
|
| |
|
|
|
|
| |
instead of copying.
llvm-svn: 127835
|
| |
|
|
|
|
|
|
| |
bits that are known zero in the divided number.
This will come in handy soon.
llvm-svn: 127828
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
FIXME: It is a temporal hack. We should detect as many "special file name" as possible.
llvm-svn: 127724
|
| |
|
|
|
|
|
| |
for workaround.
FIXME: We should use sys::fs::unique_file() in future.
llvm-svn: 127723
|
| |
|
|
| |
llvm-svn: 127705
|
| |
|
|
| |
llvm-svn: 127426
|
| |
|
|
| |
llvm-svn: 127417
|
| |
|
|
| |
llvm-svn: 127416
|
| |
|
|
| |
llvm-svn: 127413
|
| |
|
|
|
|
| |
support for creating buffers that cover only a part of a file.
llvm-svn: 127409
|
| |
|
|
| |
llvm-svn: 127241
|
| |
|
|
| |
llvm-svn: 127140
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 126558
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 125986
|
| |
|
|
| |
llvm-svn: 125943
|
| |
|
|
| |
llvm-svn: 125804
|
| |
|
|
|
|
|
| |
Add getAllOnesValue of FP numbers to Constants and APFloat.
Add more tests.
llvm-svn: 125776
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 125574
|
| |
|
|
|
|
| |
on the host OS. Reviewed by dgregor.
llvm-svn: 125406
|
| |
|
|
|
|
| |
I have another way to achieve the same goal.
llvm-svn: 125239
|
| |
|
|
| |
llvm-svn: 125236
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
as 0x0502 in its headers.
llvm-svn: 125171
|
| |
|
|
|
|
| |
It should be provided with _WIN32_WINNT>=0x0500.
llvm-svn: 125170
|
| |
|
|
| |
llvm-svn: 125169
|
| |
|
|
|
|
| |
MemoryBuffer::getOpenFile to not close the file descriptor.
llvm-svn: 125128
|
| |
|
|
| |
llvm-svn: 124960
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
cmd.exe or MSYS shell) are included to invoke CreateProcess(). Thanks to Danil Malyshev.
llvm-svn: 124945
|
| |
|
|
|
|
| |
filesystem.
llvm-svn: 124864
|
| |
|
|
| |
llvm-svn: 124771
|
| |
|
|
|
|
|
|
|
| |
may be useful to understand "none", this is not the place for it. Tweak
the fix to Normalize while there: the fix added in 123990 works correctly,
but I like this way better. Finally, now that Triple understands some
non-trivial environment values, teach the unittests about them.
llvm-svn: 124720
|
| |
|
|
| |
llvm-svn: 124639
|
| |
|
|
| |
llvm-svn: 124124
|
| |
|
|
|
|
|
|
|
|
| |
clang's -Wuninitialized-experimental warning.
While these don't look like real bugs, clang's
-Wuninitialized-experimental analysis is stricter
than GCC's, and these fixes have the benefit
of being general nice cleanups.
llvm-svn: 124073
|
| |
|
|
|
|
| |
IR (wrong PCS) and passing the wrong information down llc via the target-triple printed in IR. I've fixed this by adding the parsing of EABI into LLVM's Triple class and using it to choose the correct PCS in Clang's Tools. A Clang patch is on its way to use this infrastructure.
llvm-svn: 123990
|