[LLVMdev] llc unhandled attribute

Anton Korobeynikov anton at korobeynikov.info
Mon Jun 4 02:35:48 PDT 2012


> I was trying to do a source to source transformation in llvm from c++11 more
> basic c++ (to transform away auto etc.) using llvm3.1.
> I generate llvm bitcode using "clang++ -emit-llvm ...", but executing llc
> -march=cpp throws
> /home/broes/software/llvm/lib/Target/CppBackend/CPPBackend.cpp:493: void
> {anonymous}::CppWriter::printAttributes(const llvm::AttrListPtr&, const
> string&): Assertion `attrs == 0 && "Unhandled attribute!"' failed.
>
> Does this point to some unimplented feature of the transformation?
Yes, but it seems irrelevant to your task. CPP backend generates the
C++ code containing LLVM API calls necessary to construct the input
IR.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list