<p dir="ltr">I think this is <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D16846&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=B1X5buQPFw_VMfgUkHh-kn8UlOUYVTjTXrH5Svzs9DM&s=kQRh7o9cczx6q8fMHE_Q1beec3MaQrvwqlbGOx4PCe8&e=">https://llvm.org/bugs/show_bug.cgi?id=16846</a></p>
<div class="gmail_quote">On Jun 4, 2015 12:04 PM, "Hui Zhang" <<a href="mailto:wayne.huizhang@gmail.com">wayne.huizhang@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:large">Is there any clue for this error ?<br><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large">Thanks<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 2, 2015 at 5:47 PM, Hui Zhang <span dir="ltr"><<a href="mailto:wayne.huizhang@gmail.com" target="_blank">wayne.huizhang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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><span><font color="#888888"><br>-- <br><div>Best regards<br><br><br>Hui Zhang<br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div>Best regards<br><br><br>Hui Zhang<br></div>
</div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div>