pastefile1
Using /usr/local/opt/llvm/bin/llvm-config [version=11.0.0]
c++ -c -o src/llvm/ext/llvm_ext.o src/llvm/ext/llvm_ext.cc -I/usr/local/Cellar/llvm/11.0.0_1/include -std=c++14 -stdlib=libc++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
src/llvm/ext/llvm_ext.cc:434:26: error: no matching member function for call to 'CreateCall'
return wrap(unwrap(B)->CreateCall(
~~~~~~~~~~~^~~~~~~~~~
/usr/local/Cellar/llvm/11.0.0_1/include/llvm/IR/IRBuilder.h:2360:13: note: candidate function not viable: no known conversion from 'llvm::Value *'
to 'llvm::FunctionCallee' for 1st argument
CallInst *CreateCall(FunctionCallee Callee, ArrayRef<Value *> Args,
^
/usr/local/Cellar/llvm/11.0.0_1/include/llvm/IR/IRBuilder.h:2332:13: note: candidate function not viable: no known conversion from 'llvm::Value *'
to 'llvm::FunctionType *' for 1st argument
CallInst *CreateCall(FunctionType *FTy, Value *Callee,
^
/usr/local/Cellar/llvm/11.0.0_1/include/llvm/IR/IRBuilder.h:2354:13: note: candidate function not viable: no known conversion from 'llvm::Value *'
to 'llvm::FunctionCallee' for 1st argument
CallInst *CreateCall(FunctionCallee Callee, ArrayRef<Value *> Args = None,
^
/usr/local/Cellar/llvm/11.0.0_1/include/llvm/IR/IRBuilder.h:2343:13: note: candidate function not viable: no known conversion from 'llvm::Value *'
to 'llvm::FunctionType *' for 1st argument
CallInst *CreateCall(FunctionType *FTy, Value *Callee, ArrayRef<Value *> Args,
^
src/llvm/ext/llvm_ext.cc:448:26: error: no matching member function for call to 'CreateInvoke'
return wrap(unwrap(B)->CreateInvoke(unwrap(Fn), unwrap(Then), unwrap(Catch),
~~~~~~~~~~~^~~~~~~~~~~~
/usr/local/Cellar/llvm/11.0.0_1/include/llvm/IR/IRBuilder.h:1013:15: note: candidate function not viable: no known conversion from 'llvm::Value *'
to 'llvm::FunctionCallee' for 1st argument
InvokeInst *CreateInvoke(FunctionCallee Callee, BasicBlock *NormalDest,
^
/usr/local/Cellar/llvm/11.0.0_1/include/llvm/IR/IRBuilder.h:1005:15: note: candidate function not viable: no known conversion from 'llvm::Value *'
to 'llvm::FunctionType *' for 1st argument
InvokeInst *CreateInvoke(FunctionType *Ty, Value *Callee,
^
/usr/local/Cellar/llvm/11.0.0_1/include/llvm/IR/IRBuilder.h:996:15: note: candidate function not viable: no known conversion from 'llvm::Value *'
to 'llvm::FunctionType *' for 1st argument
InvokeInst *CreateInvoke(FunctionType *Ty, Value *Callee,
^
/usr/local/Cellar/llvm/11.0.0_1/include/llvm/IR/IRBuilder.h:1021:15: note: candidate function not viable: requires at most 5 arguments, but 6 were
provided
InvokeInst *CreateInvoke(FunctionCallee Callee, BasicBlock *NormalDest,
^
2 errors generated.
make: *** [src/llvm/ext/llvm_ext.o] Error 1