Displaying 2 results from an estimated 2 matches for "createmyaliasanalysispass".
2015 Dec 04
2
link error for analysis pass
...`/home/alex/new/llvm-obj/tools/llc'
llvm[2]: Linking Debug+Asserts executable llc
/home/alex/new/llvm-obj/Debug+Asserts/lib/libLLVMCodeGen.a(Passes.o): In
function `llvm::TargetPassConfig::addIRPasses()':
/home/alex/new/llvm-3.1.src/lib/CodeGen/Passes.cpp:295: undefined reference
to `llvm::createMyAliasAnalysisPass()'
collect2: ld returned 1 exit status
make[2]: *** [/home/alex/new/llvm-obj/Debug+Asserts/bin/llc] Error 1
make[2]: Leaving directory `/home/alex/new/llvm-obj/tools/llc'
make[1]: *** [llc/.makeall] Error 2
make[1]: Leaving directory `/home/alex/new/llvm-obj/tools'
make: *** [all] Error...
2015 Dec 04
2
link error for analysis pass
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