<br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>I don't understand what you're saying here.  We definitely do NOT want to consider multiple modules as part of a single translation unit.  It's a significant element of our use case that the modules should be entirely distinct.</div>
<div><br></div><div>All we're trying to do here is save the setup time for constructing a PassManager (slow because it has to plan the pass pipeline) in a process that is going to compile many translation units during the process' lifetime.</div>
<span class="HOEnZb"><font color="#888888"><br></font></span></div></blockquote><div><br></div><div>Ah. And initialize/finalize are for setting up/tearing down between runs? Sounds good, sorry for the noise - I figured I was reading something wrong which is why I asked.</div>
<div><br></div><div>-eric </div></div><br></div>