teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities
Pavel Labath 13c07c62d1 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
2018-06-20 14:54:34 +00:00
..
abbreviation
alias
apropos_with_process Typo fixes. 2018-05-29 09:10:46 +00:00
archives Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
asan [test] Replace some references to Apple-internal bugs 2018-03-13 23:37:11 +00:00
attach_resume Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
avoids-fd-leak [testsuite] Reintroduce test to check leaking. 2018-02-12 18:06:34 +00:00
backticks
breakpoint Fix the 'tb' alias command 2018-06-18 04:34:33 +00:00
command_history
command_regex
command_script Make TestCommandScript.py NO_DEBUG_INFO_TESTCASE 2018-06-19 15:07:22 +00:00
command_script_alias
command_script_immediate_output [dotest] Clean up test folder clean-up 2018-03-16 12:04:46 +00:00
command_source Implement interactive command interruption 2017-10-05 23:41:28 +00:00
completion [lit, lldbsuite] Disable tests that are failing because of pr21765 and pr24489 2018-05-17 16:58:00 +00:00
conditional_break Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
darwin_log Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
data-formatter [ObjC] Add dataformatter for NSDecimalNumber 2018-06-13 18:47:04 +00:00
dead-strip Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
disassembly Fix TestDisassembleBreakpoint broken by r328488 2018-03-26 15:17:58 +00:00
dynamic_value_child_count Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
embedded_interpreter Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
exec Fix TestExec after r334783 2018-06-15 20:36:03 +00:00
expr-doesnt-deadlock Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
fat_archives Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
format Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
frame_var Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
frame_var_scope Fix an issue where frame variable -s <varname> would not show the scope even though the user asked for it 2016-10-26 19:17:49 +00:00
frame-diagnose Enforce that tests building with buildDefault set NO_DEBUG_INFO_TESTCASE 2018-01-30 17:02:42 +00:00
frame-language [lit, windows] Disable a number of tests that are failing on Windows 2018-06-07 17:49:22 +00:00
gdb_remote_client [lit] Fix several tests that fail when using Python 3 or on Windows 2018-05-14 21:04:24 +00:00
history Fix !N and !-N commands and add a test case. 2017-04-19 23:21:04 +00:00
inferior-assert Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
inferior-changed Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
inferior-crashing Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
inline-stepping [lit, windows] Disable a number of tests that are failing on Windows 2018-06-07 17:49:22 +00:00
jitloader_gdb Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
launch_with_shellexpand Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
load_unload Only throw -fPIC when building a shared library 2018-02-08 23:10:29 +00:00
longjmp Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
memory Typo fixes. 2018-05-29 09:10:46 +00:00
mtc/simple Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
multidebugger_commands
nested_alias Typo fixes. 2018-05-29 09:10:46 +00:00
non-overlapping-index-variable-i [test] Fix a test that never compiled under -fmodules 2018-01-25 21:20:29 +00:00
nosucharch Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
object-file
paths
platform Add a missing return in SBPlatform::IsConnected and test 2018-03-13 21:06:05 +00:00
plugins Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
postmortem Add a new SBTarget::LoadCore() overload which surfaces errors if the load fails 2018-06-11 21:19:26 +00:00
pre_run_dylibs Only throw -fPIC when building a shared library 2018-02-08 23:10:29 +00:00
process_attach Fix a couple of more tests to not create files in the source tree 2018-02-21 15:33:53 +00:00
process_group Fix a couple of more tests to not create files in the source tree 2018-02-21 15:33:53 +00:00
process_launch [lit] Split test_set_working_dir TestProcessLaunch into two tests and fix it on Windows 2018-06-13 19:02:44 +00:00
process_save_core Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
ptr_refs Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
recursion Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
register [lit, windows] Disable a number of tests that are failing on Windows 2018-06-07 17:49:22 +00:00
rerun Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
return-value Added lldbutil.run_to_name_breakpoint and use it in one test. 2018-02-01 21:35:50 +00:00
set-data Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
signal Rewrite the flaky test_restart_bug test in a more deterministic way 2018-02-08 10:37:23 +00:00
single-quote-in-filename-to-lldb Next batch of test-tree-cleaning changes 2018-03-15 13:47:09 +00:00
source-map Enable ProcessMachCore plugin on non-apple platforms 2018-05-22 16:33:43 +00:00
stats [Command] Implement statistics command. 2018-04-13 18:02:39 +00:00
stats_api [Statistics] Relax the test output a little bit. 2018-04-16 23:59:01 +00:00
step-avoids-no-debug [lit, windows] Disable a number of tests that are failing on Windows 2018-06-07 17:49:22 +00:00
stop-hook Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
target_command Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
testid add a simple test case to validate test id() 2016-10-03 22:49:13 +00:00
thread Make sure TestNumThreads works with libc++ 2018-06-20 14:54:34 +00:00
tsan Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
tty Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
type_completion Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
type_lookup Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
ubsan Fix TestUbsanBasic 2018-02-23 05:03:10 +00:00
unwind Add and fix some tests for PPC64 2018-03-26 12:42:07 +00:00
value_md5_crash Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
watchpoint Add and fix some tests for PPC64 2018-03-26 12:42:07 +00:00