[cfe-dev] segfault in clang

Joseph Winston josephwinston at mac.com
Tue Mar 2 09:11:21 PST 2010


Using revision 97494 http://llvm.org/svn/llvm-project/llvm/trunk and
revision 97494 http://llvm.org/svn/llvm-project/cfe/trunk, I am having
a segfault compiling c++ code using clang.  Here's the tail of the
program:

Stack dump:
0.      Program arguments:
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang
-cc1 -triple x86_64-unknown-linux-gnu -S -disable-free -main-file-name
DataManager.cpp -pic-level 2 -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -g -resource-dir
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/lib/clang/1.1
-DlibIQIData_EXPORTS -DQT_DLL -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_GUI_LIB
-DQT_SQL_LIB -DQT_CORE_LIB -DDataEXPORTING -DSpSTATIC=1 -DLinux
-DGIWS_MONO -DHAVE_TGS_INVENTOR -DHAVE_TGS_VOLUMEVIZ -DSHELL_OIV_MOD
-DGLEW_STATIC -DKDAB_HAVE_SIMPLEB -DLANDMARK -DLANDMARKR5000 -DXSTREAM
-DKDAB_HAVE_COGNIVISION -DGEOPATH -DVOICESTORM -DVOICESHAPE
-DKDAB_HAVE_GOCAD -DSP_TAO=1 -DSP_POA=1 -DACE_HAS_STANDARD_CPP_LIBRARY=1
-DACE_USED_STD_NAMESPACE_FOR_STDCPP_LIB=1 -D_POSIX_THREADS
-D_POSIX_THREAD_SAFE_FUNCTIONS -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
-DSHELL123DI -DSIPMAP -DHASH_HACK -DNO_TOOLTALK -D_REENTRANT
-DXMSTRINGDEFINES -DDEPSIM_FORTRAN_IO -DNO_SHELL_LIB
-DKDAB_NDI_STATIC_BUILD -DSpStatic=1 -DGL_GLEXT_PROTOTYPES -DTEXTURE_3D
-DIV_STRICT -DKDAB_NYI=qWarning -DNOMINMAX -DQT_DEBUG -DDEBUG -DDEBUG
-I/glb/home/usjwiv/work/SVN/trunk/EIW/src/PotentialFields/DepthEstimation/lib/include
-I/glb/home/usjwiv/work/SVN/trunk/EIW/3rdparty/boost/1.39.0/include/boost-1_39
-I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include
-I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include/QtOpenGL
-I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include/QtSvg -I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include/QtGui
-I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include/QtSql-I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include/QtCore
-I/glb/home/usjwiv/work/Projects/TimeTie/src/One/lib/include
-I/glb/home/usjwiv/Tools/x86_64-unknown-linux-gnu/include
-I/glb/home/usjwiv/work/SVN/trunk/EIW/src/nDI/spirit2/lib/include
-I/glb/home/usjwiv/work/SVN/trunk/EIW/3rdparty/SIPMAP/200901/Linux64/include
-I/glb/home/usjwiv/work/Projects/TimeTie/src/One/ThirdParty/chrono
-I/glb/home/usjwiv/work/Projects/TimeTie/src/One/ThirdParty/singleton
-Wall -Wall -fmessage-length 144 -fexceptions -fgnu-runtime -o
/tmp/cc-h67oPy.s -x c++
/glb/home/usjwiv/work/Projects/TimeTie/src/One/lib/source/Data/DataManager.cpp
1.      <eof> parser at end of file
2.
/glb/home/usjwiv/work/SVN/trunk/EIW/3rdparty/boost/1.39.0/include/boost-1_39/boost/filesystem/operations.hpp:521:10:
instantiating function definition 'boost::filesystem::current_path'
3.
/glb/home/usjwiv/work/SVN/trunk/EIW/3rdparty/boost/1.39.0/include/boost-1_39/boost/filesystem/path.hpp:166:7:
instantiating function definition 'boost::filesystem::basic_path<class
std::basic_string<char, struct std::char_traits<char>, class
std::allocator<char> >, struct boost::filesystem::path_traits>::basic_path'
4.
/glb/home/usjwiv/work/SVN/trunk/EIW/3rdparty/boost/1.39.0/include/boost-1_39/boost/filesystem/path.hpp:204:20:
instantiating function definition 'boost::filesystem::basic_path<class
std::basic_string<char, struct std::char_traits<char>, class
std::allocator<char> >, struct boost::filesystem::path_traits>::operator/='
5.
/glb/home/usjwiv/work/SVN/trunk/EIW/3rdparty/boost/1.39.0/include/boost-1_39/boost/filesystem/path.hpp:205:20:
instantiating function definition 'boost::filesystem::basic_path<class
std::basic_string<char, struct std::char_traits<char>, class
std::allocator<char> >, struct boost::filesystem::path_traits>::operator/='
6.
/glb/home/usjwiv/work/SVN/trunk/EIW/3rdparty/boost/1.39.0/include/boost-1_39/boost/filesystem/path.hpp:730:20:
instantiating function definition 'boost::filesystem::detail::is_separator'
7.
/glb/home/usjwiv/work/SVN/trunk/EIW/3rdparty/boost/1.39.0/include/boost-1_39/boost/filesystem/path.hpp:730:20:
LLVM IR generation of declaration 'boost::filesystem::detail::is_separator'
8.
/glb/home/usjwiv/work/SVN/trunk/EIW/3rdparty/boost/1.39.0/include/boost-1_39/boost/filesystem/path.hpp:730:20:
Mangling declaration 'boost::filesystem::detail::is_separator'
Segmentation fault

