1 2 3 4 5 6 7
set(LLVM_LINK_COMPONENTS ipo scalaropts linker archive bitwriter) set(LLVM_REQUIRES_EH 1) add_llvm_tool(llvm-ld Optimize.cpp llvm-ld.cpp )