<div dir="ltr">Oh, looks like lto had half an implementation for Windows :-) This removes the Windows-specific code, since the general code should cover this (but Windows is as I said completely untested).</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Dec 27, 2013 at 10:05 PM, Nico Weber <span dir="ltr"><<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>while trying to port the dead code stripping patch (r198087) to cmake, I noticed that the cmake build has no real support for EXPORTED_SYMBOL_FILE – libclang in clang had half an implementation for Darwin with a FIXME for other platforms, tools/gold had half an implementation for BFD ld…</div>

<div><br></div><div>This patch tries to add real support – CMakeLists.txt just need to set LLVM_EXPORTED_SYMBOL_FILE and things should Just Work.</div><div><br></div><div>I've only tested this on OS X, and I don't have a ton of cmake experience. Please review, and / or patch this in and build and let me know how it goes (especially on linux or windows).</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>Nico</div>

</font></span></div>
</blockquote></div><br></div>