[LLVMdev] Fwd: DomTreeNode

Tobias Grosser tobias at grosser.es
Tue Aug 21 02:01:06 PDT 2012


On 08/21/2012 10:35 AM, George Baah wrote:
> 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"

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.

Tobi



More information about the llvm-dev mailing list