search for: func_my_func

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

2012 Jun 17
3
[LLVMdev] BlockAddress instruction is copied instead of cloned during module link?
...uncTy_3_args.push_back(IntegerType::get(mod->getContext(), 32)); FunctionType* FuncTy_3 = FunctionType::get( /*Result=*/PointerTy_1, /*Params=*/FuncTy_3_args, /*isVarArg=*/false); PointerType* PointerTy_4 = PointerType::get(PointerTy_1, 0); // Function Declarations Function* func_my_func = mod->getFunction("my_func"); if (!func_my_func) { func_my_func = Function::Create( /*Type=*/FuncTy_3, /*Linkage=*/GlobalValue::ExternalLinkage, /*Name=*/"my_func", mod); func_my_func->setCallingConv(CallingConv::C); } AttrListPtr func_my_func_PAL; fu...