[PATCH] D27869: [libFuzzer] Diff 24 - Use clang as linker in Windows, to properly include sanitizer libraries.

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 16:29:36 PST 2016

rnk added inline comments.

Comment at: lib/Fuzzer/test/CMakeLists.txt:41
+  # In order to use the sanitizers in Windows, we need to link against many
kcc wrote:
> sounds wrong. 
> why we can't have this in the clang driver? 
We can't have it in the clang driver because the clang driver isn't called to perform links on Windows, as explained in this comment. This CL seems to do what you're suggesting: call the driver and keep the logic to find sanitizer runtimes there.



More information about the llvm-commits mailing list