set(LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  Analysis
  BitWriter
  CodeGen
  Core
  Coroutines
  IPO
  IRReader
  InstCombine
  Instrumentation
  FuzzMutate
  MC
  ObjCARCOpts
  ScalarOpts
  Support
  Target
  TransformUtils
  Vectorize
  Passes
)

add_llvm_fuzzer(llvm-opt-fuzzer llvm-opt-fuzzer.cpp
  DUMMY_MAIN DummyOptFuzzer.cpp)

set(LLVM_LINK_COMPONENTS
  ${LLVM_TARGETS_TO_BUILD}
  Analysis
  BitReader
  BitWriter
  CodeGen
  Core
  Coroutines
  IPO
  IRReader
  InstCombine
  Instrumentation
  FuzzMutate
  MC
  ObjCARCOpts
  ScalarOpts
  Support
  Target
  TransformUtils
  Vectorize
  Passes
)

add_llvm_fuzzer(llvm-opt-fuzzer llvm-opt-fuzzer.cpp
  DUMMY_MAIN DummyOptFuzzer.cpp)

Add missed library dependence. Fir for rL317883
[llvm-opt-fuzzer] Add missed library dependence. Fir for rL317883

Differential Revision: https://reviews.llvm.org/D39555




git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@317889 91177308-0d34-0410-b5e6-96231b3b80d8
