[PATCH] D12119: Analyzer: Fix a crasher in UbigraphViz

Anna Zaks via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 3 14:49:07 PDT 2015


zaks.anna added a comment.

I do not understand why there should be a cycle here in the Exploded Graph. Most likely this assertion uncovers a bug in cfg-temporary-doors, which is a disabled by default feature (it has not been completed yet). You can think of "ProgramState" as the state of the program, so it would have information about the values of both, 'a' and 'b' at the same time. You are right, maybe while we are evaluating the destructor, the distinction between 'a' and 'b' is lost, but that's a bug in how the temporary destructors are handled.

I do not think the assertion should be removed.


http://reviews.llvm.org/D12119





More information about the cfe-commits mailing list