search for: mcptracestack

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

Did you mean: gc_tracestack
2007 Oct 30
1
[LLVMdev] What am I doing wrong here...
...ssertion from the following (abridged) code. Basically, I'm writing a 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<con...