[llvm-dev] doInitialization/Finalization equivalent for new Pass Manager

Philip Pfaffe via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 26 12:24:54 PDT 2018


HI Leonard,

no there is no equivalent for that.

Cheers,
Philip

On Wed, Sep 26, 2018 at 9:08 PM Leonard Chan via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi all,
>
> I'm currently attempting to port the AddressSanitizer pass from the
> legacy pass manager infrastructure to the new one and wanted to know
> if there was an equivalent method to know if there were equivalent
> doInitialization and doFinalization functions used by the new PM.
>
> All the passes in the new PM that I can find seem to just implement
> the corresponding `run` method but I can't find any examples of passes
> that do some sort of initialization/cleanup before and after all
> passes run.
>
> Thanks,
> Leonard
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180926/9427440e/attachment.html>


More information about the llvm-dev mailing list