[LLVMdev] Error with llc after using llvm-g++ WIN32

Anton Korobeynikov asl at math.spbu.ru
Wed May 24 05:03:16 PDT 2006

Hello, Ashwin.

You wrote Wednesday, May 24, 2006, 11:25:11 AM:

AC> "Pass::getClassPassInfo<PassClass>()    "Pass class not
AC> registered!"" failed: file 
AC> "/cygdrive/c/llvm/llvm/include/llvm/PassAnalysisSupport.h", line 76
AC> Aborted
Same for me.

AC> Wihtout the -march specified (using native x86 assembly) it does
AC> convert it into assembly, but is uncompilable (with some unecognized "," (comma)
AC> characters in the .s file).
Yes. X86AsmWriter should be fixed. I've submitted patches for that in
this maillist some days ago.

AC> Does anyone have an idea why these two errors happen and has anyone
AC> successfully used llvm-g++ on a WIN32 platform to compile files into bytecode
AC> and used llc to convert back into C/assembly?
C++ is definitely broken on win32 platform due to many platform
specific issues (e.g. static ctors, etc.). Thank you for triggering
this bug - I'm working on this.

With best regards,
 Anton                          mailto:asl at math.spbu.ru

Wednesday, May 24, 2006 4:00:59 PM

Faculty of Mathematics & Mechanics, Saint-Petersburg State University

More information about the llvm-dev mailing list