File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2645,6 +2645,7 @@ end
2645
2645
return true
2646
2646
end
2647
2647
end
2648
+ tracked_path = unsafe_string (JLOptions (). tracked_path)
2648
2649
for chi in includes
2649
2650
f, ftime_req = chi. filename, chi. mtime
2650
2651
if ! isfile (f)
@@ -2657,6 +2658,14 @@ end
2657
2658
@debug " Rejecting stale cache file $cachefile because file $f does not exist"
2658
2659
return true
2659
2660
end
2661
+ if JLOptions (). code_coverage == 3 && occursin (tracked_path, f)
2662
+ @debug " Rejecting cache file $cachefile because included file $f is being tracked by --code-coverage"
2663
+ return true
2664
+ end
2665
+ if JLOptions (). malloc_log == 3 && occursin (tracked_path, f)
2666
+ @debug " Rejecting cache file $cachefile because included file $f is being tracked by --track-allocation"
2667
+ return true
2668
+ end
2660
2669
ftime = mtime (f)
2661
2670
is_stale = ( ftime != ftime_req ) &&
2662
2671
( ftime != floor (ftime_req) ) && # Issue #13606, PR #13613: compensate for Docker images rounding mtimes
You can’t perform that action at this time.
0 commit comments