[LLVMdev] can't run the Hello Pass: registered multiple times
czhao at eecg.toronto.edu
Wed Jun 2 16:17:00 PDT 2010
Anton and John,
Thank you for the valuable info.
I guess the MinGW/Cygwin path is dead, at least for now.
How about the problem of registering the pass multiple times under Linux
opt -load Release/lib/Hello.so -hello < test.bc > /dev/null
Assertion `Inserted && "Pass registered multiple times!"' failed.
0 opt 0x085e6809
0. Program arguments: opt -load Release/lib/Hello.so -hello
/bin/sh: line 1: 28292 Aborted opt -load
Release/lib/Hello.so -hello <test.bc >/dev/null
make: *** [run] Error 134
I can't seem to figure out the reason of the strange behavior, other
than believing it is (possibly) a mis-compilation problem.
A few known-to-miscompile compiler versions are given in the getting
started guide (http://llvm.org/docs/GettingStarted.html), I wonder if
the LLVM Team can publish instead at least 1 GOOD build compiler (the
version) on a supported platform, in addition to the broken ones.
And, is there a way to check whether a current LLVM build is miscompiled
or not, by running some simple tests or scripts?
On 6/2/2010 5:28 PM, Anton Korobeynikov wrote:
> opt -load Release/lib/Hello.dll -hello < ./hello.bc > /dev/null
>> opt.exe: Unknown command line argument '-hello'. Try:
>> Could somebody give me a hint?
> Loadable modules (e.g. passes) are not supported on windows. And will
> probably never be.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev