| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 73550
|
|
|
|
| |
llvm-svn: 73546
|
|
|
|
| |
llvm-svn: 73545
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
specific one. The GNU one is chosen when _GNU_SOURCE is defined. g++ always
defines _GNU_SOURCE on linux platforms because glibc's headers won't compile
in C++ mode without it. The GNU strerror_r doesn't always modify the buffer
which causes empty error messages on linux.
This patch changes MakeErrMsg to use the return value of strerror_r to get
the string instead of assuming the buffer will be modified, on GLIBC.
Patch by Benjamin Kramer!
llvm-svn: 73396
|
|
|
|
|
|
|
|
| |
windows."
Patch by Benjamin Kramer!
llvm-svn: 73379
|
|
|
|
|
|
| |
absolute or not, based on a patch by Gregory Curfman!
llvm-svn: 73368
|
|
|
|
| |
llvm-svn: 72858
|
|
|
|
| |
llvm-svn: 72854
|
|
|
|
| |
llvm-svn: 72767
|
|
|
|
| |
llvm-svn: 72732
|
|
|
|
| |
llvm-svn: 72604
|
|
|
|
| |
llvm-svn: 72332
|
|
|
|
| |
llvm-svn: 72202
|
|
|
|
| |
llvm-svn: 72180
|
|
|
|
|
|
| |
Hopefully this fixes the last build errors on systems with GCC < 4.1.
llvm-svn: 72179
|
|
|
|
| |
llvm-svn: 72177
|
|
|
|
|
|
|
|
| |
silly,
all kinds of problems caused by including windows.h and/or config.h in an LLVM header.
llvm-svn: 72174
|
|
|
|
|
|
|
| |
width of a terminal. Don't try to get the width of a terminal if we
don't have this header.
llvm-svn: 72018
|
|
|
|
|
|
| |
fix Clang PRs 4148 and 4183.
llvm-svn: 71448
|
|
|
|
|
|
|
|
| |
Visual Studio version, but also the Windows SDK version.
Patch by Tareq Siraj.
llvm-svn: 70299
|
|
|
|
|
|
|
|
|
|
|
|
| |
Path.cpp:59: warning: case label value exceeds maximum value for type
magic[0] is a (signed) char, but some case values are unsigned (e.g. 0xde).
When magic[0] was 0xde, the switch has taken the default branch instead of case
0xde branch.
Apparently this was the behaviour with older versions of gcc too, but not with g++.
Now g++-4.4 behaves as gcc, and ignores unsigned case values out of range signed
range.
llvm-svn: 70038
|
|
|
|
|
|
| |
Patch by Jay Foad!
llvm-svn: 69679
|
|
|
|
|
|
| |
Patch by Jay Foad!
llvm-svn: 69678
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang: error: unable to make temporary file: /etc/cc: can't make
unique filename: Permission denied
instead of
clang: error: unable to make temporary file: /etc/cc: can't make
unique filenamePermission denied
for example.
Also, audited the uses of MakeErrMsg to make the prefix strings
consistent (not end with newline/punctuation/space/": ").
llvm-svn: 69626
|
|
|
|
|
|
|
|
| |
Makes llvmc show error messages printed by child processes when run from the
Cygwin/MSYS shell. Since ExecuteAndWait does not return until the child program
has finished execution, this change should be harmless.
llvm-svn: 69082
|
|
|
|
| |
llvm-svn: 69081
|
|
|
|
|
|
| |
patch by Alexei Svitkine!
llvm-svn: 68929
|
|
|
|
| |
llvm-svn: 68663
|
|
|
|
| |
llvm-svn: 68175
|
|
|
|
|
|
|
|
|
|
|
| |
llvm::sys::getOS{Name,Version}.
Right now the implementation just derives from LLVM_HOSTTRIPLE (which
is wrong, but it doesn't look like we have a define for the target
triple). Ideally this routine would actually be able to compute the
triple for targets we care about.
llvm-svn: 68118
|
|
|
|
| |
llvm-svn: 67510
|
|
|
|
|
|
|
| |
were when we came around, not to their default handler. This
should fix PR3848
llvm-svn: 67509
|
|
|
|
| |
llvm-svn: 67508
|
|
|
|
|
|
|
|
|
|
| |
- Make type declarations match the struct/class keyword of the definition.
- Move AddSignalHandler into the namespace where it belongs.
- Correctly call functions from template base.
- Some other small changes.
With this patch, LLVM and Clang should build properly and with far less noise under VS2008.
llvm-svn: 67347
|
|
|
|
|
|
| |
windows side.
llvm-svn: 66386
|
|
|
|
|
|
|
|
|
| |
signal handlers to prevent reentrance on unrelated things (a sigabort
where the handle bus errors) also, clear the signal mask so that the
signal doesn't infinitely reissue. This fixes rdar://6654827 -
Crash causes clang to loop
llvm-svn: 66330
|
|
|
|
| |
llvm-svn: 66171
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
arbitrary functions to be run when a crash happens. Delete
RemoveDirectoryOnSignal as it is dead and has never had clients.
Change PrintStackTraceOnErrorSignal to be implemented in terms of
AddSignalHandler.
I updated the Win32 versions of these APIs, but can't test them.
If there are any problems, I'd be happy to fix them as well.
llvm-svn: 66072
|
|
|
|
|
|
| |
Ed Schouten!
llvm-svn: 65882
|
|
|
|
|
|
|
|
| |
symlink. We really want the ultimate executable being run, not
the symlink. This lets clang find its headers when invoked through
a symlink. rdar://6602012
llvm-svn: 65017
|
|
|
|
|
|
| |
"system() declared with attribute warn_unused_result."
llvm-svn: 64574
|
|
|
|
| |
llvm-svn: 64573
|
|
|
|
|
|
|
|
|
|
| |
Cleanup some warning.
Remark: when struct/class are declared differently than they are defined, this make problem for VC++ since it seems to mangle class differently that struct. These error are very hard to understand and find. So please, try to keep your definition/declaration in sync.
Only tested with VS2008. hope it does not break anything. feel free to revert.
llvm-svn: 64554
|
|
|
|
| |
llvm-svn: 64366
|
|
|
|
|
|
| |
This fixes PR3535.
llvm-svn: 64224
|
|
|
|
| |
llvm-svn: 64101
|
|
|
|
|
|
| |
Also removes some trailing whitespace and fixes one 80-column violation.
llvm-svn: 64094
|
|
|
|
| |
llvm-svn: 63325
|
|
|
|
| |
llvm-svn: 63269
|
|
|
|
| |
llvm-svn: 62776
|