[llvm-branch-commits] [cfe-branch] r118559 - /cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp

Daniel Dunbar daniel at zuster.org
Tue Nov 9 09:31:48 PST 2010


Author: ddunbar
Date: Tue Nov  9 11:31:48 2010
New Revision: 118559

URL: http://llvm.org/viewvc/llvm-project?rev=118559&view=rev
Log:
Merge r118278:
--
Author: Daniel Dunbar <daniel at zuster.org>
Date:   Fri Nov 5 17:21:46 2010 +0000

    libclang: Enable requesting a larger stack for several libclang entry points
    using "safety" threads.

Modified:
    cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp

Modified: cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp?rev=118559&r1=118558&r2=118559&view=diff
==============================================================================
--- cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp (original)
+++ cfe/branches/Apple/whitney/tools/libclang/CIndex.cpp Tue Nov  9 11:31:48 2010
@@ -4431,7 +4431,8 @@
 // Misc. utility functions.
 //===----------------------------------------------------------------------===//
 
-static unsigned SafetyStackThreadSize = 0;
+/// Default to using an 8 MB stack size on "safety" threads.
+static unsigned SafetyStackThreadSize = 8 << 20;
 
 namespace clang {
 





More information about the llvm-branch-commits mailing list