that builds the following additional llvm/clang tools: - bugpoint - llc - lli - llvm-ar - llvm-as - llvm-bcanalyzer - llvm-diff - llvm-dis - llvm-extract - llvm-ld - llvm-link - llvm-mc - llvm-nm - llvm-objdump - llvm-prof - llvm-ranlib - llvm-rtdyld - llvm-stub - macho-dump - opt These tools are mainly useful for people that want to manipulate llvm bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker with llvm and clang themselves. MFC after: 2 weeks
9 lines
155 B
CMake
9 lines
155 B
CMake
set(LLVM_LINK_COMPONENTS support asmparser bitreader)
|
|
|
|
add_llvm_tool(llvm-diff
|
|
llvm-diff.cpp
|
|
DiffConsumer.cpp
|
|
DiffLog.cpp
|
|
DifferenceEngine.cpp
|
|
)
|