summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2018-03-01 14:03:18 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2018-03-01 14:03:18 +0000
commitb0f051ae63e02f135cf8550deefc3e349c77b546 (patch)
tree88b995e9ac4cb0f12483182d4502fb293481ad74 /lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
parent69d6d7a4d8f5d6c8b4fdc003d77ec83812528344 (diff)
downloadbcm5719-llvm-b0f051ae63e02f135cf8550deefc3e349c77b546.tar.gz
bcm5719-llvm-b0f051ae63e02f135cf8550deefc3e349c77b546.zip
[OMPT] Fix interoperability test with GCC
We have to ensure that the runtime is initialized _before_ waiting for the two started threads to guarantee that the master threads post their ompt_event_thread_begin before the worker threads. This is not guaranteed in the parallel region where one worker thread could start before the other master thread has invoked the callback. The problem did not happen with Clang becauses the generated code calls __kmpc_global_thread_num() and cashes its result for functions that contain OpenMP pragmas. Differential Revision: https://reviews.llvm.org/D43882 llvm-svn: 326435
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud