search for: cygllvm

Displaying 3 results from an estimated 3 matches for "cygllvm".

2011 Mar 24
2
[LLVMdev] Loading LLVM passes on Cygwin
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 documentation. When I try to load this dll using the -load flag to opt, nothing happens. $opt -load ../../../Release/bin/Pass.dll -help The pass that I am trying
2011 Mar 24
0
[LLVMdev] Loading LLVM passes on Cygwin
Arjun, please try "configure --enable-shared" and link your dll to cygLLVM*.dll . With --enable-shared, you may build cygLLVMHello.dll manually, "make -C lib/Transforms/Hello" . (You can see cygBugpointPasses.dll, too) ...Takumi
2013 Jun 11
2
[LLVMdev] how to opt -load on cygwin
...Hello, $(PARALLEL_DIRS)) endif On the other hand, I found old suggestions to use configure --enable-shared --disable-embed-stdcxx and then link a pass to LLVM dynamic library, using the following Makefile for the pass: ... LOADABLE_MODULE=1 include $(LEVEL)/Makefile.common LIBS+=-Lpath-to-LLVM -lcygLLVM-3.4svn I'm able to build the mypass.dll which is linked against cygLLVM-3.4svn.dll. However, opt load still fails (has no effect). Are opt plugins still supported for Cygwin target? Kind Regards, Sergey Yakushkin -------------- next part -------------- An HTML attachment was scrubbed... URL:...