[LLVMdev] `Ty && "Trying to add a type that doesn't exist?
Rafael EspĂndola
rafael.espindola at gmail.com
Thu Jun 4 10:09:02 PDT 2015
I think this is https://llvm.org/bugs/show_bug.cgi?id=16846
On Jun 4, 2015 12:04 PM, "Hui Zhang" <wayne.huizhang at gmail.com> wrote:
> Is there any clue for this error ?
>
> Thanks
>
> On Tue, Jun 2, 2015 at 5:47 PM, Hui Zhang <wayne.huizhang at gmail.com>
> wrote:
>
>> Hello,
>>
>> I'm having this error and couldn't find a resolution from online, any
>> help would be greatly appreciated:
>>
>> 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.
>> 0 clang 0x0000000001eaccd2
>> llvm::sys::PrintStackTrace(_IO_FILE*) + 34
>> 1 clang 0x0000000001eaafd9
>> 2 libpthread.so.0 0x00007fea3c820cb0
>> 3 libc.so.6 0x00007fea3b6380d5 gsignal + 53
>> 4 libc.so.6 0x00007fea3b63b83b abort + 379
>> 5 libc.so.6 0x00007fea3b630d9e
>> 6 libc.so.6 0x00007fea3b630e42
>> 7 clang 0x00000000016b8252
>> llvm::DwarfUnit::addType(llvm::DIE&, llvm::DIType, llvm::dwarf::Attribute)
>> + 610
>> 8 clang 0x00000000016b9337
>> llvm::DwarfUnit::constructMemberDIE(llvm::DIE&, llvm::DIDerivedType) + 135
>> 9 clang 0x00000000016ba2ed
>> llvm::DwarfUnit::constructTypeDIE(llvm::DIE&, llvm::DICompositeType) + 2221
>> 10 clang 0x00000000016b7e9c
>> llvm::DwarfUnit::getOrCreateTypeDIE(llvm::MDNode const*) + 412
>> 11 clang 0x00000000016b80a9
>> llvm::DwarfUnit::addType(llvm::DIE&, llvm::DIType, llvm::dwarf::Attribute)
>> + 185
>> 12 clang 0x00000000016dcd3d
>> llvm::DwarfCompileUnit::getOrCreateGlobalVariableDIE(llvm::DIGlobalVariable)
>> + 1757
>> 13 clang 0x00000000016aa1aa
>> 14 clang 0x00000000016aafde
>> llvm::DwarfDebug::DwarfDebug(llvm::AsmPrinter*, llvm::Module*) + 2398
>> 15 clang 0x000000000169186e
>> llvm::AsmPrinter::doInitialization(llvm::Module&) + 974
>> 16 clang 0x0000000001e29cb7
>> llvm::FPPassManager::doInitialization(llvm::Module&) + 71
>> 17 clang 0x0000000001e331cb
>> llvm::legacy::PassManagerImpl::run(llvm::Module&) + 363
>> 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
>> 19 clang 0x00000000008594ac
>> clang::CodeGenAction::ExecuteAction() + 1676
>> 20 clang 0x0000000000692e66 clang::FrontendAction::Execute() +
>> 118
>> 21 clang 0x000000000066d299
>> clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 345
>> 22 clang 0x000000000065467a
>> clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1690
>> 23 clang 0x000000000064c538 cc1_main(llvm::ArrayRef<char
>> const*>, char const*, void*) + 1192
>> 24 clang 0x0000000000631eb9 main + 1737
>> 25 libc.so.6 0x00007fea3b62376d __libc_start_main + 237
>> 26 clang
>>
>> --
>> Best regards
>>
>>
>> Hui Zhang
>>
>
>
>
> --
> Best regards
>
>
> Hui Zhang
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150604/6fb2cf9e/attachment.html>
More information about the llvm-dev
mailing list