Go to file
Jonathan Peyton 117a94ff9d Fix OMPT state maintenance for barriers and missing init of implicit task id.
Fix OMPT support for barriers so that state changes occur even if OMPT_TRACE turned off. 
These state changes are needed by performance tools that use callbacks for either 
ompt_event_wait_barrier_begin or ompt_event_wait_barrier_end.  Change ifdef flag to OMPT_BLAME 
for callbacks ompt_event_wait_barrier_begin or ompt_event_wait_barrier_end rather than 
OMPT_TRACE -- they were misclassified.  Without this patch, when the runtime is compiled with 
LIBOMP_OMPT_SUPPORT=true, LIBOMP_OMPT_BLAME=true, and LIBOMP_OMPT_TRACE=false, and a callback 
is registered for either ompt_event_wait_barrier_begin or ompt_event_wait_barrier_end, then an 
assertion will trip.  Fix the scoping of one OMPT_TRACE ifdef, which should not have surrounded 
an update of an OMPT state.  Add a missing initialization of an OMPT task id for an implicit task.

Patch by John Mellor-Crummey

Differential Revision: http://reviews.llvm.org/D10759

llvm-svn: 240970
2015-06-29 17:28:57 +00:00
clang Make __has_extension(assume_nonnull) always true. 2015-06-29 17:25:49 +00:00
clang-tools-extra [clang-tidy] Fix false positives in the macro parentheses checker 2015-06-29 12:18:11 +00:00
compiler-rt sanitizer_common: fix and re-enable signal_segv_handler test 2015-06-29 16:31:10 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Properly initialize Module pointer 2015-06-27 12:35:54 +00:00
libcxx Make support for thread-unsafe C functions optional. 2015-06-24 08:44:38 +00:00
libcxxabi fallback_malloc: silence conversion warning (NFC) 2015-06-03 17:25:35 +00:00
libunwind Fix unw_getcontext() return value on AArch64. 2015-06-25 15:12:46 +00:00
lld COFF: Handle mangled entry symbol name. 2015-06-29 14:43:07 +00:00
lldb Mark test_sb_api_listener_event_process_state as flakey 2015-06-29 16:28:37 +00:00
llgo [llgo] cmd/llgoi: use line editor 2015-05-23 15:16:09 +00:00
llvm Clean up unique lock files on signal and always release the lock 2015-06-29 17:08:41 +00:00
openmp Fix OMPT state maintenance for barriers and missing init of implicit task id. 2015-06-29 17:28:57 +00:00
polly Add first support to delinearize A[t%2][i][j] 2015-06-29 14:44:22 +00:00