search for: frargstype

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

Did you mean: argstype
2007 Oct 30
1
[LLVMdev] What am I doing wrong here...
...ddress; std::vector<const Type*> argstype; argstype.push_back(PointerType::get(Type::Int8Ty)); FunctionType *FT = FunctionType::get(Type::VoidTy, argstype, false); MCPTraceStack = M.getOrInsertFunction("mcp_trace_stack", FT); std::vector<const Type*> frargstype; frargstype.push_back(Type::VoidTy); FunctionType *FA = FunctionType::get(PointerType::get(Type::Int8Ty), frargstype, false); LLVMFrameAddress = M.getOrInsertFunction("llvm.frameaddress", FA); then (in the pass itself) I use a code fragment like the following: CallInst *faddr...