[llvm] 7dbdc34 - Fix command-line argument for prepare-code-coverage-artifact.py (#200982)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 08:24:04 PDT 2026
Author: Ruslan Baratov
Date: 2026-06-26T10:23:59-05:00
New Revision: 7dbdc34bd9be798a0debcec173e52e9477f8e70b
URL: https://github.com/llvm/llvm-project/commit/7dbdc34bd9be798a0debcec173e52e9477f8e70b
DIFF: https://github.com/llvm/llvm-project/commit/7dbdc34bd9be798a0debcec173e52e9477f8e70b.diff
LOG: Fix command-line argument for prepare-code-coverage-artifact.py (#200982)
Added:
Modified:
llvm/cmake/modules/CoverageReport.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/modules/CoverageReport.cmake b/llvm/cmake/modules/CoverageReport.cmake
old mode 100644
new mode 100755
index db8ff7de16b12..ad193f463566d
--- a/llvm/cmake/modules/CoverageReport.cmake
+++ b/llvm/cmake/modules/CoverageReport.cmake
@@ -42,7 +42,7 @@ set(LLVM_COVERAGE_SOURCE_DIRS "" CACHE STRING "Source directories to restrict co
mark_as_advanced(LLVM_COVERAGE_SOURCE_DIRS)
foreach(dir ${LLVM_COVERAGE_SOURCE_DIRS})
- list(APPEND restrict_flags -restrict ${dir})
+ list(APPEND restrict_flags --restrict ${dir})
endforeach()
# Utility target to clear out profile data.
More information about the llvm-commits
mailing list