zhou via llvm-dev
2020-Jul-27 10:53 UTC
[llvm-dev] 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200727/a13965cd/attachment.html>
David Blaikie via llvm-dev
2020-Jul-27 17:10 UTC
[llvm-dev] what is the substitution of callsite class?
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. On Mon, Jul 27, 2020 at 9:29 AM zhou via llvm-dev <llvm-dev at lists.llvm.org> wrote:> > 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. > > > > > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev