Merge "Set '%c' in LLVM_PROFILE_FILE for continuous mode"

This commit is contained in:
Treehugger Robot 2022-03-08 06:37:02 +00:00 committed by Gerrit Code Review
commit d2a27913a9
1 changed files with 5 additions and 1 deletions

View File

@ -79,7 +79,11 @@ endif
EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS :=
ifeq ($(CLANG_COVERAGE),true)
ifeq ($(CLANG_COVERAGE_CONTINUOUS_MODE),true)
EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS := export LLVM_PROFILE_FILE /data/misc/trace/clang%c-%20m.profraw
else
EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS := export LLVM_PROFILE_FILE /data/misc/trace/clang-%20m.profraw
endif
endif
# Put it here instead of in init.rc module definition,