The report from valgind is (trimmed to the segfault).

==28001== Memcheck, a memory error detector
==28001== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==28001== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==28001== Command:
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang
-cc1 -triple x86_64-unknown-linux-gnu -S -disable-free -main-file-name
DataManager.cpp -pic-level 2 -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -g -resource-dir
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/lib/clang/1.1
-DlibIQIData_EXPORTS -DQT_DLL -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_GUI_LIB
-DQT_SQL_LIB -DQT_CORE_LIB -DDataEXPORTING -DSpSTATIC=1 -DLinux
-DGIWS_MONO -DHAVE_TGS_INVENTOR -DHAVE_TGS_VOLUMEVIZ -DSHELL_OIV_MOD
-DGLEW_STATIC -DKDAB_HAVE_SIMPLEB -DLANDMARK -DLANDMARKR5000 -DXSTREAM
-DKDAB_HAVE_COGNIVISION -DGEOPATH -DVOICESTORM -DVOICESHAPE
-DKDAB_HAVE_GOCAD -DSP_TAO=1 -DSP_POA=1 -DACE_HAS_STANDARD_CPP_LIBRARY=1
-DACE_USED_STD_NAMESPACE_FOR_STDCPP_LIB=1 -D_POSIX_THREADS
-D_POSIX_THREAD_SAFE_FUNCTIONS -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
-DSHELL123DI -DSIPMAP -DHASH_HACK -DNO_TOOLTALK -D_REENTRANT
-DXMSTRINGDEFINES -DDEPSIM_FORTRAN_IO -DNO_SHELL_LIB
-DKDAB_NDI_STATIC_BUILD -DSpStatic=1 -DGL_GLEXT_PROTOTYPES -DTEXTURE_3D
-DIV_STRICT -DKDAB_NYI=qWarning -DNOMINMAX -DQT_DEBUG -DDEBUG -DDEBUG
-I/glb/home/usjwiv/work/SVN/trunk/EIW/src/PotentialFields/DepthEstimation/lib/include
-I/glb/home/usjwiv/work/SVN/trunk/EIW/3rdparty/boost/1.39.0/include/boost-1_39
-I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include
-I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include/QtOpenGL
-I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include/QtSvg -I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include/QtGui
-I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include/QtSql-I/glb/home/usjwiv/Tools/qt/V4.6.1/x86_64-unknown-linux-gnu/include/QtCore
-I/glb/home/usjwiv/work/Projects/TimeTie/src/One/lib/include
-I/glb/home/usjwiv/Tools/x86_64-unknown-linux-gnu/include
-I/glb/home/usjwiv/work/SVN/trunk/EIW/src/nDI/spirit2/lib/include
-I/glb/home/usjwiv/work/SVN/trunk/EIW/3rdparty/SIPMAP/200901/Linux64/include
-I/glb/home/usjwiv/work/Projects/TimeTie/src/One/ThirdParty/chrono
-I/glb/home/usjwiv/work/Projects/TimeTie/src/One/ThirdParty/singleton
-Wall -Wall -fmessage-length 144 -fexceptions -fgnu-runtime -o
/tmp/cc-h67oPy.s -x c++
/glb/home/usjwiv/work/Projects/TimeTie/src/One/lib/source/Data/DataManager.cpp
==28001== Parent PID: 14497
==28001==
==28001== Invalid read of size 1
==28001==    at 0x93083E: (anonymous
namespace)::CXXNameMangler::mangleType(clang::TypenameType const*) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x92E2C4: (anonymous
namespace)::CXXNameMangler::mangleType(clang::QualType) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x92F3A4: (anonymous
namespace)::CXXNameMangler::mangleBareFunctionType(clang::FunctionType
const*, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x92F6C6: (anonymous
namespace)::CXXNameMangler::mangleFunctionEncoding(clang::FunctionDecl
const*) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x92CC99:
clang::CodeGen::MangleContext::mangleName(clang::NamedDecl const*,
llvm::SmallVectorImpl<char>&) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x9146B0:
clang::CodeGen::CodeGenModule::getMangledName(clang::NamedDecl const*)
(in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x91C1DD:
clang::CodeGen::CodeGenModule::EmitGlobal(clang::CodeGen::GlobalDecl)
(in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x91C800:
clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x913BE0: (anonymous
namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef)
(in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x7E638C: (anonymous
namespace)::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC1197F:
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC11349:
clang::Sema::PerformPendingImplicitInstantiations(bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC1212F:
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC11349:
clang::Sema::PerformPendingImplicitInstantiations(bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC1212F:
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC11349:
clang::Sema::PerformPendingImplicitInstantiations(bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC1212F:
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC11349:
clang::Sema::PerformPendingImplicitInstantiations(bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC1212F:
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC11349:
clang::Sema::PerformPendingImplicitInstantiations(bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xA3F2A2: clang::Sema::ActOnEndOfTranslationUnit() (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xE1375E:
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<1>&) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xA3E77A: clang::ParseAST(clang::Preprocessor&,
clang::ASTConsumer*, clang::ASTContext&, bool, bool,
clang::CodeCompleteConsumer*) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x7E7D6E:
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x7DC93D: cc1_main(char const**, char const**, char
const*, void*) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x7D9FC5: main (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==  Address 0x10 is not stack'd, malloc'd or (recently) free'd
==28001==
==28001==
==28001== Process terminating with default action of signal 11 (SIGSEGV)
==28001==  Access not within mapped region at address 0x10
==28001==    at 0x93083E: (anonymous
namespace)::CXXNameMangler::mangleType(clang::TypenameType const*) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x92E2C4: (anonymous
namespace)::CXXNameMangler::mangleType(clang::QualType) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x92F3A4: (anonymous
namespace)::CXXNameMangler::mangleBareFunctionType(clang::FunctionType
const*, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x92F6C6: (anonymous
namespace)::CXXNameMangler::mangleFunctionEncoding(clang::FunctionDecl
const*) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x92CC99:
clang::CodeGen::MangleContext::mangleName(clang::NamedDecl const*,
llvm::SmallVectorImpl<char>&) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x9146B0:
clang::CodeGen::CodeGenModule::getMangledName(clang::NamedDecl const*)
(in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x91C1DD:
clang::CodeGen::CodeGenModule::EmitGlobal(clang::CodeGen::GlobalDecl)
(in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x91C800:
clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x913BE0: (anonymous
namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef)
(in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x7E638C: (anonymous
namespace)::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC1197F:
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC11349:
clang::Sema::PerformPendingImplicitInstantiations(bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC1212F:
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC11349:
clang::Sema::PerformPendingImplicitInstantiations(bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC1212F:
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC11349:
clang::Sema::PerformPendingImplicitInstantiations(bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC1212F:
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC11349:
clang::Sema::PerformPendingImplicitInstantiations(bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC1212F:
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xC11349:
clang::Sema::PerformPendingImplicitInstantiations(bool) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xA3F2A2: clang::Sema::ActOnEndOfTranslationUnit() (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xE1375E:
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<1>&) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0xA3E77A: clang::ParseAST(clang::Preprocessor&,
clang::ASTConsumer*, clang::ASTContext&, bool, bool,
clang::CodeCompleteConsumer*) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x7E7D6E:
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x7DC93D: cc1_main(char const**, char const**, char
const*, void*) (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==    by 0x7D9FC5: main (in
/scratch/jody/src/Languages/LLVM/llvm-read-only/x86_64-unknown-linux-gnu-INSTALL/bin/clang)
==28001==  If you believe this happened as a result of a stack
==28001==  overflow in your program's main thread (unlikely but
==28001==  possible), you can try to increase the size of the
==28001==  main thread stack using the --main-stacksize= flag.
==28001==  The main thread stack size used in this run was 16777216.
==28001==





More information about the cfe-dev mailing list