[compiler-rt] a88591c - [libFuzzer] Enable extra counters for Fuchsia.

Matt Morehouse via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 25 16:14:42 PDT 2019


Author: Matt Morehouse
Date: 2019-10-25T16:12:59-07:00
New Revision: a88591cff46645bd972a500ec83a0165602ecfa3

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

LOG: [libFuzzer] Enable extra counters for Fuchsia.

Added: 
    

Modified: 
    compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp b/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
index 3f38f4fb70c1..cd62394002f9 100644
--- a/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerExtraCounters.cpp
@@ -11,7 +11,7 @@
 #include "FuzzerDefs.h"
 
 #if LIBFUZZER_LINUX || LIBFUZZER_NETBSD || LIBFUZZER_FREEBSD ||                \
-    LIBFUZZER_OPENBSD
+    LIBFUZZER_OPENBSD || LIBFUZZER_FUCHSIA
 __attribute__((weak)) extern uint8_t __start___libfuzzer_extra_counters;
 __attribute__((weak)) extern uint8_t __stop___libfuzzer_extra_counters;
 


        


More information about the llvm-commits mailing list