<div dir="ltr"><div>Hello,<br><br></div><div>I&#39;m getting an error when running opt with what seems to be a valid bytecode file compiled from one the Linux Kernel files.<br></div><div>The error is:<br>opt: /home/scratch/llvm/lib/IR/Attributes.cpp:119: llvm::StringRef llvm::Attribute::getKindAsString() const: Assertion `isStringAttribute() &amp;&amp; &quot;Invalid attribute type to get the kind as a string!&quot;&#39; failed.<br>
<br></div><div>I send you in attach the .{c,bc,ll} and the log file of the error.<br></div><div>Any insight on how to solve this would be quite helpful because it occurs in several bytecode files of the Linux Kernel source.<br>
<br></div><div>I&#39;m using llvm-3.4svn. <br></div><div><br></div><div>Kind regards,<br>Marcelo<br></div></div>