[llvmlinux] [LLVMdev] opt fails with assertion in Attributes.cpp

Bill Wendling wendling at apple.com
Tue Jun 18 21:28:21 UTC 2013


Hi Marcelo,

That should be fixed now at r184239. Sorry about the failure!

-bw

On Jun 17, 2013, at 6:16 AM, Marcelo Sousa <marceloabsousa at gmail.com> wrote:

> Hello,
> 
> I'm getting an error when running opt with what seems to be a valid bytecode file compiled from one the Linux Kernel files.
> The error is:
> opt: /home/scratch/llvm/lib/IR/Attributes.cpp:119: llvm::StringRef llvm::Attribute::getKindAsString() const: Assertion `isStringAttribute() && "Invalid attribute type to get the kind as a string!"' failed.
> 
> I send you in attach the .{c,bc,ll} and the log file of the error.
> Any insight on how to solve this would be quite helpful because it occurs in several bytecode files of the Linux Kernel source.
> 
> I'm using llvm-3.4svn. 
> 
> Kind regards,
> Marcelo
> <async.c><async.c.bc><async.c.ll><errorlog>_______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the LLVMLinux mailing list