what is the substitution of callsite class?

hello developers:

Recently I got a LLVM PASS project which used callsite class, now I want to make it fit the newest LLVM, however I find callsite was removed in LLVM 11. Is there any substitution of callsite class?

yours,
zhou.

Yeah - now both CallInst and InvokeInst derive from CallBase - so you
can just use CallBase, rather than having to wrap the inst in a
CallSite.