<div dir="ltr">HI Leonard,<div><br></div><div>no there is no equivalent for that.</div><div><br></div><div>Cheers,</div><div>Philip</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 26, 2018 at 9:08 PM Leonard Chan via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I'm currently attempting to port the AddressSanitizer pass from the<br>
legacy pass manager infrastructure to the new one and wanted to know<br>
if there was an equivalent method to know if there were equivalent<br>
doInitialization and doFinalization functions used by the new PM.<br>
<br>
All the passes in the new PM that I can find seem to just implement<br>
the corresponding `run` method but I can't find any examples of passes<br>
that do some sort of initialization/cleanup before and after all<br>
passes run.<br>
<br>
Thanks,<br>
Leonard<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>