<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:large">Hello, <br><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large">I'm having this error and couldn't find a resolution from online, any help would be greatly appreciated:<br><br>clang: /export/home/hzhang86/chapel/chapel-llvm36/chapel/third-party/llvm/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp:839: void llvm::DwarfUnit::addType(llvm::DIE&, llvm::DIType, llvm::dwarf::Attribute): Assertion `Ty && "Trying to add a type that doesn't exist?"' failed.<br>0 clang 0x0000000001eaccd2 llvm::sys::PrintStackTrace(_IO_FILE*) + 34<br>1 clang 0x0000000001eaafd9<br>2 libpthread.so.0 0x00007fea3c820cb0<br>3 libc.so.6 0x00007fea3b6380d5 gsignal + 53<br>4 libc.so.6 0x00007fea3b63b83b abort + 379<br>5 libc.so.6 0x00007fea3b630d9e<br>6 libc.so.6 0x00007fea3b630e42<br>7 clang 0x00000000016b8252 llvm::DwarfUnit::addType(llvm::DIE&, llvm::DIType, llvm::dwarf::Attribute) + 610<br>8 clang 0x00000000016b9337 llvm::DwarfUnit::constructMemberDIE(llvm::DIE&, llvm::DIDerivedType) + 135<br>9 clang 0x00000000016ba2ed llvm::DwarfUnit::constructTypeDIE(llvm::DIE&, llvm::DICompositeType) + 2221<br>10 clang 0x00000000016b7e9c llvm::DwarfUnit::getOrCreateTypeDIE(llvm::MDNode const*) + 412<br>11 clang 0x00000000016b80a9 llvm::DwarfUnit::addType(llvm::DIE&, llvm::DIType, llvm::dwarf::Attribute) + 185<br>12 clang 0x00000000016dcd3d llvm::DwarfCompileUnit::getOrCreateGlobalVariableDIE(llvm::DIGlobalVariable) + 1757<br>13 clang 0x00000000016aa1aa<br>14 clang 0x00000000016aafde llvm::DwarfDebug::DwarfDebug(llvm::AsmPrinter*, llvm::Module*) + 2398<br>15 clang 0x000000000169186e llvm::AsmPrinter::doInitialization(llvm::Module&) + 974<br>16 clang 0x0000000001e29cb7 llvm::FPPassManager::doInitialization(llvm::Module&) + 71<br>17 clang 0x0000000001e331cb llvm::legacy::PassManagerImpl::run(llvm::Module&) + 363<br>18 clang 0x000000000086a323 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 3491<br>19 clang 0x00000000008594ac clang::CodeGenAction::ExecuteAction() + 1676<br>20 clang 0x0000000000692e66 clang::FrontendAction::Execute() + 118<br>21 clang 0x000000000066d299 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 345<br>22 clang 0x000000000065467a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1690<br>23 clang 0x000000000064c538 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1192<br>24 clang 0x0000000000631eb9 main + 1737<br>25 libc.so.6 0x00007fea3b62376d __libc_start_main + 237<br>26 clang <br clear="all"></div><br>-- <br><div class="gmail_signature">Best regards<br><br><br>Hui Zhang<br></div>
</div>