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><div><br></div><div><br></div><div>George</div>