summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/z_Linux_util.c
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-10-08 18:49:40 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-10-08 18:49:40 +0000
commite03b62f3bcad771cc3911408cda75a62ef6863f4 (patch)
treea70caeaae6c2971df3c82f1bc2725f0eed0bea6f /openmp/runtime/src/z_Linux_util.c
parent413dbbb1c2d324c5080a5d82897d796e3581e518 (diff)
downloadbcm5719-llvm-e03b62f3bcad771cc3911408cda75a62ef6863f4.tar.gz
bcm5719-llvm-e03b62f3bcad771cc3911408cda75a62ef6863f4.zip
Debug trace and assert statement changes for wait/release improvements.
These changes improve/update the trace messages and debug asserts related to the previous wait/release checkin. llvm-svn: 249717
Diffstat (limited to 'openmp/runtime/src/z_Linux_util.c')
-rw-r--r--openmp/runtime/src/z_Linux_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/z_Linux_util.c b/openmp/runtime/src/z_Linux_util.c
index 8992733d7bb..9815232201f 100644
--- a/openmp/runtime/src/z_Linux_util.c
+++ b/openmp/runtime/src/z_Linux_util.c
@@ -1704,8 +1704,8 @@ static inline void __kmp_suspend_template( int th_gtid, C *flag )
*/
old_spin = flag->set_sleeping();
- KF_TRACE( 5, ( "__kmp_suspend_template: T#%d set sleep bit for spin(%p)==%d\n",
- th_gtid, flag->get(), *(flag->get()) ) );
+ KF_TRACE( 5, ( "__kmp_suspend_template: T#%d set sleep bit for spin(%p)==%x, was %x\n",
+ th_gtid, flag->get(), *(flag->get()), old_spin ) );
if ( flag->done_check_val(old_spin) ) {
old_spin = flag->unset_sleeping();
OpenPOWER on IntegriCloud