#
0daa7074 |
| 17-May-2017 |
Zachary Turner <zturner@google.com> |
Workaround for incorrect Win32 header on GCC.
llvm-svn: 303272
|
#
c9c39291 |
| 16-May-2017 |
Zachary Turner <zturner@google.com> |
Fix for compilers with older CRT header libraries.
llvm-svn: 303220
|
#
13e87f43 |
| 16-May-2017 |
Zachary Turner <zturner@google.com> |
[Support] Ignore OutputDebugString exceptions in our crash recovery.
Since we use AddVectoredExceptionHandler, we get notified of every exception that gets raised by a program. Sometimes these are
[Support] Ignore OutputDebugString exceptions in our crash recovery.
Since we use AddVectoredExceptionHandler, we get notified of every exception that gets raised by a program. Sometimes these are not necessarily errors though, and this can be especially true when linking against a library that we have no control over, and may raise an exception internally which it intends to catch.
In particular, the Windows API OutputDebugString does exactly this. It raises an exception inside of a __try / __except, giving the debugger a chance to handle the exception to print the message to the debug console.
But this doesn't interoperate nicely with our vectored exception handler, which just sees another exception and decides that we need to terminate the program.
Add a special case for this so that we ignore ODS exceptions and continue normally.
Note that a better fix is to simply not use vectored exception handlers and use SEH instead, but given that MinGW doesn't support SEH, this is the only solution for MinGW.
Differential Revision: https://reviews.llvm.org/D33260
llvm-svn: 303219
show more ...
|
Revision tags: llvmorg-4.0.1-rc1, llvmorg-4.0.0, llvmorg-4.0.0-rc4, llvmorg-4.0.0-rc3, llvmorg-4.0.0-rc2, llvmorg-4.0.0-rc1, llvmorg-3.9.1, llvmorg-3.9.1-rc3, llvmorg-3.9.1-rc2, llvmorg-3.9.1-rc1, llvmorg-3.9.0, llvmorg-3.9.0-rc3, llvmorg-3.9.0-rc2, llvmorg-3.9.0-rc1, llvmorg-3.8.1, llvmorg-3.8.1-rc1 |
|
#
91d3cfed |
| 05-Apr-2016 |
Duncan P. N. Exon Smith <dexonsmith@apple.com> |
Revert "Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; other minor fixes."
This reverts commit r265454 since it broke the build. E.g.:
http://lab.llvm.org:8080/green/jo
Revert "Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; other minor fixes."
This reverts commit r265454 since it broke the build. E.g.:
http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_build/22413/
llvm-svn: 265459
show more ...
|
#
1760dc2a |
| 05-Apr-2016 |
Eugene Zelenko <eugene.zelenko@gmail.com> |
Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; other minor fixes.
Some Include What You Use suggestions were used too.
Use anonymous namespaces in source files.
Different
Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; other minor fixes.
Some Include What You Use suggestions were used too.
Use anonymous namespaces in source files.
Differential revision: http://reviews.llvm.org/D18778
llvm-svn: 265454
show more ...
|
#
3a61a4d1 |
| 25-Mar-2016 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Remove useless and unused CrashRecoveryContext::getBacktrace(). This function always returned an empty string.
llvm-svn: 264458
|
Revision tags: llvmorg-3.8.0, llvmorg-3.8.0-rc3, llvmorg-3.8.0-rc2, llvmorg-3.8.0-rc1, llvmorg-3.7.1, llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1 |
|
#
1d374437 |
| 18-Oct-2015 |
Craig Topper <craig.topper@gmail.com> |
Use array_lengthof. NFC
llvm-svn: 250643
|
Revision tags: llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3, studio-1.4 |
|
#
2692811d |
| 07-Aug-2015 |
Nico Weber <nicolasweber@gmx.de> |
Add a comment.
llvm-svn: 244337
|
#
28dc4171 |
| 06-Aug-2015 |
Nico Weber <nicolasweber@gmx.de> |
Fix nested CrashRecoveryContexts with LLVM_ENABLE_THREADS=OFF, allow them.
libclang uses a CrashRecoveryContext, and building a module does too. If a module gets built through libclang, nested Crash
Fix nested CrashRecoveryContexts with LLVM_ENABLE_THREADS=OFF, allow them.
libclang uses a CrashRecoveryContext, and building a module does too. If a module gets built through libclang, nested CrashRecoveryContexts are used. They work fine with threads as things are stored in ThreadLocal variables, but in LLVM_ENABLE_THREADS=OFF builds the two recovery contexts would write to the same globals.
To fix, keep active CrashRecoveryContextImpls in a list and have the global point to the innermost one, and do something similar for tlIsRecoveringFromCrash.
Necessary (but not sufficient) for PR11974 and PR20325
http://reviews.llvm.org/D11770
llvm-svn: 244251
show more ...
|
Revision tags: llvmorg-3.7.0-rc2, llvmorg-3.7.0-rc1, llvmorg-3.6.2, llvmorg-3.6.2-rc1 |
|
#
f00654e3 |
| 23-Jun-2015 |
Alexander Kornienko <alexfh@google.com> |
Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)
Apparently, the style needs to be agreed upon first.
llvm-svn: 240390
|
#
70bc5f13 |
| 19-Jun-2015 |
Alexander Kornienko <alexfh@google.com> |
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-c
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ llvm/lib/
Thanks to Eugene Kosov for the original patch!
llvm-svn: 240137
show more ...
|
Revision tags: llvmorg-3.6.1, llvmorg-3.6.1-rc1 |
|
#
16132e6f |
| 23-Mar-2015 |
Benjamin Kramer <benny.kra@googlemail.com> |
Purge unused includes throughout libSupport.
NFC.
llvm-svn: 232976
|
Revision tags: llvmorg-3.5.2, llvmorg-3.5.2-rc1, llvmorg-3.6.0, llvmorg-3.6.0-rc4, llvmorg-3.6.0-rc3, llvmorg-3.6.0-rc2, llvmorg-3.6.0-rc1, llvmorg-3.5.1, llvmorg-3.5.1-rc2, llvmorg-3.5.1-rc1, llvmorg-3.5.0, llvmorg-3.5.0-rc4, llvmorg-3.5.0-rc3, llvmorg-3.5.0-rc2, llvmorg-3.5.0-rc1 |
|
#
e9012b03 |
| 25-Jun-2014 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
For CrashRecoveryContext::RunSafelyOnThread, propagate Darwin's PRIO_DARWIN_BG to the new thread if it is set on the calling thread.
This allows libclang's indexing threads to propagate their priori
For CrashRecoveryContext::RunSafelyOnThread, propagate Darwin's PRIO_DARWIN_BG to the new thread if it is set on the calling thread.
This allows libclang's indexing threads to propagate their priority to the clang module building threads.
rdar://17459872
llvm-svn: 211747
show more ...
|
#
a40ccf62 |
| 10-Jun-2014 |
Zachary Turner <zturner@google.com> |
Test commit, wraps some lines to fit in 80 columns.
llvm-svn: 210551
|
Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1 |
|
#
c167d656 |
| 06-May-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Re-commit r208025, reverted in r208030, with a fix for a conformance issue which GCC detects and Clang does not!
llvm-svn: 208033
|
#
09bf1169 |
| 06-May-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Revert r208025, which made buildbots unhappy for unknown reasons.
llvm-svn: 208030
|
#
6cf1d744 |
| 06-May-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Add llvm::function_ref (and a couple of uses of it), representing a type-erased reference to a callable object.
llvm-svn: 208025
|
Revision tags: llvmorg-3.4.1, llvmorg-3.4.1-rc2, llvmorg-3.4.1-rc1 |
|
#
c10719f5 |
| 07-Apr-2014 |
Craig Topper <craig.topper@gmail.com> |
[C++11] Make use of 'nullptr' in the Support library.
llvm-svn: 205697
|
#
63563130 |
| 04-Mar-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Remove dependence on std::function.
llvm-svn: 202902
|
#
54911fba |
| 04-Mar-2014 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Add support for arbitrary functors to CrashRecoveryContext.
llvm-svn: 202895
|
#
d59e2faa |
| 12-Feb-2014 |
Reid Kleckner <reid@kleckner.net> |
Rename Windows.h to WindowsSupport.h to avoid ambiguity
llvm-svn: 201258
|
Revision tags: llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1 |
|
#
f2189bf3 |
| 12-Sep-2013 |
Filip Pizlo <fpizlo@apple.com> |
This switches CrashRecoveryContext to using ManagedStatic for its global Mutex and global ThreadLocals, thereby getting rid of the load-time initialization of those objects and also getting rid of
This switches CrashRecoveryContext to using ManagedStatic for its global Mutex and global ThreadLocals, thereby getting rid of the load-time initialization of those objects and also getting rid of their destruction unless the LLVM client calls llvm_shutdown.
llvm-svn: 190617
show more ...
|
Revision tags: llvmorg-3.3.1-rc1 |
|
#
f1d8f52a |
| 19-Jun-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[Support/CrashRecoveryContext] Make sure CrashRecoveryContext does not clear the thread-local "CurrentContext" in the "parent" thread, when we are using CrashRecoveryContext::RunSafelyOnThread.
When
[Support/CrashRecoveryContext] Make sure CrashRecoveryContext does not clear the thread-local "CurrentContext" in the "parent" thread, when we are using CrashRecoveryContext::RunSafelyOnThread.
When using CrashRecoveryContext::RunSafelyOnThread, we would set a CrashRecoveryContextImpl* to a thread-local variable for the "child" thread, but CrashRecoveryContext would erroneously clear it in the "parent" thread.
The result was that if CrashRecoveryContext::RunSafelyOnThread was called again in the "child" thread it would mess up crash-recovery for its parent.
A test for this will be added in the clang repository. rdar://14204560
llvm-svn: 184380
show more ...
|
Revision tags: llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1, llvmorg-3.2.0, llvmorg-3.2.0-rc3 |
|
#
ed0881b2 |
| 03-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Use the new script to sort the includes of every file under lib.
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module
Use the new script to sort the includes of every file under lib.
Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented.
Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =]
llvm-svn: 169131
show more ...
|
Revision tags: llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1, llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2 |
|
#
e568efbc |
| 21-Apr-2012 |
Nuno Lopes <nunoplopes@sapo.pt> |
move Signals to .rodata
llvm-svn: 155283
|