We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f1b981 commit 416137bCopy full SHA for 416137b
llvm/lib/LTO/CMakeLists.txt
@@ -1,3 +1,10 @@
1
+if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
2
+ # We append -fno-lifetime-dse in HandleLLVMOptions.cmake
3
+ # append("-fno-lifetime-dse" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
4
+ # But it is causing link failure with llvm::StdThreadPool::asyncEnqueue
5
+ string(REPLACE "-fno-lifetime-dse" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
6
+endif ()
7
+
8
add_llvm_component_library(LLVMLTO
9
LTO.cpp
10
LTOBackend.cpp
0 commit comments