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 a lot! Mehdi. I tried to change the LLVMBuild.txt. However, it doesn’t help under Makefile/autotools.
I will try cmake to rebuild the system again.