Hi all<div>I am trying hello pass in llvm. I have compiled and could generate LLVMHello.so but while giving the pass using opt i am getting below mentioned error.</div><div><br></div><div><div>Command used: <b>opt-2.8 -load ../../cse231_project/llvm/llvm-2.9/Debug/lib/LLVMHello.so -hello < hello.bc</b></div>
<div><br></div><div>Error opening '../../cse231_project/llvm/llvm-2.9/Debug/lib/LLVMHello.so': ../../cse231_project/llvm/llvm-2.9/Debug/lib/LLVMHello.so: undefined symbol: _ZN4llvm12PassRegistry12registerPassERKNS_8PassInfoEb</div>
<div> -load request ignored.</div><div>opt-2.8: Unknown command line argument '-hello'. Try: 'opt-2.8 -help'</div></div><div><br></div><div><br></div>