Displaying 1 result from an estimated 1 matches for "hsasupportedruntimeeval".
2013 Feb 22
0
[LLVMdev] An error:Pass 'Runtime Evaluation' is not initialized
...his :
using namespace llvm;
namespace {
class RuntimeEval : public ModulePass {
public:
static char ID; // Pass identification, replacement for typeid
RuntimeEval() : ModulePass(ID) {
}
virtual bool runOnModule(Module &M) {
return false;
}
};
}
char HSASupportedRuntimeEval::ID = 0;
static RegisterPass<RuntimeEval> X("Eval", "Runtime Evaluation");
it can be compiled successful, but when i run it with command: './Release+Asserts/bin/opt -load ./Release+Asserts/lib/LLVMRuntimeEval.so -Eval < code2.bc',
i meet an error:
Pass &...