mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 23:51:56 +00:00
Revert "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR."
This reverts commit 1c5e85b3da
.
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
This commit is contained in:
parent
8614674b55
commit
a1bb952e83
@ -1,5 +1,5 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
FuzzerCLI
|
||||
FuzzMutate
|
||||
Support
|
||||
)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
FuzzerCLI
|
||||
FuzzMutate
|
||||
Support
|
||||
)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} FuzzerCLI)
|
||||
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} FuzzMutate)
|
||||
set(CXX_FLAGS_NOFUZZ ${CMAKE_CXX_FLAGS})
|
||||
set(DUMMY_MAIN DummyClangFuzzer.cpp)
|
||||
if(LLVM_LIB_FUZZING_ENGINE)
|
||||
|
@ -1,23 +1,9 @@
|
||||
# Generic helper for fuzzer binaries.
|
||||
# This should not depend on LLVM IR etc.
|
||||
add_llvm_component_library(LLVMFuzzerCLI
|
||||
FuzzerCLI.cpp
|
||||
PARTIAL_SOURCES_INTENDED
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${LLVM_MAIN_INCLUDE_DIR}/llvm/FuzzMutate
|
||||
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
||||
# Library for using LLVM IR together with fuzzers.
|
||||
add_llvm_component_library(LLVMFuzzMutate
|
||||
FuzzerCLI.cpp
|
||||
IRMutator.cpp
|
||||
OpDescriptor.cpp
|
||||
Operations.cpp
|
||||
RandomIRBuilder.cpp
|
||||
PARTIAL_SOURCES_INTENDED
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${LLVM_MAIN_INCLUDE_DIR}/llvm/FuzzMutate
|
||||
|
@ -1,6 +1,6 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Demangle
|
||||
FuzzerCLI
|
||||
FuzzMutate
|
||||
Support
|
||||
)
|
||||
|
||||
|
@ -9,7 +9,6 @@ set(LLVM_LINK_COMPONENTS
|
||||
BitWriter
|
||||
CodeGen
|
||||
Core
|
||||
FuzzerCLI
|
||||
FuzzMutate
|
||||
IRReader
|
||||
MC
|
||||
|
@ -1,6 +1,6 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Demangle
|
||||
FuzzerCLI
|
||||
FuzzMutate
|
||||
Support
|
||||
)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Demangle
|
||||
FuzzerCLI
|
||||
FuzzMutate
|
||||
Support
|
||||
)
|
||||
|
||||
|
@ -14,7 +14,6 @@ set(LLVM_LINK_COMPONENTS
|
||||
AggressiveInstCombine
|
||||
InstCombine
|
||||
Instrumentation
|
||||
FuzzerCLI
|
||||
FuzzMutate
|
||||
MC
|
||||
ObjCARCOpts
|
||||
|
@ -1,6 +1,6 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Demangle
|
||||
FuzzerCLI
|
||||
FuzzMutate
|
||||
Support
|
||||
)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Support
|
||||
FuzzerCLI
|
||||
FuzzMutate
|
||||
)
|
||||
|
||||
add_llvm_fuzzer(llvm-special-case-list-fuzzer
|
||||
|
@ -1,6 +1,6 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Support
|
||||
FuzzerCLI
|
||||
FuzzMutate
|
||||
)
|
||||
|
||||
add_llvm_fuzzer(llvm-yaml-numeric-parser-fuzzer
|
||||
|
@ -1,5 +1,5 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
FuzzerCLI
|
||||
FuzzMutate
|
||||
Support
|
||||
)
|
||||
add_llvm_fuzzer(mlir-parser-fuzzer
|
||||
|
Loading…
Reference in New Issue
Block a user