set(LLVM_LINK_COMPONENTS
  DebugInfoCodeView
  Object
  Support
  DebugInfoCodeView
  )

add_llvm_tool(llvm-readobj
  ARMAttributeParser.cpp
  ARMWinEHPrinter.cpp
  COFFDumper.cpp
  COFFImportDumper.cpp
  ELFDumper.cpp
  Error.cpp
  llvm-readobj.cpp
  MachODumper.cpp
  ObjDumper.cpp
  Win64EHDumper.cpp
  )