[clang] [Fuchsia] Add STAGE2 flags for PGO (PR #150414)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 24 06:07:55 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: None (gulfemsavrun)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/150414.diff
1 Files Affected:
- (modified) clang/cmake/caches/Fuchsia.cmake (+3)
``````````diff
diff --git a/clang/cmake/caches/Fuchsia.cmake b/clang/cmake/caches/Fuchsia.cmake
index ee1d681d9f6df..a263c36cc0747 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(STAGE2_${variable} "${value}" CACHE ${type} "")
+ endif()
endif()
endforeach()
``````````
</details>
https://github.com/llvm/llvm-project/pull/150414
More information about the cfe-commits
mailing list