search for: argstype

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

Did you mean: arg_type
2007 Oct 30
1
[LLVMdev] What am I doing wrong here...
...pass that inserts llvm.frameaddress intrinsic calls everywhere 'interesting' that passes on the result by calling the C function void mcp_trace_stack(char *ptr). First I grab the functions themselves: Constant *MCPTraceStack, *LLVMFrameAddress; 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); Func...