<div dir="ltr">Oh. duh. thanks :)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 17, 2021 at 10:45 AM Johannes Doerfert <<a href="mailto:johannesdoerfert@gmail.com">johannesdoerfert@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">llvm-extract?<br>
<br>
On 2/17/21 11:35 AM, Mircea Trofin via llvm-dev wrote:<br>
> Apologies if I'm missing something obvious - the TL;DR; is: do we have /<br>
> would folks find useful a tool that took a module and a function name and<br>
> produced a valid module with just that function in, the rest being deleted<br>
> - i.e. outright deleted if no internal calls, converted to a declaration<br>
> otherwise; their metadata, too.<br>
><br>
> My scenario is: large (think: thinlto backend) modules, and I want to focus<br>
> on comparing regalloc policies for just one. Both in the debugger, as well<br>
> as dbgs() debugging, would benefit from not having to care about<br>
> anything else than this one function - especially when considering looking<br>
> over a few subsequent function passes.<br>
><br>
> Thanks!<br>
><br>
><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="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>