Using svn-bisect, I have determined that revision 131365 introduced an assertion which is failing on one of my Objective-C++ source files. (The failure occurs at both that revision and through to the current trunk.) Clang was built as Release+Asserts
/Users/ejt/todo/Tekkotsu/local/DataSources/CameraSourceQTKit.mm:494:1: LLVM IR generation of declaration 'CameraSourceQTKitDelegate'
clang: error: unable to execute command: Illegal instruction
clang: error: clang frontend command failed due to signal 1 (use -v to see invocation)
Extended Description
Using svn-bisect, I have determined that revision 131365 introduced an assertion which is failing on one of my Objective-C++ source files. (The failure occurs at both that revision and through to the current trunk.) Clang was built as Release+Asserts
You can view the file in question here: http://cvs.tekkotsu.org/viewvc/Tekkotsu/local/DataSources/CameraSourceQTKit.mm?view=markup
I will append the assertion failure report from clang below, let me know if there is anything else I can provide to help resolve this, thanks!
Assertion failed: (!FieldOrBaseOffsets[layout.getVBaseClassOffsetInBits(base)]), function getObjCEncodingForStructureImpl, file ASTContext.cpp, line 4474. 0 clang 0x00000001016ef862 llvm::SmallVectorTemplateBase<llvm_regmatch_t, false>::grow(unsigned long) + 818 1 clang 0x00000001016f07e3 llvm::SmallVectorTemplateBase<llvm_regmatch_t, false>::grow(unsigned long) + 4787 2 libSystem.B.dylib 0x00007fff879bd1ba _sigtramp + 26 3 libSystem.B.dylib 0x00007fff5fbfb1a0 _sigtramp + 3626229760 4 clang 0x00000001016efce2 llvm::SmallVectorTemplateBase<llvm_regmatch_t, false>::grow(unsigned long) + 1970 5 clang 0x0000000100868a33 clang::ASTConsumer::~ASTConsumer() + 71699 6 clang 0x000000010086a495 clang::ASTConsumer::~ASTConsumer() + 78453 7 clang 0x0000000100869188 clang::ASTConsumer::~ASTConsumer() + 73576 8 clang 0x00000001008760de clang::ASTConsumer::~ASTConsumer() + 126654 9 clang 0x000000010025b816 llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter >::CreateStructGEP(llvm::Value, unsigned int, llvm::Twine const&) + 24726
10 clang 0x000000010026949c llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter >::CreateStructGEP(llvm::Value , unsigned int, llvm::Twine const&) + 81180
11 clang 0x00000001002777cf llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter >::CreateStructGEP(llvm::Value, unsigned int, llvm::Twine const&) + 139343
12 clang 0x000000010027877a llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter >::CreateStructGEP(llvm::Value , unsigned int, llvm::Twine const&) + 143354
13 clang 0x00000001002cd9c9 llvm::DenseMap<clang::Expr const, llvm::Value, llvm::DenseMapInfo<clang::Expr const>, llvm::DenseMapInfo<llvm::Value> >::grow(unsigned int) + 46393
14 clang 0x00000001002e00ff llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter >::CreateExtractValue(llvm::Value, unsigned int, llvm::Twine const&) + 3231
15 clang 0x00000001002bbe3b clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) + 155
16 clang 0x00000001002ecc72 llvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter >::CreateAdd(llvm::Value , llvm::Value, llvm::Twine const&, bool, bool) + 674
17 clang 0x00000001002ba34c llvm::DenseMap<clang::CodeGen::GlobalDecl, long long, llvm::DenseMapInfo, llvm::DenseMapInfo >::grow(unsigned int) + 2188
18 clang 0x0000000100041ff1 llvm::DenseMap<clang::IdentifierInfo const , unsigned int, llvm::DenseMapInfo<clang::IdentifierInfo const*>, llvm::DenseMapInfo >::grow(unsigned int) + 8945
19 clang 0x000000010000a4c5 std::_Rb_tree<std::string, std::string, std::_Identity, std::less, std::allocator >::_M_insert_unique(std::string const&) + 1893
20 clang 0x0000000100001718
21 clang 0x0000000100009682 std::vector<std::string, std::allocator >::operator=(std::vector<std::string, std::allocator > const&) + 12962
22 clang 0x0000000100000b34
Stack dump: