================
@@ -1408,7 +1408,6 @@ TEST_F(LifetimeAnalysisTest, TrivialClassDestructorsUAF) {
     }
   )");
   EXPECT_THAT(Origin("ptr"), HasLoansTo({"s"}, "p1"));
-  EXPECT_THAT(Origins({"ptr"}), MustBeLiveAt("p1"));
----------------
NeKon69 wrote:

I think `a` and `b` are (although I didn't confirm it, since there are two of 
them, they're probably members). Let me send you the error message.

```
Value of: Origins({"ptr"})
Expected: must be live at (Annotation: "p1")
  Actual: 32-byte object <70-B8 BB-1C 3F-56 00-00 90-B8 BB-1C 3F-56 00-00 90-B8 
BB-1C 3F-56 00-00 C0-B3 BB-1C 3F-56 00-00>, Expected: {5, } Actual: {0, 1, 5, }
```

There is probably a way to dump what those origin IDs correspond to, but I 
don't really know how to do that.

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

Reply via email to