[PATCH] D87547: [MinGW][clang-shlib] Build by default on MinGW
Mateusz MikuĊa via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 9 13:14:08 PDT 2020
mati865 added a comment.
> How many exports does your DLL end up with - is it close to the 64k limit, or far from it? Is there maybe some other library that is linked in, that increases the number of exported symbols (=all), or does this DLL only export explicitly intended symbols with dllexport?
60995 with `cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_IGNORE_PATH=/usr/lib -DLLVM_ENABLE_PROJECTS="clang;lld" ../llvm-project/llvm` so it's very close.
Another build where I don't have exact command line but it uses Clang+LLD and `LLVM_LINK_LLVM_DYLIB:BOOL=ON` has only 35125 exports.
I'll try to dig a bit soonish (maybe enable clang-shlib only if LLVM is linked dynamically?) but you can revert it in meantime.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87547/new/
https://reviews.llvm.org/D87547
More information about the cfe-commits
mailing list