Skip to content

Commit f2a2f80

Browse files
authored
[CMake][PGO] Add libunwind to list of stage1 runtimes (#78869)
This fixes the build since 8f90e69 which made libcxxabi use llvm's libunwind by default. Fixes #78487
1 parent 6bbaad1 commit f2a2f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/cmake/caches/PGO.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "")
22
set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
33

44
set(LLVM_ENABLE_PROJECTS "clang;lld" CACHE STRING "")
5-
set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi" CACHE STRING "")
5+
set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libunwind" CACHE STRING "")
66

77
set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
88
set(BOOTSTRAP_LLVM_BUILD_INSTRUMENTED ON CACHE BOOL "")

0 commit comments

Comments
 (0)