[llvm-dev] C++ program using your own pass
Yuxi Chen via llvm-dev
llvm-dev at lists.llvm.org
Sun Jul 10 12:20:16 PDT 2016
Hi All,
If I write my own Pass and in a C++ file, how can you invoke it?
In both of them are Passes, we can use getAnalysis<>().
I can't use use getAnalysis<>(), b/c it will throw assertion like "Unable to find on the fly pass " or "pass xx by yy can't be required".
Any help is appreciated.
Best,
Yuxi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160710/7ea5e2ca/attachment.html>
More information about the llvm-dev
mailing list