Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db1d9c1c authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Set '%c' in LLVM_PROFILE_FILE for continuous mode" am: d2a27913

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2009257

Change-Id: Id27f40ea98ec8ba4232059b17fb88dec5b257b84
parents 45bed3a2 d2a27913
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -79,8 +79,12 @@ 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,
# because init.rc is conditionally included.