[PATCH] D37116: Enable building LLVMgold.dll under mingw.

NAKAMURA Takumi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 27 19:46:21 PDT 2017


chapuni added a comment.

@srhines, BUILD_SHARED_LIBS was working for mingw with Clang/LLVM plugins, at least till June.
(I suspended running mingw builder then)
On mingw, CMake's "add_library(MODULE)" requires dependent submodules by target_link_libraries().
It's the same if you are linking your plugin with bit LLVM.dll.

FYI, I had a stale patch for mingw to work as "Linking plugin module with unnamed DLL by lazyload, to resolve symbols provided by parent EXE". Are you interested?


https://reviews.llvm.org/D37116





More information about the llvm-commits mailing list