mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
eff58ba276
If compiling with GCC or linking with ld.bfd, these options have little effect, but if built with Clang and linked with LLD, they provide a quite notable size decrease - this shrinks an entire llvm-mingw distribution package by 22%. If building with BUILD_SHARED_LIBS or LLVM_BUILD_LLVM_DYLIB with LLD, this requires a version of LLD that contains a fix for auto exporting symbols from comdats, 2b01a417d7ccb001ccc1185ef5fdc967c9fac8d7. Differential Revision: https://reviews.llvm.org/D101568
See docs/CMake.html for instructions on how to build LLVM with CMake.