Displaying 1 result from an estimated 1 matches for "exeinfo".
Did you mean:
execinfo
2010 Sep 14
1
[LLVMdev] Wierd behavior from getAnalysis<>
...tAnalysis<InsertDummyTargsPass>();
I am apparently getting back an object of type llvm::Pass;
This is how I checked it: with the following code I create the Object print
its address value and add it to the pass manager
InsertDummyTargsPass* p = new InsertDummyTargsPass(bp, ipInfo,
exeInfo);
std::cerr << "dummytargspass :" << p;
llvm::Pass* parent = p;
std::cerr << "value of parent:" << parent;
PM.add(p);
I get from the cerr statement
dummytargspass :0x971acd8
value of parent:0x971acf4
In the InsertDu...