aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgulfemsavrun <gulfem@google.com>2025-07-24 19:50:39 +0300
committerGitHub <noreply@github.com>2025-07-24 19:50:39 +0300
commit36a19c5bfe2f808365b8ccdacd4c6f2bb25fc3ef (patch)
tree0c0ad691813848b5054f3c64baccb978fd7581a9
parentf44346dc1f6252716cfc62bb0687e3932a93089f (diff)
downloadllvm-36a19c5bfe2f808365b8ccdacd4c6f2bb25fc3ef.zip
llvm-36a19c5bfe2f808365b8ccdacd4c6f2bb25fc3ef.tar.gz
llvm-36a19c5bfe2f808365b8ccdacd4c6f2bb25fc3ef.tar.bz2
[Fuchsia] Add BOOTSTRAP_BOOTSTRAP flags for PGO (#150448)
-rw-r--r--clang/cmake/caches/Fuchsia.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/cmake/caches/Fuchsia.cmake b/clang/cmake/caches/Fuchsia.cmake
index ee1d681..a3f86f6 100644
--- a/clang/cmake/caches/Fuchsia.cmake
+++ b/clang/cmake/caches/Fuchsia.cmake
@@ -76,6 +76,9 @@ foreach(variable ${_FUCHSIA_BOOTSTRAP_PASSTHROUGH})
get_property(value CACHE ${variable} PROPERTY VALUE)
get_property(type CACHE ${variable} PROPERTY TYPE)
set(BOOTSTRAP_${variable} "${value}" CACHE ${type} "")
+ if(FUCHSIA_ENABLE_PGO)
+ set(BOOTSTRAP_BOOTSTRAP_${variable} "${value}" CACHE ${type} "")
+ endif()
endif()
endforeach()