OpenMPToolsInterface / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.
http://llvm.org
2 stars 4 forks source link

PR to introduce 2 gdb plugin commands and some fixes #9

Closed jinisusan closed 4 years ago

jinisusan commented 4 years ago
  1. Introducing 2 gdb plugin commands (Based on the commands in the odb gdb-wrapper): a. ompd parallel (Provides information about the current and enclosing parallel regions) b. ompd icv (Provides information about the current values of the Internal Control Variables
  2. Adding --system to the pip command in libompd/gdb-plugin/CMakeLists.txt to avoid a build failure.
  3. Invoking the python _read_string function with only the source address since the overflow error is handled in the caller. (ompdModule.c and ompd_callbacks.py). Other changes done to fix other _read_string() errors.
  4. Avoiding the return of a stale handle in get_current_parallel_handle() in ompd_handles.py