[clang] [llvm] [llvm][clang] Use the VFS in `GCOVProfilerPass` (PR #161260)

Steven Wu via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 29 12:56:27 PDT 2025


================
@@ -166,6 +170,7 @@ class GCOVProfiler {
   std::vector<Regex> ExcludeRe;
   DenseSet<const BasicBlock *> ExecBlocks;
   StringMap<bool> InstrumentedFiles;
+  IntrusiveRefCntPtr<vfs::FileSystem> VFS;
----------------
cachemeifyoucan wrote:

I think `GCOVProfiler` lives inside the pass so this doesn't need to be ref-counted? 

https://github.com/llvm/llvm-project/pull/161260


More information about the llvm-commits mailing list