When I compile llvm in release mode, the problem goes away! I don't understand?<div><br></div><div>George<br><br><div class="gmail_quote">On Tue, Aug 21, 2012 at 5:01 AM, Tobias Grosser <span dir="ltr"><<a href="mailto:tobias@grosser.es" target="_blank">tobias@grosser.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 08/21/2012 10:35 AM, George Baah wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That is what I don't understand. This symbol is defined in Dominators.h,<br>
which I include<br>
in my file. I don't understand why I am getting this error. Here is my<br>
opt command,<br>
<br>
"opt -load LLVMMyDomPass.dylib -mdp < test.bc > test.d.bc"<br>
</blockquote>
<br></div>
It may also be that the relevant code is dead code eliminated, as it is not used within LLVM. I would try to compile LLVM with --enable-shared (autoconf) or BUILD_SHARED_LIBS (cmake). If this works, the dead code elimination is probably the problem.<br>

<br>
Tobi<br>
</blockquote></div><br></div>