[llvm-dev] link error for analysis pass

Alex S via llvm-dev llvm-dev at lists.llvm.org
Fri Dec 4 13:37:41 PST 2015


Hi all,

I create a folder containing my new alias analysis pass in the lib/Analysis
folder of the source tree.
I mimic the way IPA did to create a LLVMipa.a library. That is, I write a
Makefile to create my library
and I change the Makefile correspondingly in the Analysis folder.

However, when I want to use my new alias analysis in the Codegen. The
compiler will complain
"undefined error" during the link phase.  Could anyone point me out where I
need to change in order
to use my new alias analysis pass in the Codegen?

Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151204/325dbef9/attachment.html>


More information about the llvm-dev mailing list