[compiler-rt] 540b921 - Revert "[libFuzzer] Expose fuzzer::FuzzerDriver()"

Mitch Phillips via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 17:08:34 PDT 2020


Author: Mitch Phillips
Date: 2020-07-23T17:07:55-07:00
New Revision: 540b92147da0e9a2c2d096505eb0785ec79f2024

URL: https://github.com/llvm/llvm-project/commit/540b92147da0e9a2c2d096505eb0785ec79f2024
DIFF: https://github.com/llvm/llvm-project/commit/540b92147da0e9a2c2d096505eb0785ec79f2024.diff

LOG: Revert "[libFuzzer] Expose fuzzer::FuzzerDriver()"

This reverts commit 22a376e73bc218137738ee4ac8af44e223576475.

Added: 
    

Modified: 
    compiler-rt/lib/fuzzer/FuzzerDefs.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/fuzzer/FuzzerDefs.h b/compiler-rt/lib/fuzzer/FuzzerDefs.h
index fb9eccd46324..1a2752af2f4d 100644
--- a/compiler-rt/lib/fuzzer/FuzzerDefs.h
+++ b/compiler-rt/lib/fuzzer/FuzzerDefs.h
@@ -20,7 +20,6 @@
 #include <string>
 #include <vector>
 
-#include "FuzzerPlatform.h"
 
 namespace fuzzer {
 
@@ -63,8 +62,7 @@ typedef Vector<uint8_t> Unit;
 typedef Vector<Unit> UnitVector;
 typedef int (*UserCallback)(const uint8_t *Data, size_t Size);
 
-ATTRIBUTE_INTERFACE int FuzzerDriver(int *argc, char ***argv,
-                                     UserCallback Callback);
+int FuzzerDriver(int *argc, char ***argv, UserCallback Callback);
 
 uint8_t *ExtraCountersBegin();
 uint8_t *ExtraCountersEnd();


        


More information about the llvm-commits mailing list