[llvm] 94837c8 - Add llvm-profgen to the list of toolchain tools (#120106)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 19 06:46:49 PST 2024
Author: Tim Creech
Date: 2024-12-19T22:46:45+08:00
New Revision: 94837c8b5761d20310947be5d2e1e568f67e8c0c
URL: https://github.com/llvm/llvm-project/commit/94837c8b5761d20310947be5d2e1e568f67e8c0c
DIFF: https://github.com/llvm/llvm-project/commit/94837c8b5761d20310947be5d2e1e568f67e8c0c.diff
LOG: Add llvm-profgen to the list of toolchain tools (#120106)
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
Added:
Modified:
llvm/cmake/modules/AddLLVM.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 6cf0ee1a54dbdb..54a54db338e695 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -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.
More information about the llvm-commits
mailing list