cyclegraph: RMW atomicity violation must flag a cycle
authorBrian Norris <banorris@uci.edu>
Fri, 25 Jan 2013 21:35:38 +0000 (13:35 -0800)
committerBrian Norris <banorris@uci.edu>
Fri, 25 Jan 2013 21:35:38 +0000 (13:35 -0800)
commit72524dae1144e6fe437c8317f8f718e534ccfe0f
tree838d203945459ff5e7061be0957f97334ca906e1
parentb1de3c01aaea4141cd01410ef739a00f2987b567
cyclegraph: RMW atomicity violation must flag a cycle

Because we've removed some of the special-casing for RMW atomicity
violations, we don't need the separate 'hasRMWViolation' condition;
instead, we should explicitly flag atomicity violations as a cycle.
Previously, there was a subtle bug related to this issue, where cycles
were flagged only as RMW violations and did not show up to the
model-checker at the appropriate points.
cyclegraph.cc
cyclegraph.h
model.cc