Displaying 2 results from an estimated 2 matches for "mpianalysis".
Did you mean:
mcanalysis
2012 Aug 17
3
[LLVMdev] Problem of use CallGraph
...Graph>();
for ( CallGraph::iterator i = g.begin(); i != g.end(); i++)
{
errs()<<"-----------------\n";
errs()<<i->second->getFunction()->getName()<<"\n";
}
return false;
}
Compile:
g++ -fPIC -shared `llvm-config --cxxflags` -o MPIAnalysis.so MPIAnalysis.cpp,
when I use following command to run:
opt -load ./MPIAnalysis.so -hello < main
it shows the error:
-----------------
0 opt 0x085cddc8
Stack dump:
0. Program arguments: opt -load ./MPIAnalysis.so -hello
1. Running pass 'Hello World Pass' on module '<stdin>...
2012 Aug 17
0
[LLVMdev] Problem of use CallGraph
...getName() ...
> errs()<<i->second->getFunction()->getName()<<"\n";
> }
> return false;
> }
>
> Compile:
> g++ -fPIC -shared `llvm-config --cxxflags` -o MPIAnalysis.so MPIAnalysis.cpp,
>
> when I use following command to run:
> opt -load ./MPIAnalysis.so -hello < main
> it shows the error:
>
> -----------------
> 0 opt 0x085cddc8
> Stack dump:
> 0. Program arguments: opt -load ./MPIAnalysis.so -hello
> 1. Running pa...