set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} MC MCDisassembler Support ) add_llvm_unittest(MCTests Disassembler.cpp DwarfLineTables.cpp MCInstPrinter.cpp StringTableBuilderTest.cpp TargetRegistry.cpp )