Displaying 3 results from an estimated 3 matches for "libmymodulepass".
2009 Mar 24
1
[LLVMdev] Problem with MemoryDependenceAnalysis
...getAnalysis of
MemoryDependenceAnalysis from it, i didn't use TargetData directly
to regenerate the error i am attaching a c file containing an example
code to regenerate the error. with its Makefile
the command line i used is:
opt -time-passes -analyze -load
${LLVM_PATH}/Release/lib/.libs/libMYMODULEPASS.so -MyModulePass < test.bc
i tried the same but from a function pass and it worked.
John Criswell wrote:
> Amr Yehia wrote:
>
>> no .. i am calling a function pass from a module pass, adding other
>> function passes to my module pass works, but when i try to add
>&...
2009 Mar 24
0
[LLVMdev] Problem with MemoryDependenceAnalysis
Amr Yehia wrote:
> no .. i am calling a function pass from a module pass, adding other
> function passes to my module pass works, but when i try to add
> MemoryDependenceAnalysis it gives error
>
I'm going to assume that you're running your passes via a specially
built tool and not as a set of passes loaded into the opt program. If
this assumption is wrong, please let
2009 Mar 24
2
[LLVMdev] Problem with MemoryDependenceAnalysis
no .. i am calling a function pass from a module pass, adding other
function passes to my module pass works, but when i try to add
MemoryDependenceAnalysis it gives error
I want to report a bug but i don't know if this is a real bug or i am
doing something wrong, knowing that i am adding other function passe to
my module pass and it works fine.
the error i get:
adding callgraph pass ...