What if we produced a .lib file that had only the minimal set of object files needed to link this, and make MicrosoftDemangle.h not include other llvm headers,  then you could just link against that object file and it should be effectively independent.<br><br>Would that work?<br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 23, 2018 at 5:32 PM Nico Weber via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">thakis added a comment.<br>
<br>
FWIW I'd like to use the new demangler in demumble [1], but if I need to pull in most of Support of it then I probably won't do that. I agree this shouldn't impact LLVM much (or at all), but having stand-alone-ish demangler code is probably nice for several other projects too. So since the itanium demangler is still in the other place and likely will stay there, maybe it's nice to keep the ms demangler next to it. (But as I said, don't weigh this feedback heavily.)<br>
<br>
1: <a href="https://github.com/nico/demumble" rel="noreferrer" target="_blank">https://github.com/nico/demumble</a><br>
<br>
<br>
<a href="https://reviews.llvm.org/D51174" rel="noreferrer" target="_blank">https://reviews.llvm.org/D51174</a><br>
<br>
<br>
<br>
</blockquote></div>