<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Anton and John,<br>
<br>
Thank you for the valuable info.<br>
<br>
I guess the MinGW/Cygwin path is dead, at least for now.<br>
<br>
How about the problem of registering the pass multiple times under
Linux (Debian4-i386)?<br>
<br>
<font color="#3333ff">opt -load Release/lib/Hello.so -hello <
test.bc > /dev/null
<br>
opt:
/autofs/steffan/a/a0/czhao/ResearchTools/LLVM/2.7/llvm-2.7/lib/VMCore/Pass.cpp:234:
void<unnamed>::PassRegistrar::RegisterPass(const
llvm::PassInfo&): Assertion `Inserted && "Pass registered
multiple times!"' failed.
<br>
0 opt 0x085e6809
<br>
Stack dump:
<br>
0. Program arguments: opt -load Release/lib/Hello.so -hello
<br>
/bin/sh: line 1: 28292 Aborted opt -load
Release/lib/Hello.so -hello <test.bc >/dev/null
<br>
make: *** [run] Error 134
<br>
</font><br>
I can't seem to figure out the reason of the strange behavior, other
than believing it is (possibly) a mis-compilation problem.<br>
<br>
A few known-to-miscompile compiler versions are given in the getting
started guide (<a href="http://llvm.org/docs/GettingStarted.html">http://llvm.org/docs/GettingStarted.html</a>),
I wonder if the LLVM Team can publish instead at least 1<font
color="#ff0000"> GOOD</font> build compiler (the version) on a
supported platform, in addition to the broken ones.<br>
<br>
And, is there a way to check whether a current LLVM build is
miscompiled or not, by running some simple tests or scripts?<br>
<br>
Any suggestion(s)?<br>
<br>
Thank you<br>
<br>
Chuck<br>
<br>
<br>
<br>
On 6/2/2010 5:28 PM, Anton Korobeynikov wrote:
<blockquote
cite="mid:AANLkTikSIKMqCqdSh8qVpoGF8bWZxX3xv05WH1wBcpJW@mail.gmail.com"
type="cite">opt -load Release/lib/Hello.dll -hello < ./hello.bc
> /dev/null<br>
<blockquote type="cite">
<pre wrap="">opt.exe: Unknown command line argument '-hello'. Try:
Could somebody give me a hint?
</pre>
</blockquote>
<pre wrap="">Loadable modules (e.g. passes) are not supported on windows. And will
probably never be.
</pre>
</blockquote>
<br>
</body>
</html>