set(LLVM_LINK_COMPONENTS
  DebugInfoCodeView
  DebugInfoPDB
  )

set(DebugInfoPDBSources
  MappedBlockStreamTest.cpp
  MsfBuilderTest.cpp
  PDBApiTest.cpp
  )

add_llvm_unittest(DebugInfoPDBTests
  ${DebugInfoPDBSources}
  )

set(LLVM_LINK_COMPONENTS
  DebugInfoCodeView
  DebugInfoMsf
  DebugInfoPDB
  )

set(DebugInfoPDBSources
  MappedBlockStreamTest.cpp
  MsfBuilderTest.cpp
  PDBApiTest.cpp
  )

add_llvm_unittest(DebugInfoPDBTests
  ${DebugInfoPDBSources}
  )

Make DebugInfoMsf a dependency of DebugInfoPDBTests.
Make DebugInfoMsf a dependency of DebugInfoPDBTests.

For some reason this doesn't cause linker errors with MSVC or
clang-cl, but the bots seem to be failing with other compilers.

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