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 /llvm/lib/Bitcode/Reader/BitstreamReader.cpp | |
| parent | 27149cf32dfbffb3738e96bdfda858712c758125 (diff) | |
| download | llvm-95246e7def0cf92b061338ca682c1f5e60f61a15.zip llvm-95246e7def0cf92b061338ca682c1f5e60f61a15.tar.gz llvm-95246e7def0cf92b061338ca682c1f5e60f61a15.tar.bz2 | |
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 'llvm/lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions
