[LLVMdev] opt pass plugins on Windows?

VladimĂ­r Guzma vladimir.guzma at tut.fi
Thu Jan 8 03:14:21 PST 2009


Hello,

What kind of error did you get with your first try with opt and Hello pass?
Is it somehow similar to errors reported in bug 2771?

Best regards,
Vlado

> Hello,
> 
> this is just a quick follow-up to my previous email. I now tried
> statically linking the 'hello' pass to opt which does seem to work.
> But I'm not sure if this is reliable or if I'm bound to run into
> problems later, so any comments on this issue would be appreciated.
> 
> Martin
> 
> Wednesday, January 7, 2009, 2:54:52 AM, you wrote:
> 
> MT> Hello,
> 
> MT> I'm just starting out with LLVM, currently using Visual Studio on
> MT> Windows. Now I'd like to write a custom pass that can be loaded
> MT> dynamically as demonstrated in the 'hello world' tutorial.
> MT> So far my DLL loads OK but the actual pass registration does not seem
> MT> to work.
> MT> My question then is (as I could not find any information on the
> MT> subject): is this even possible on win32 or will I have to move to a
> MT> different development platform?
> 
> MT> Thanks,
> MT> Martin
> 
> MT> _______________________________________________
> MT> LLVM Developers mailing list
> MT> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> MT> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list