Hello, everyone!
Recently, I build llvm project for Visual Studio 2008 using cmake successfulley.
I modify the project LLVMHello of the entire solution to generate LLVMHello.dll instead of LLVMHello.lib without other changes.
Then, the flowing commands is executed:
opt -load LLVMHello.dll --help
But, I can’t find the information string for hello pass.
opt -load LLVMHello.dll -hello test.bc
Error Information: opt: Unkown command line argument ‘-hello’. Try: ‘opt --help’.
Could you help me to solve this problem? Thanks.
2009-04-13
Hello
Could you help me to solve this problem? Thanks.
Plugins are not supported on systems without dynamic linking (e.g.
windows).
Hello
Could you help me to solve this problem? Thanks.
Plugins are not supported on systems without dynamic linking (e.g.
windows).
Well, how to add new pass on windows? generate .lib which is linked with opt? I have tried this way.
But, It doesn’t work, either.
Hello
Well, how to add new pass on windows? generate .lib which is linked with
opt? I have tried this way.
But, It doesn't work, either.
Then - you did something wrong. I don't see how your pass might be
different from the bunch of standard passes already linked in into
opt.