[PATCH] D27870: [libFuzzer] Diff 25 - Fix test with shared libraries on Windows.

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 17:21:50 PST 2016

zturner added a comment.

What's causing the .lib file to end up in the bin directory in the first place?  We use DLLs in LLDB as well.  we compile most of lldb into liblldb.dll, which produces liblldb.lib in the lib/ directory.  Then when we link lldb.exe and specify the dependency to the dll's target, it automatically knows that it put the implib in the lib/ folder and links it from there.

Are we overriding that behavior in this CMake somewhere, because LLDB doesn't do anything special and by default the implib ends up in lib/.  Is this perhaps a side effect of your earlier patch which overrides `CMAKE_CXX_LINK_EXECUTABLE`?



More information about the llvm-commits mailing list