diff options
author | Pavel Labath <labath@google.com> | 2018-06-20 14:54:34 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-06-20 14:54:34 +0000 |
commit | 13c07c62d14f3f73e56e1c29b98f244fa3519e4f (patch) | |
tree | 9255662677540a482230757ecd84b4eb71479518 /lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/poarray | |
parent | d65492abf79638a417dfebdaf061e097fe033943 (diff) | |
download | bcm5719-llvm-13c07c62d14f3f73e56e1c29b98f244fa3519e4f.tar.gz bcm5719-llvm-13c07c62d14f3f73e56e1c29b98f244fa3519e4f.zip |
Make sure TestNumThreads works with libc++
The problem was that with libc++ the std::unique_lock declaration was
completely inlined, so there was no line table entry in the main.cpp
file to set a breakpoint on. Therefore, the breakpoint got moved to the
next line, but that meant the test would deadlock as the thread would
stop with the lock already held.
I fix that issue by adding a dummy statement before the std::unique_lock
line to anchor the breakpoint.
I think this should fix the issue because of which this test was
disabled on darwin, but someone should verify that before enabling it.
llvm-svn: 335132
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/poarray')
0 files changed, 0 insertions, 0 deletions