projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9814658
)
action: improve "unintialized load" bug print
author
Brian Norris
<banorris@uci.edu>
Wed, 24 Apr 2013 17:28:34 +0000
(10:28 -0700)
committer
Brian Norris
<banorris@uci.edu>
Wed, 24 Apr 2013 17:28:34 +0000
(10:28 -0700)
action.cc
patch
|
blob
|
history
diff --git
a/action.cc
b/action.cc
index
e2557f0
..
14ad71d
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())
- 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());
}
/**