https://llvm.org/bugs/show_bug.cgi?id=30974
Bug ID: 30974 Summary: Segmentation fault Product: clang Version: 3.9 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: C++11 Assignee: unassignedclangb...@nondot.org Reporter: we...@wsoptics.de CC: dgre...@apple.com, llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 17577 --> https://llvm.org/bugs/attachment.cgi?id=17577&action=edit Preprocessed source file to reproduce segmentation fault I get the following stack trace on the attached file. Because of isCopyOrMoveConstructor() appearing in the back trace, I filed it as relating to the C++11 component. #0 0x00007f4847258d58 llvm::sys::PrintStackTrace(llvm::raw_ostream&) /usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/lib/Support/Unix/Signals.inc:402:0 #1 0x00007f4847256a6e llvm::sys::RunSignalHandlers() /usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/lib/Support/Signals.cpp:45:0 #2 0x00007f4847256d3c SignalHandler /usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/lib/Support/Unix/Signals.inc:246:0 #3 0x00007f4844fa3380 (/lib64/libc.so.6+0x33380) #4 0x00007f48417cccd8 clang::QualType::getTypePtr() const /usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/include/clang/AST/Type.h:5260:0 #5 0x00007f48417cccd8 clang::QualType::operator->() const /usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/include/clang/AST/Type.h:658:0 #6 0x00007f48417cccd8 clang::FunctionDecl::getNumParams() const /usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/lib/AST/Decl.cpp:2743:0 #7 0x00007f48417e6455 clang::CXXConstructorDecl::isCopyOrMoveConstructor(unsigned int&) const /usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/lib/AST/DeclCXX.cpp:1896:0 #8 0x00007f48417e65d9 clang::CXXConstructorDecl::isCopyConstructor(unsigned int&) const /usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/lib/AST/DeclCXX.cpp:1873:0 #9 0x00007f484077b2ed EvaluateUnaryTypeTrait /usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/lib/Sema/SemaExprCXX.cpp:4227:0 #10 0x00007f484077b2ed evaluateTypeTrait /usr/src/debug/sys-devel/llvm-3.9.0-r1/llvm-3.9.0.src/tools/clang/lib/Sema/SemaExprCXX.cpp:4325:0 -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs