[cfe-dev] [bug] Assertion: cannot perform hierarchy conversion in EmitAggExpr
Douglas Gregor
dgregor at apple.com
Tue Nov 30 09:35:40 PST 2010
On Nov 30, 2010, at 8:55 AM, arrowdodger wrote:
> Hello, i've been compiling ToT Leechcraft [1] with ToT clang/llvm and get this assertion:
>
> [ 6%] Building CXX object xmlsettingsdialog/CMakeFiles/xmlsettingsdialog.dir/itemhandlers/itemhandlerdataview.cpp.o
> Assertion failed: (0 && "cannot perform hierarchy conversion in EmitAggExpr: " "should have been unpacked before we got here"), function VisitCastExpr, file /home/arr/projects/llvm/llvm/tools/clang/lib/CodeGen/CGExprAgg.cpp, line 282.
> Stack dump:
> 0. Program arguments: /usr/home/arr/.local/llvm/bin/clang -cc1 -triple x86_64-unknown-freebsd8.1 -emit-obj -mrelax-all -disable-free -main-file-name itemhandlerdataview.cpp -pic-level 2 -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -resource-dir /usr/home/arr/.local/llvm/bin/../lib/clang/2.9 -D xmlsettingsdialog_EXPORTS -D QT_SCRIPT_LIB -D QT_GUI_LIB -D QT_XML_LIB -D QT_CORE_LIB -I /usr/local/include/qt4 -I /usr/local/include/qt4/QtScript -I /usr/local/include/qt4/QtGui -I /usr/local/include/qt4/QtXml -I /usr/local/include/qt4/QtCore -I /usr/local/include -I /home/arr/projects/leechcraft/build/xmlsettingsdialog -I /home/arr/projects/leechcraft/src/xmlsettingsdialog/.. -ferror-limit 19 -fmessage-length 95 -fvisibility hidden -fexceptions -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o CMakeFiles/xmlsettingsdialog.dir/itemhandlers/itemhandlerdataview.cpp.o -x c++ /home/arr/projects/leechcraft/src/xmlsettingsdialog/itemhandlers/itemhandlerdataview.cpp
> 1. <eof> parser at end of file
> 2. /home/arr/projects/leechcraft/src/xmlsettingsdialog/itemhandlers/itemhandlerdataview.cpp:32:11: LLVM IR generation of declaration 'LeechCraft'
> 3. /home/arr/projects/leechcraft/src/xmlsettingsdialog/itemhandlers/itemhandlerdataview.cpp:132:28: Generating code for declaration 'LeechCraft::ItemHandlerDataView::handleAddRequested'
> 4. /home/arr/projects/leechcraft/src/xmlsettingsdialog/itemhandlers/itemhandlerdataview.cpp:133:2: LLVM IR generation of compound statement ('{}')
> 5. /home/arr/projects/leechcraft/src/xmlsettingsdialog/itemhandlers/itemhandlerdataview.cpp:182:3: LLVM IR generation of compound statement ('{}')
> clang: error: unable to execute command: Abort trap: 6
> clang: error: clang frontend command failed due to signal 1 (use -v to see invocation)
>
> What can i do next to help fixing this?
Please generate preprocessed output (with -E) and attach it to a new bug report at http://llvm.org/bugs/ . If you're able to cut down the side of the preprocessed output (but still make it something that triggers the same assertion!), that would also help.
- Doug
More information about the cfe-dev
mailing list