search for: insertdummytargspass

Displaying 1 result from an estimated 1 matches for "insertdummytargspass".

2010 Sep 14
1
[LLVMdev] Wierd behavior from getAnalysis<>
Hello, I am seeing a weird behavior from getAnalysis<>. I seem to not get back a valid object type, which leads to other errors. when I am executing the following line: InsertDummyTargsPass& dt = getAnalysis<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...