Oh, one more thing, I am running llvm in debug mode -- Debug+Asserts. Thanks for your help.<br><br><div class="gmail_quote">On Mon, Aug 20, 2012 at 5:38 PM, George Baah <span dir="ltr"><<a href="mailto:georgebaah@gmail.com" target="_blank">georgebaah@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys,<div>  I am using the Postdom pass and I would like to get the root of the tree. However, </div><div>everytime I try to get the root, I get a segfault. I don't know why the environment can't </div>
<div>find DominatorTreeBase.</div>
<div><br></div><div>Below is the code that generates the Segfault. In my .h file I include Dominators.h</div><div><br></div><div><br></div><div><br></div><div><p style="margin:0px;font-size:11px;font-family:Monaco">PDT.getRootNode(); //PDT is a reference to a PostDominatorTree</p>

</div><div><br></div><div><br></div><div><div>dyld: lazy symbol binding failed: Symbol not found: __ZN4llvm17DominatorTreeBaseINS_10BasicBlockEE11getRootNodeEv</div><div>  Referenced from: /Users/georgebaah/Software/llvm3.1/build/Debug+Asserts/bin/../lib/LLVMNshira.dylib</div>

<div>  Expected in: flat namespace</div><div><br></div><div>dyld: Symbol not found: __ZN4llvm17DominatorTreeBaseINS_10BasicBlockEE11getRootNodeEv</div><div>  Referenced from: /Users/georgebaah/Software/llvm3.1/build/Debug+Asserts/bin/../lib/LLVMNshira.dylib</div>

<div>  Expected in: flat namespace</div></div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>George</div>
</font></span></blockquote></div><br>