[compiler-rt] r332316 - [libFuzzer] deprecate equivalence_server
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Mon May 14 18:15:48 PDT 2018
Author: kcc
Date: Mon May 14 18:15:47 2018
New Revision: 332316
URL: http://llvm.org/viewvc/llvm-project?rev=332316&view=rev
Log:
[libFuzzer] deprecate equivalence_server
Modified:
compiler-rt/trunk/lib/fuzzer/FuzzerDriver.cpp
compiler-rt/trunk/lib/fuzzer/FuzzerFlags.def
compiler-rt/trunk/test/fuzzer/equivalence-signals.test
compiler-rt/trunk/test/fuzzer/equivalence.test
Modified: compiler-rt/trunk/lib/fuzzer/FuzzerDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fuzzer/FuzzerDriver.cpp?rev=332316&r1=332315&r2=332316&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerDriver.cpp (original)
+++ compiler-rt/trunk/lib/fuzzer/FuzzerDriver.cpp Mon May 14 18:15:47 2018
@@ -663,6 +663,7 @@ int FuzzerDriver(int *argc, char ***argv
if (Flags.cleanse_crash)
return CleanseCrashInput(Args, Options);
+#if 0 // deprecated, to be removed.
if (auto Name = Flags.run_equivalence_server) {
SMR.Destroy(Name);
if (!SMR.Create(Name)) {
@@ -688,6 +689,7 @@ int FuzzerDriver(int *argc, char ***argv
}
Printf("INFO: EQUIVALENCE CLIENT UP\n");
}
+#endif
if (DoPlainRun) {
Options.SaveArtifacts = false;
Modified: compiler-rt/trunk/lib/fuzzer/FuzzerFlags.def
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fuzzer/FuzzerFlags.def?rev=332316&r1=332315&r2=332316&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerFlags.def (original)
+++ compiler-rt/trunk/lib/fuzzer/FuzzerFlags.def Mon May 14 18:15:47 2018
@@ -144,8 +144,8 @@ FUZZER_FLAG_INT(ignore_remaining_args, 0
"after this one. Useful for fuzzers that need to do their own "
"argument parsing.")
-FUZZER_FLAG_STRING(run_equivalence_server, "Experimental")
-FUZZER_FLAG_STRING(use_equivalence_server, "Experimental")
+FUZZER_DEPRECATED_FLAG(run_equivalence_server)
+FUZZER_DEPRECATED_FLAG(use_equivalence_server)
FUZZER_FLAG_INT(analyze_dict, 0, "Experimental")
FUZZER_DEPRECATED_FLAG(use_clang_coverage)
FUZZER_FLAG_INT(use_feature_frequency, 0, "Experimental/internal")
Modified: compiler-rt/trunk/test/fuzzer/equivalence-signals.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/fuzzer/equivalence-signals.test?rev=332316&r1=332315&r2=332316&view=diff
==============================================================================
--- compiler-rt/trunk/test/fuzzer/equivalence-signals.test (original)
+++ compiler-rt/trunk/test/fuzzer/equivalence-signals.test Mon May 14 18:15:47 2018
@@ -1,3 +1,4 @@
+REQUIRES: this-test-is-deprecated
# Run EquivalenceATest against itself with a small timeout
# to stress the signal handling and ensure that shmem doesn't mind
# the signals.
Modified: compiler-rt/trunk/test/fuzzer/equivalence.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/fuzzer/equivalence.test?rev=332316&r1=332315&r2=332316&view=diff
==============================================================================
--- compiler-rt/trunk/test/fuzzer/equivalence.test (original)
+++ compiler-rt/trunk/test/fuzzer/equivalence.test Mon May 14 18:15:47 2018
@@ -1,3 +1,4 @@
+REQUIRES: this-test-is-deprecated
UNSUPPORTED: freebsd
RUN: %cpp_compiler %S/EquivalenceATest.cpp -o %t-EquivalenceATest
RUN: %cpp_compiler %S/EquivalenceBTest.cpp -o %t-EquivalenceBTest
More information about the llvm-commits
mailing list