[LLVMdev] undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
baldrick at free.fr
Fri Oct 14 08:26:46 PDT 2011
Hi Ryan, are both opt and LLVMHello from the same version of LLVM? And the same
build of LLVM (in particular built the same way wrt optimizations, enabling of
> Has anyone seen this error before? I'm trying to load a pass that apparently
> isn't registered, it's just the "Hello World" sample , so I don't see the problem.
> me at here:~/llvm/llvm_core/llvm-2.9$ opt -load Release/lib/LLVMHello.so -hello
> <cdfg.c> /dev/null
> Error opening 'Release/lib/LLVMHello.so': Release/lib/LLVMHello.so: undefined
> symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb
> -load request ignored.
> opt: Unknown command line argument '-hello'. Try: 'opt -help'
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev