How to create a new pass using Visual Studio

Hi,

I tried to write a new pass using Visual Studio.

On linux, I can run the pass as bellows.

A shared object is built by Makefile and dynamically loaded by opt via –load option.

How can I run a new pass on Window?

Thanks,

Keoncheol