Replace attributes with macros that use equivalent declspecs
for MSVC.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
| compiler-rt/lib/fuzzer/FuzzerDefs.h | ||
|---|---|---|
| 124 ↗ | (On Diff #181703) | Thanks for noticing this. I shouldn't have removed it and I added it back. |
| compiler-rt/lib/fuzzer/FuzzerInterface.h | ||
| 32 ↗ | (On Diff #181703) | Do you mean rename this ATTRIBUTE_INTERFACE? Or do you mean include FuzzerDefs.h and use that definition? I can do whichever you prefer. |
| 41 ↗ | (On Diff #181703) | I initially didn't set FUZZER_INTERFACE_VISIBILITY to dllexport on Windows since I felt weird about making these functions dllexport when they aren't even defined by libFuzzer. There may be something I am missing here, but what do you think about removing FUZZER_INTERFACE_VISIBILITY from LLVMFuzzerInitialize, LLVMFuzzerCustomCrossOver, LLVMFuzzerCustomMutator? |