[LLVMdev] Fwd: DomTreeNode

George Baah georgebaah at gmail.com
Tue Aug 21 01:35:56 PDT 2012


That is what I don't understand. This symbol is defined in Dominators.h,
which I include
in my file. I don't understand why I am getting this error. Here is my opt
command,

"opt -load LLVMMyDomPass.dylib -mdp < test.bc > test.d.bc"

George


On Tue, Aug 21, 2012 at 3:25 AM, Duncan Sands <baldrick at free.fr> wrote:

> Hi George,
>
> ...
> > dyld: lazy symbol binding failed: Symbol not found:
> > __ZN4llvm17DominatorTreeBaseINS_10BasicBlockEE11getRootNodeEv
> >    Referenced from:
> >
> /Users/georgebaah/Software/llvm3.1/build/Debug+Asserts/bin/../lib/LLVMNshira.dylib
> >    Expected in: flat namespace
> >
> > dyld: Symbol not found:
> > __ZN4llvm17DominatorTreeBaseINS_10BasicBlockEE11getRootNodeEv
> >    Referenced from:
> >
> /Users/georgebaah/Software/llvm3.1/build/Debug+Asserts/bin/../lib/LLVMNshira.dylib
> >    Expected in: flat namespace
>
> looks like you forgot to link with the library defining this symbol.
>
> Ciao, Duncan.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120821/ecba9dc3/attachment.html>


More information about the llvm-dev mailing list