[PATCH] D27579: [libFuzzer] Diff 19 - Automatically link with Windows library.

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 09:37:12 PST 2016


mpividori created this revision.
mpividori added reviewers: zturner, amccarth.
mpividori added a subscriber: llvm-commits.
mpividori set the repository for this revision to rL LLVM.

Repository:
  rL LLVM

https://reviews.llvm.org/D27579

Files:
  lib/Fuzzer/FuzzerIOWindows.cpp


Index: lib/Fuzzer/FuzzerIOWindows.cpp
===================================================================
--- lib/Fuzzer/FuzzerIOWindows.cpp
+++ lib/Fuzzer/FuzzerIOWindows.cpp
@@ -11,6 +11,7 @@
 #include "FuzzerDefs.h"
 #if LIBFUZZER_WINDOWS
 
+#pragma comment (lib, "Shlwapi.lib")
 #include "FuzzerExtFunctions.h"
 #include "FuzzerIO.h"
 #include <cstdarg>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27579.80774.patch
Type: text/x-patch
Size: 358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161208/ba05cabd/attachment.bin>


More information about the llvm-commits mailing list