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

Avoid the misleading -- Function 'ompd_tool_break' not defined -- message #12

Closed jinisusan closed 4 years ago

jinisusan commented 4 years ago

Changes to avoid the misleading message -- Function 'ompd_tool_break' not defined. The changes are to first test if we can evaluate "omp_tool_break", and then place a breakpoint in that function only if it is found. 'lookup_symbol' might have been a neater choice for this, but it is not working.