================
@@ -181,6 +190,11 @@ void LifetimeModeling::checkDeadSymbols(SymbolReaper 
&SymReaper,
     if (!SymReaper.isLiveRegion(Region))
       State = State->remove<DeallocatedSourceSet>(Region);
   }
+
+  for (const MemRegion *Region : Reported) {
+    if (!SymReaper.isLiveRegion(Region))
+      State = State->remove<ReportedDeadRegions>(Region);
+  }
----------------
steakhal wrote:

Now that we have this additional trait, should we make it visible in 
`printState`? I really don't know. Do you think it could help debugging in some 
cases?

https://github.com/llvm/llvm-project/pull/215409
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to