Skip to content

Commit

Permalink
Bug 679334 - Don't remove pgd files, but clear them with pgomgr inste…
Browse files Browse the repository at this point in the history
…ad. r=ted
  • Loading branch information
glandium committed Aug 29, 2011
1 parent 322a0b6 commit 12e5018
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ ifdef MOZ_PROFILE_GENERATE
# Clean up profiling data during PROFILE_GENERATE phase
export::
ifeq ($(OS_ARCH)_$(GNU_CC), WINNT_)
-$(RM) *.pgd
$(foreach pgd,$(wildcard *.pgd),pgomgr -clear $(pgd);)
else
ifdef GNU_CC
-$(RM) *.gcda
Expand Down
2 changes: 1 addition & 1 deletion js/src/config/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ ifdef MOZ_PROFILE_GENERATE
# Clean up profiling data during PROFILE_GENERATE phase
export::
ifeq ($(OS_ARCH)_$(GNU_CC), WINNT_)
-$(RM) *.pgd
$(foreach pgd,$(wildcard *.pgd),pgomgr -clear $(pgd);)
else
ifdef GNU_CC
-$(RM) *.gcda
Expand Down

0 comments on commit 12e5018

Please sign in to comment.