Skip to content

Commit a1bb952

Browse files
committed
Revert "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR."
This reverts commit 1c5e85b. It broke a lot of bots with a link error: https://lab.llvm.org/buildbot/#/builders/171/builds/14222 https://lab.llvm.org/buildbot/#/builders/188/builds/13748 https://lab.llvm.org/buildbot/#/builders/109/builds/38127
1 parent 8614674 commit a1bb952

File tree

13 files changed

+11
-27
lines changed

13 files changed

+11
-27
lines changed

clang-tools-extra/clangd/fuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
set(LLVM_LINK_COMPONENTS
2-
FuzzerCLI
2+
FuzzMutate
33
Support
44
)
55

clang-tools-extra/pseudo/fuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
set(LLVM_LINK_COMPONENTS
2-
FuzzerCLI
2+
FuzzMutate
33
Support
44
)
55

clang/tools/clang-fuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} FuzzerCLI)
1+
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} FuzzMutate)
22
set(CXX_FLAGS_NOFUZZ ${CMAKE_CXX_FLAGS})
33
set(DUMMY_MAIN DummyClangFuzzer.cpp)
44
if(LLVM_LIB_FUZZING_ENGINE)

llvm/lib/FuzzMutate/CMakeLists.txt

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
1-
# Generic helper for fuzzer binaries.
2-
# This should not depend on LLVM IR etc.
3-
add_llvm_component_library(LLVMFuzzerCLI
4-
FuzzerCLI.cpp
5-
PARTIAL_SOURCES_INTENDED
6-
7-
ADDITIONAL_HEADER_DIRS
8-
${LLVM_MAIN_INCLUDE_DIR}/llvm/FuzzMutate
9-
10-
LINK_COMPONENTS
11-
Support
12-
)
13-
14-
# Library for using LLVM IR together with fuzzers.
151
add_llvm_component_library(LLVMFuzzMutate
2+
FuzzerCLI.cpp
163
IRMutator.cpp
174
OpDescriptor.cpp
185
Operations.cpp
196
RandomIRBuilder.cpp
20-
PARTIAL_SOURCES_INTENDED
217

228
ADDITIONAL_HEADER_DIRS
239
${LLVM_MAIN_INCLUDE_DIR}/llvm/FuzzMutate

llvm/tools/llvm-dlang-demangle-fuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(LLVM_LINK_COMPONENTS
22
Demangle
3-
FuzzerCLI
3+
FuzzMutate
44
Support
55
)
66

llvm/tools/llvm-isel-fuzzer/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ set(LLVM_LINK_COMPONENTS
99
BitWriter
1010
CodeGen
1111
Core
12-
FuzzerCLI
1312
FuzzMutate
1413
IRReader
1514
MC

llvm/tools/llvm-itanium-demangle-fuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(LLVM_LINK_COMPONENTS
22
Demangle
3-
FuzzerCLI
3+
FuzzMutate
44
Support
55
)
66

llvm/tools/llvm-microsoft-demangle-fuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(LLVM_LINK_COMPONENTS
22
Demangle
3-
FuzzerCLI
3+
FuzzMutate
44
Support
55
)
66

llvm/tools/llvm-opt-fuzzer/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ set(LLVM_LINK_COMPONENTS
1414
AggressiveInstCombine
1515
InstCombine
1616
Instrumentation
17-
FuzzerCLI
1817
FuzzMutate
1918
MC
2019
ObjCARCOpts

llvm/tools/llvm-rust-demangle-fuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(LLVM_LINK_COMPONENTS
22
Demangle
3-
FuzzerCLI
3+
FuzzMutate
44
Support
55
)
66

llvm/tools/llvm-special-case-list-fuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(LLVM_LINK_COMPONENTS
22
Support
3-
FuzzerCLI
3+
FuzzMutate
44
)
55

66
add_llvm_fuzzer(llvm-special-case-list-fuzzer

llvm/tools/llvm-yaml-numeric-parser-fuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(LLVM_LINK_COMPONENTS
22
Support
3-
FuzzerCLI
3+
FuzzMutate
44
)
55

66
add_llvm_fuzzer(llvm-yaml-numeric-parser-fuzzer

mlir/tools/mlir-parser-fuzzer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
set(LLVM_LINK_COMPONENTS
2-
FuzzerCLI
2+
FuzzMutate
33
Support
44
)
55
add_llvm_fuzzer(mlir-parser-fuzzer

0 commit comments

Comments
 (0)