[LLVMdev] LiveValues Pass

Dan Gohman gohman at apple.com
Mon Jun 8 11:26:00 PDT 2009


You are apparently mixing source between different versions of LLVM.

Dan

On Jun 6, 2009, at 1:12 AM, Rotem Varon wrote:


> Hi,
>
> I tried to use the LiveValues pass without success.
> I did exactly as you wrote me but no luck for me.
> I am getting this error :
>
> [rotem at localhost ~]$ opt -load /home/rotem/Desktop/install/Release/ 
> lib/BBPass.so -BBPass < /home/rotem/Desktop/tmp/BBtry.bc > /dev/null
> Error opening '/home/rotem/Desktop/install/Release/lib/BBPass.so': / 
> home/rotem/Desktop/install/Release/lib/BBPass.so: undefined symbol:  
> _ZN4llvm10LiveValues2IDE
>   -load request ignored.
> opt: Unknown command line argument '-BBPass'.  Try: 'opt --help'
>
> I tried also to relocate the LiveValues to the same directory of me  
> pass. This is the error:
>
> llvm[0]: Compiling BBPass.cpp for Release build  (PIC)
> llvm[0]: Compiling LiveValues.cpp for Release build  (PIC)
> LiveValues.cpp: In member function 'llvm::LiveValues::Memo&  
> llvm::LiveValues::compute(const llvm::Value*)':
> LiveValues.cpp:150: error: 'const class llvm::PHINode' has no member  
> named 'getIncomingValueNumForOperand'
>
> I really need your help here
> Thank you.
>




More information about the llvm-dev mailing list