Displaying 1 result from an estimated 1 matches for "instvisit".
Did you mean:
instvisitor
2014 Jan 09
2
[LLVMdev] InstVisitor usage problem
Hi.All
I had a problem in using llvm::InstVisitor class, my pass is like that:
using namespace llvm;
namespace
{
class InstVisit : public ModulePass,
public InstVisitor<InstVisit>
{
public :
static char ID;
InstVisit():ModulePass(ID){}
virtual bool runOnModule(Module &M)
{
visit(M);
return false;
}...