<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV id=mb_0>
<DIV>
<DIV>Hi All,</DIV>
<DIV>I'm having an issue with llc. I just updated cvs with latest llvm and 
llvm-gcc frontend code and compiled and made the binaries.</DIV>
<DIV>I took a small sample C++ file and compiled it into bytecode with "llvm-g++ 
-c sample.cpp". </DIV>
<DIV> </DIV>
<DIV>Then after using "llc -march=C sample.cpp.bc", I get the following 
error:</DIV>
<DIV> </DIV>
<DIV><STRONG>llc -march=c KEYFNT.CPP.bc -f<BR>assertion 
"Pass::getClassPassInfo<WBR><PassClass>() && "Pass class not 
registered!"" failed: file 
"/cygdrive/c/llvm/llvm/include<WBR>/llvm/PassAnalysisSupport.h", line 76 
<BR>Aborted</STRONG><BR> </DIV>
<DIV> </DIV>
<DIV><EM>Wihtout the -march specified (using native x86 assembly) it does 
convert it into assembly, but is uncompilable (with some unecognized "," (comma) 
characters in the .s file).</EM></DIV>
<DIV> </DIV>
<DIV>Does anyone have an idea why these two errors happen and has anyone 
successfully used llvm-g++ on a WIN32 platform to compile files into bytecode 
and used llc to convert back into C/assembly?</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV></DIV>
<DIV><SPAN class=sg>
<DIV>Ashwin</DIV></SPAN></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>