search for: llvmmydompass

Displaying 4 results from an estimated 4 matches for "llvmmydompass".

2012 Aug 21
0
[LLVMdev] Fwd: DomTreeNode
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" George On Tue, Aug 21, 2012 at 3:25 AM, Duncan Sands <baldrick at free.fr> wrote: > Hi George, > > ... > > dyld: lazy symbol binding failed: Symbol not found: > > __ZN4llvm17DominatorTreeBaseINS_10BasicBlockEE11getRootNodeE...
2012 Aug 20
5
[LLVMdev] DomTreeNode
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
2012 Aug 21
3
[LLVMdev] Fwd: DomTreeNode
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....
2012 Aug 21
0
[LLVMdev] Fwd: DomTreeNode
...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 > elimina...