projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
action: improve "unintialized load" bug print
[model-checker.git]
/
action.cc
diff --git
a/action.cc
b/action.cc
index e2557f0ad9fe3bac1083aca81fc67749dc6e8e82..14ad71d54e5221c553a610a846f9a0a66dc98fa5 100644
(file)
--- a/
action.cc
+++ b/
action.cc
@@
-478,7
+478,10
@@
void ModelAction::set_read_from(const ModelAction *act)
reads_from = act;
reads_from_promise = NULL;
if (act->is_uninitialized())
reads_from = act;
reads_from_promise = NULL;
if (act->is_uninitialized())
- model->assert_bug("May read from uninitialized atomic\n");
+ model->assert_bug("May read from uninitialized atomic:\n"
+ " action %d, thread %d, location %p (%s, %s)",
+ seq_number, id_to_int(tid), location,
+ get_type_str(), get_mo_str());
}
/**
}
/**