<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>
<div><br></div><div>Nico</div>

</div>