[PATCH] D77492: [LLVM] Fix LLVM_CSPROFILE_FILE_PATTERN not being used
Raul Tambre via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 5 05:51:40 PDT 2020
tambre created this revision.
tambre added a reviewer: chandlerc.
Herald added subscribers: llvm-commits, mgorny.
Herald added a project: LLVM.
Seems to be a copy-paste error due to which LLVM_CSPROFILE_FILE_PATTERN isn't actually used anywhere.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D77492
Files:
llvm/cmake/modules/HandleLLVMOptions.cmake
Index: llvm/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm/cmake/modules/HandleLLVMOptions.cmake
+++ llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -864,11 +864,11 @@
CMAKE_SHARED_LINKER_FLAGS)
endif()
elseif(uppercase_LLVM_BUILD_INSTRUMENTED STREQUAL "CSIR")
- append("-fcs-profile-generate=\"${LLVM_CSPROFILE_DATA_DIR}\""
+ append("-fcs-profile-generate=\"${LLVM_CSPROFILE_FILE_PATTERN}\""
CMAKE_CXX_FLAGS
CMAKE_C_FLAGS)
if(NOT LINKER_IS_LLD_LINK)
- append("-fcs-profile-generate=\"${LLVM_CSPROFILE_DATA_DIR}\""
+ append("-fcs-profile-generate=\"${LLVM_CSPROFILE_FILE_PATTERN}\""
CMAKE_EXE_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77492.255140.patch
Type: text/x-patch
Size: 784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200405/3fcf8325/attachment.bin>
More information about the llvm-commits
mailing list