[LLVMdev] DomTreeNode

George Baah georgebaah at gmail.com
Mon Aug 20 18:16:30 PDT 2012


Oh, one more thing, I am running llvm in debug mode -- Debug+Asserts.
Thanks for your help.

On Mon, Aug 20, 2012 at 5:38 PM, George Baah <georgebaah at gmail.com> wrote:

> Hi Guys,
>   I am using the Postdom pass and I would like to get the root of the
> tree. However,
> everytime I try to get the root, I get a segfault. I don't know why the
> environment can't
> find DominatorTreeBase.
>
> Below is the code that generates the Segfault. In my .h file I include
> Dominators.h
>
>
>
> PDT.getRootNode(); //PDT is a reference to a PostDominatorTree
>
>
> 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
>
>
> George
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120820/cf04cf29/attachment.html>


More information about the llvm-dev mailing list