set(LLVM_LINK_COMPONENTS MC Object ObjectYAML Support ) add_llvm_tool(yaml2obj yaml2obj.cpp yaml2coff.cpp yaml2elf.cpp yaml2macho.cpp )