set(LLVM_LINK_COMPONENTS
  TestingSupport
  TextAPI
)

add_llvm_unittest(TapiTests
  ELFYAMLTest.cpp
)

set(LLVM_LINK_COMPONENTS
  TextAPI
)

add_llvm_unittest(TapiTests
  ELFYAMLTest.cpp
)

target_link_libraries(TapiTests PRIVATE LLVMTestingSupport)

Fix LLVM_LINK_LLVM_DYLIB build of TapiTests
Fix LLVM_LINK_LLVM_DYLIB build of TapiTests

A dependency on TestingSupport was introduced in rL348735 but
library was not incldued in the LLVM_LINK_LLVM_DYLIB build.

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

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