Skip to content

Commit fc55f54

Browse files
committed
do not list source files for @debug message of include_dependency relocation
1 parent 069d923 commit fc55f54

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

base/loading.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3206,12 +3206,14 @@ function parse_cache_header(f::IO, cachefile::AbstractString)
32063206
inc.filename = restore_depot_path(inc.filename, srcdepot)
32073207
end
32083208
end
3209+
3210+
# each include_dependency() file is allowed to relocate to a separate depot, #52161
32093211
for inc in includes_depfiles
32103212
depot = resolve_depot(inc.filename)
32113213
if depot === :no_depot_found
3212-
@debug("Unable to resolve @depot tag for include_dependency() file $(inc.filename) from cache file $cachefile", srcfiles, _group=:relocatable)
3214+
@debug("Unable to resolve @depot tag for include_dependency() file $(inc.filename) from cache file $cachefile", _group=:relocatable)
32133215
elseif depot === :not_relocatable
3214-
@debug("include_dependency() file $(inc.filename) from $cachefile is not relocatable", srcfiles, _group=:relocatable)
3216+
@debug("include_dependency() file $(inc.filename) from $cachefile is not relocatable", _group=:relocatable)
32153217
else
32163218
inc.filename = restore_depot_path(inc.filename, depot)
32173219
end

0 commit comments

Comments
 (0)