<p dir="ltr">I also considered doing that but I felt that it would make the control flow inside that tool awkward. Basically we would have one code path for extracting a module and another for everything else.</p>
<p dir="ltr">Peter</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Nov 23, 2016 20:21, "Mehdi AMINI" <<a href="mailto:mehdi.amini@apple.com">mehdi.amini@apple.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">mehdi_amini added a comment.<br>
<br>
I agree with Sean! Reusing llvm-extract seems appropriate to me here.<br>
<br>
<br>
<a href="https://reviews.llvm.org/D26778" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D26778</a><br>
<br>
<br>
<br>
</blockquote></div></div>