[PATCH] Enable debugger support

Jonathan Peyton jonathan.l.peyton at intel.com
Thu Jun 11 11:03:56 PDT 2015


On May 28th, 2015, Olga Malysheva wrote:

> Hello!

> 

> Thank you for your comment. We'll add more comments for this code.

> 

> 1. __kmp_debugging can be set by a debugger to notify OpenMP RTL that it is run under the debugger.

> 2. The ident parameter is used in __kmp_omp_num_threads() function to check if the number of threads was changed by the debugger for the parallel which location was specified by the ident. Please, see usage of __kmp_omp_num_threads() (together with __kmp_debugging) in __kmp_fork_call() function.

> 

>   Currently, Intel Debugger (IDB) is supported.

> 

>   Regards, Olga


Addressing Hal's requests with new patch.

> Please document how, by whom, and when this can be set.

>  How is the ident parameter used? (please document that)



REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10038

Files:
  runtime/CMakeLists.txt
  runtime/cmake/Definitions.cmake
  runtime/cmake/SourceFiles.cmake
  runtime/src/dllexports
  runtime/src/exports_so.txt
  runtime/src/kmp.h
  runtime/src/kmp_barrier.cpp
  runtime/src/kmp_debugger.c
  runtime/src/kmp_debugger.h
  runtime/src/kmp_omp.h
  runtime/src/kmp_runtime.c
  runtime/src/makefile.mk
  runtime/tools/src/common-tools.mk

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10038.27528.patch
Type: text/x-patch
Size: 27952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150611/8524b962/attachment.bin>


More information about the llvm-commits mailing list