[LLVMdev] range-analysis in Function Pass on Eclipse with CMake
Óscar Fuentes
ofv at wanadoo.es
Tue Sep 24 03:43:42 PDT 2013
dw <dw.dev.mailing at gmail.com> writes:
[snip]
> Everything compiles fine, but loading the pass in LLVM gives me the
> following error:
>
>> /opt/llvm/bin/opt: symbol lookup error: ./build/lib/RangeAnalysis.so: undefined symbol: _ZN4llvm13ConstantRangeC1ENS_5APIntES1_
>> error: unable to interface with target machine
>
> I use LLVM 3.4svn on Ubuntu x64.
>
> Do I miss a specific library?
$ c++filt _ZN4llvm13ConstantRangeC1ENS_5APIntES1_
llvm::ConstantRange::ConstantRange(llvm::APInt, llvm::APInt)
IIRC ConstantRange is defined in libLLVMSupport. That library is at the
core of the dependency graph. Do you provide a list of LLVM libraries at
all for your RangeAnalysis library?
More information about the llvm-dev
mailing list