diff --git a/passes/techmap/libcache.cc b/passes/techmap/libcache.cc index c833a6046..e4326c49f 100644 --- a/passes/techmap/libcache.cc +++ b/passes/techmap/libcache.cc @@ -96,9 +96,7 @@ quiet = true; continue; } - std::string fname = args[argidx]; - rewrite_filename(fname); - paths.push_back(fname); + append_globbed(paths, args[argidx]); break; } int modes = enable + disable + purge + list + verbose + quiet; diff --git a/tests/liberty/libcache.ys b/tests/liberty/libcache.ys index 04257aa92..8132b3f11 100644 --- a/tests/liberty/libcache.ys +++ b/tests/liberty/libcache.ys @@ -1,5 +1,5 @@ libcache -verbose -libcache -enable busdef.lib +libcache -enable bus*f.lib logger -expect log "Caching is disabled by default." 1 logger -expect log "Caching is enabled for `busdef.lib'." 1