Loading LLVM passes on Cygwin
Posted
by
user666730
on Stack Overflow
See other posts from Stack Overflow
or by user666730
Published on 2011-03-18T21:31:22Z
Indexed on
2011/03/19
8:10 UTC
Read the original article
Hit count: 181
I am trying to write an LLVM pass on Windows using Cygwin. When I make the project, a dll gets created in the Release/bin directory instead of a .so file in the Release/lib directory. The latter is what is shown in the LLVM document. When I try to load this dll using the -load flag, nothing happens.
$opt -load ../../../Release/bin/Pass.dll -help
The pass that I am trying to load isn't printed after this. How do I get this right?
© Stack Overflow or respective owner