datarace: bugfix - don't implicitly allocate global SnapVector
authorBrian Norris <banorris@uci.edu>
Wed, 17 Apr 2013 20:17:46 +0000 (13:17 -0700)
committerBrian Norris <banorris@uci.edu>
Wed, 17 Apr 2013 20:26:07 +0000 (13:26 -0700)
commit823d6e43187ba7ba3ff802f0ef9306faa51fe5f9
tree33ee608e2ab70d18ded3c7fa4e1e127d80a565ad
parent133e215362162a6146b51fe9ac4eec749cc3c6c5
datarace: bugfix - don't implicitly allocate global SnapVector

We do not want to pollute the user's snapshotting region with the
unrealizedraces SnapVector. Allocate it in initRaceDetector(), so that
it is placed on the model-checker's snapshotting heap.
datarace.cc