[LLVMdev] opt pass plugins on Windows?

Martin Tofall obsidium at uni-paderborn.de
Wed Jan 7 12:37:36 PST 2009


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




More information about the llvm-dev mailing list