[PATCH] D33638: [libcxx] Have separate abi library flags for static and shared builds
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 12 01:52:54 PDT 2017
mstorsjo added a comment.
In https://reviews.llvm.org/D33638#867661, @mstorsjo wrote:
> Hmm, maybe that's the same issue that I'm working around by passing `-flto-visibility-public-std`, which makes it skip the implicit dllimport for some implicitly defined C++ symbols.
Sorry, that's actually `-Xclang -flto-visibility-public-std`. In current testing (without building libcxx as a DLL), I'm building calling code with these flags:
-fno-exceptions -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -Xclang -flto-visibility-public-std
Repository:
rL LLVM
https://reviews.llvm.org/D33638
More information about the llvm-commits
mailing list