Displaying 2 results from an estimated 2 matches for "mypassmodule".
2013 Feb 28
0
[LLVMdev] Problem linking class to a pass in a loadable module
...lude "llvm/Analysis/X.h"
- compile my pass again
Until this point everything works fine. Although everything compiles
without any warnings,
I can't run my pass after I change the location of the source code of
the class X.
When I use the command:
raphael at ubuntu:~/$ opt -f -load myPassModule.so -myPass test.bc
I get the following error message:
opt: symbol lookup error:
/host/Raphael/bin/llvm-3.2/Release+Asserts/bin/../lib/myPassModule.so:
undefined symbol: _ZN4llvm5GraphC1Ei
I know that this error message means that X.h was successfully linked
to myPass, but when I call opt, opt ca...
2013 Feb 28
0
[LLVMdev] Problem linking class to a pass in a loadable module
...#include "llvm/Analysis/X.h" - compile my pass again Until this point everything works fine. Although everything compiles without any warnings, I can't run my pass after I change the location of the source code of the class X. When I use the command: raphael at ubuntu:~/$ opt -f -load myPassModule.so -myPass test.bc I get the following error message: opt: symbol lookup error: /ho!
st/Raphael/bin/llvm-3.2/Release+Asserts/bin/../lib/myPassModule.so: undefined symbol: _ZN4llvm5GraphC1Ei I know that this error message means that X.h was successfully linked to myPass, but when I call opt, opt ca...