Hello, Ashwin.
You wrote Wednesday, May 24, 2006, 11:25:11 AM:
"Pass::getClassPassInfo<PassClass>() "Pass class not
registered!"" failed: file
"/cygdrive/c/llvm/llvm/include/llvm/PassAnalysisSupport.h", line 76
Aborted
Same for me.
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).
Yes. X86AsmWriter should be fixed. I've submitted patches for that in
this maillist some days ago.
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?
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.
Hi Anton,
For the asm writer…i just cvs updated yesterday. Was something added in in the past 24 hours?
Hello, Ashwin.
You wrote Wednesday, May 24, 2006, 11:25:11 AM:
> "Pass::getClassPassInfo<PassClass>() "Pass class not
> registered!"" failed: file
> "/cygdrive/c/llvm/llvm/include/llvm/PassAnalysisSupport.h", line 76
> Aborted
Same for me.
> 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).
Yes. X86AsmWriter should be fixed. I've submitted patches for that in
this maillist some days ago.
Could you resent? I cannot find your patch submission.
Thanks,
Evan
Hi Anton,
Is the patch going to be uploaded to the CVS source?
Ashwin
The patch is now in. Sorry about the delay!
Evan
Hi Evan,
I updated cvs and recompilled llvm. Still getting some unrecognized commas in the compilation of the assembly file after using llc. I guess this is still future work…
Ashwin
Hi Evan,
Actually the unrecognized commas disappeared with the patch. What remains is a call to “.local” which doesn’t exist in x86 or at least is not compilable by g++.
Ashwin
Hi Ashwin,
Thanks for testing it out. Free feel to contribute patches to fix the problems!
Given that I work for Apple, you can’t expect me to know anything about WIN32, right? :^)
Evan
Hello, Ashwin.
You wrote Friday, May 26, 2006, 4:19:32 AM:
Actually the unrecognized commas disappeared with the patch.
What remains is a call to ".local" which doesn't exist in x86 or
at least is not compilable by g++.
It was my fault. It should be fixed soon.