[LLVMdev] Hello Pass Problem

Manish Gupta mgupta.iitr at gmail.com
Mon May 2 12:40:38 PDT 2011


Hi all
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.

Command used:  *opt-2.8 -load
../../cse231_project/llvm/llvm-2.9/Debug/lib/LLVMHello.so -hello < hello.bc*

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
  -load request ignored.
opt-2.8: Unknown command line argument '-hello'.  Try: 'opt-2.8 -help'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110502/7ac3fad1/attachment.html>


More information about the llvm-dev mailing list