Displaying 1 result from an estimated 1 matches for "mymodulepass_h".
Did you mean:
mymodulepass
2008 Mar 05
1
[LLVMdev] getAnalysis*() called on an analysis that was not " "'required' by pass!
..."'
failed.
The following is the command I typed in:
opt -load /usr/local/llvm/install/lib/mymodulepass.so -mymodulepass
<idct.bc> /dev/null
Here are the header and implementation files of my class with just the bare
minimum that produces the error messages.
(MyModulePass.h)
#ifndef MYMODULEPASS_H
#define MYMODULEPASS_H
#include "llvm/Pass.h"
namespace llvm {
class MyModulePass : public ModulePass {
public:
static char ID; // Pass identification, replacement for
typeid
MyModulePass();
virtual bool runOnModule(Module &...