Displaying 2 results from an estimated 2 matches for "basiccallgraph2".
Did you mean:
basiccallgraph
2010 Oct 06
2
[LLVMdev] Segmentation Fault of BasicCallGraph?
Hi,
I did a little experiment, basically to extract implemented CallGraph
to be a "new" pass with different registered name, and run the "new"
pass, but the result always gives out Segmentation Fault... I am
probably missing
sth?
Implemented another new class,
class BasicCallGraph2 : public ModulePass, public CallGraph {
.....
...
}
The inside code is exact same as BasicCallGraph, except registered
passname to be testcgn and the information of the pass. then after
enabling and run the new pass, on a test.bc file, there is always a
segmentation fault.
0 libLLVM-2.7.so.1 0x00...
2010 Oct 07
0
[LLVMdev] Segmentation Fault of BasicCallGraph?
...eriment, basically to extract implemented CallGraph
> to be a "new" pass with different registered name, and run the "new"
> pass, but the result always gives out Segmentation Fault... I am
> probably missing
> sth?
>
> Implemented another new class,
> class BasicCallGraph2 : public ModulePass, public CallGraph {
> .....
> ...
> }
> The inside code is exact same as BasicCallGraph, except registered
> passname to be testcgn and the information of the pass. then after
> enabling and run the new pass, on a test.bc file, there is always a
> segmentati...