[LLVMdev] [LLVMDev] Undefined symbol with the basic hello world pass
Tim Northover
t.p.northover at gmail.com
Mon Dec 8 10:12:09 PST 2014
Hi Sandeep,
On 7 December 2014 at 22:04, Sandeep K Chaudhary
<babbusandy2006 at gmail.com> wrote:
> sandeep at ubuntu:~/llvm-3.2.src/lib/Transforms/Hello$ opt -load
> [...]
> http://llvm.org/releases/3.0/docs/WritingAnLLVMPass.html#quickstart
>
> Can someone please help me with it? I can't figure out the issue here.
These are two different (and old) versions of LLVM, and it's not clear
that the "opt" you're using corresponds to either of them. The
HelloWorld pass you build must be loaded into the exact same version
of opt.
Cheers.
Tim.
More information about the llvm-dev
mailing list