[PATCH] D57305: [libFuzzer][Windows] Use dllexport for all declarations in FuzzerInterface.h
Jonathan Metzman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 28 09:51:29 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL352395: [libFuzzer][Windows] Use dllexport for all declarations in FuzzerInterface.h (authored by metzman, committed by ).
Herald added subscribers: llvm-commits, delcypher.
Changed prior to commit:
https://reviews.llvm.org/D57305?vs=183889&id=183896#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57305/new/
https://reviews.llvm.org/D57305
Files:
compiler-rt/trunk/lib/fuzzer/FuzzerInterface.h
Index: compiler-rt/trunk/lib/fuzzer/FuzzerInterface.h
===================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerInterface.h
+++ compiler-rt/trunk/lib/fuzzer/FuzzerInterface.h
@@ -27,7 +27,7 @@
// Define FUZZER_INTERFACE_VISIBILITY to set default visibility in a way that
// doesn't break MSVC.
-#if defined(_MSC_VER) && !defined(__clang__)
+#if defined(_WIN32)
#define FUZZER_INTERFACE_VISIBILITY __declspec(dllexport)
#else
#define FUZZER_INTERFACE_VISIBILITY __attribute__((visibility("default")))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57305.183896.patch
Type: text/x-patch
Size: 556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190128/099dab1c/attachment.bin>
More information about the llvm-commits
mailing list