diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-11-05 16:54:55 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-11-05 16:54:55 +0000 |
commit | 95246e7def0cf92b061338ca682c1f5e60f61a15 (patch) | |
tree | 39d0c641b81bf063b6b01d6cf3ecf1e330e5db6a /lldb/packages/Python/lldbsuite/test/functionalities/thread/TestNumThreads.py | |
parent | 27149cf32dfbffb3738e96bdfda858712c758125 (diff) | |
download | bcm5719-llvm-95246e7def0cf92b061338ca682c1f5e60f61a15.tar.gz bcm5719-llvm-95246e7def0cf92b061338ca682c1f5e60f61a15.zip |
Improve OMPT initialization code
Use of #ifdef OMPT_DEBUG was causing messages to be generated under normal
operation when the OpenMP library was compiled with KMP_DEBUG enabled.
Elsewhere, KMP_DEBUG evaluates assertions, but never produces messages during
normal operation. To avoid this inconsistency, set OMPT_DEBUG using a cmake
variable LIBOMP_OMPT_DEBUG.
While I was editing the associated ompt-specific.h and ompt-general.c files,
make the spacing and comments consistent.
Patch by John Mellor-Crummey
Differential Revision: http://reviews.llvm.org/D14355
llvm-svn: 252173
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/thread/TestNumThreads.py')
0 files changed, 0 insertions, 0 deletions