set(LLVM_LINK_COMPONENTS
  AllTargetsAsmParsers
  AllTargetsCodeGens
  AllTargetsDescs
  AllTargetsInfos
  IRReader
  Support
  Target
  TransformUtils
  )

# Support plugins.
set(LLVM_NO_DEAD_STRIP 1)

add_llvm_tool(llvm-reduce
  llvm-reduce.cpp
  TestRunner.cpp
  deltas/Delta.cpp
  deltas/ReduceFunctions.cpp

  DEPENDS
  intrinsics_gen
  )
export_executable_symbols(llvm-reduce)

set(LLVM_LINK_COMPONENTS
  AllTargetsAsmParsers
  AllTargetsCodeGens
  AllTargetsDescs
  AllTargetsInfos
  Core
  IRReader
  Support
  Target
  TransformUtils
  )

# Support plugins.
set(LLVM_NO_DEAD_STRIP 1)

add_llvm_tool(llvm-reduce
  llvm-reduce.cpp
  TestRunner.cpp
  deltas/Delta.cpp
  deltas/ReduceFunctions.cpp

  DEPENDS
  intrinsics_gen
  )
export_executable_symbols(llvm-reduce)

Fix -DBUILD_SHARED_LIBS=ON build after rL368358
Fix -DBUILD_SHARED_LIBS=ON build after rL368358

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

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