[llvm-dev] link error for analysis pass

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Fri Dec 4 14:17:28 PST 2015


> On Dec 4, 2015, at 1:37 PM, Alex S via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> 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?


Can you provide the link command that fails and the output?


Mehdi



More information about the llvm-dev mailing list