Skip to content

Commit

Permalink
Add llvm-profgen to the list of toolchain tools (#120106)
Browse files Browse the repository at this point in the history
This tool is used for SPGO and is invoked directly by users as described
in the Clang User's Manual[^1].

This change will include llvm-profgen in installations configured with
LLVM_INSTALL_TOOLCHAIN_ONLY, such as those provided by LLVM's executable
Windows installers. This is useful now that LLVM can perform SPGO on
Windows.

[^1]:
https://clang.llvm.org/docs/UsersManual.html#using-sampling-profilers
  • Loading branch information
tcreech-intel authored Dec 19, 2024
1 parent 9469fd2 commit 94837c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/cmake/modules/AddLLVM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,7 @@ if(NOT LLVM_TOOLCHAIN_TOOLS)
llvm-strings
llvm-strip
llvm-profdata
llvm-profgen
llvm-symbolizer
# symlink version of some of above tools that are enabled by
# LLVM_INSTALL_BINUTILS_SYMLINKS.
Expand Down

0 comments on commit 94837c8

Please sign in to comment.