Skip to content

Commit 1cce82e

Browse files
committed
Add more binutils tools to LLVM_INSTALL_TOOLCHAIN_ONLY target
Also add the aliases for these tools so that LLVM_INSTALL_BINUTILS_SYMLINKS and LLVM_INSTALL_TOOLCHAIN_ONLY can work together. Differential Revision: https://reviews.llvm.org/D69635
1 parent 403739b commit 1cce82e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

llvm/cmake/modules/AddLLVM.cmake

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,14 +893,30 @@ endfunction()
893893
if(NOT LLVM_TOOLCHAIN_TOOLS)
894894
set (LLVM_TOOLCHAIN_TOOLS
895895
llvm-ar
896+
llvm-cxxfilt
896897
llvm-ranlib
897898
llvm-lib
898899
llvm-nm
899900
llvm-objcopy
900901
llvm-objdump
901902
llvm-rc
903+
llvm-size
904+
llvm-strings
905+
llvm-strip
902906
llvm-profdata
903907
llvm-symbolizer
908+
# symlink version of some of above tools that are enabled by
909+
# LLVM_INSTALL_BINUTILS_SYMLINKS.
910+
addr2line
911+
ar
912+
c++filt
913+
ranlib
914+
nm
915+
objcopy
916+
objdump
917+
size
918+
strings
919+
strip
904920
)
905921
endif()
906922

0 commit comments

Comments
 (0)