[cfe-commits] r118278 - /cfe/trunk/tools/libclang/CIndex.cpp
Daniel Dunbar
daniel at zuster.org
Fri Nov 5 10:21:46 PDT 2010
Author: ddunbar
Date: Fri Nov 5 12:21:46 2010
New Revision: 118278
URL: http://llvm.org/viewvc/llvm-project?rev=118278&view=rev
Log:
libclang: Enable requesting a larger stack for several libclang entry points
using "safety" threads.
Modified:
cfe/trunk/tools/libclang/CIndex.cpp
Modified: cfe/trunk/tools/libclang/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CIndex.cpp?rev=118278&r1=118277&r2=118278&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CIndex.cpp (original)
+++ cfe/trunk/tools/libclang/CIndex.cpp Fri Nov 5 12:21:46 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 cfe-commits
mailing list