aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-01-06 20:12:03 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-01-06 20:12:03 +0000
commit9e6d35490a6542f9c97607f93c2ef8ca8e03cbcc (patch)
treedd2a1ddf0476664c2b823409c36cbccd52662ca7 /packages/Python/lldbsuite
parent3bd2e91faeb9eeec1aae82c64a3253afff551cfd (diff)
downloadsrc-9e6d35490a6542f9c97607f93c2ef8ca8e03cbcc.tar.gz
src-9e6d35490a6542f9c97607f93c2ef8ca8e03cbcc.zip
Vendor import of lldb trunk r256945:vendor/lldb/lldb-trunk-r256945
Notes
Notes: svn path=/vendor/lldb/dist/; revision=293262 svn path=/vendor/lldb/lldb-trunk-r256945/; revision=293263; tag=vendor/lldb/lldb-trunk-r256945
Diffstat (limited to 'packages/Python/lldbsuite')
-rw-r--r--packages/Python/lldbsuite/__init__.py28
-rw-r--r--packages/Python/lldbsuite/support/__init__.py0
-rw-r--r--packages/Python/lldbsuite/support/fs.py64
-rw-r--r--packages/Python/lldbsuite/support/seven.py20
-rw-r--r--packages/Python/lldbsuite/support/sockutil.py23
-rw-r--r--packages/Python/lldbsuite/test/.categories0
-rw-r--r--packages/Python/lldbsuite/test/Makefile33
-rw-r--r--packages/Python/lldbsuite/test/README-TestSuite159
-rw-r--r--packages/Python/lldbsuite/test/__init__.py7
-rw-r--r--packages/Python/lldbsuite/test/android/platform/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py38
-rw-r--r--packages/Python/lldbsuite/test/android/platform/main.cpp13
-rw-r--r--packages/Python/lldbsuite/test/api/check_public_api_headers/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py88
-rw-r--r--packages/Python/lldbsuite/test/api/check_public_api_headers/main.cpp.template24
-rw-r--r--packages/Python/lldbsuite/test/api/multiple-debuggers/.categories1
-rw-r--r--packages/Python/lldbsuite/test/api/multiple-debuggers/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/api/multiple-debuggers/TestMultipleDebuggers.py44
-rw-r--r--packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp283
-rw-r--r--packages/Python/lldbsuite/test/api/multiple-debuggers/testprog.cpp12
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py91
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/common.h68
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/driver.cpp38
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/inferior.cpp17
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/listener_test.cpp74
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/lldb-headers.h11
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/test_breakpoint_callback.cpp49
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_description.cpp97
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_process_state.cpp68
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/test_listener_resume.cpp53
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/TestEmulations.py54
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-10-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-11-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-12-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-9-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-arm.dat119
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-thumb.dat119
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-arm.dat123
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-thumb.dat123
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-arm.dat119
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-thumb.dat119
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-arm.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-10-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-11-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-12-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-arm.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-arm.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-arm.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-arm.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-arm.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-arm.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-arm.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-9-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-arm.dat119
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-thumb.dat119
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-2-thumb.dat119
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrh-1-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-1-arm.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-2-arm.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-10-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-11-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-12-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-13-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-14-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-15-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-16-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-17-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-18-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-19-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-20-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-21-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-22-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-23-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-24-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-25-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-26-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-27-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-28-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-29-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-30-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-31-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-7-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-8-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-9-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-moveq-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-movs-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-arm.dat121
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-thumb.dat121
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-arm.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-3-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-5-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-2-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strbt-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strd-1-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strt-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-10-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-6-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-6-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-8-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-9-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-1-arm.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-1-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-10-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-2-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-3-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-4-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-5-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-6-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-8-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-9-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-1-thumb.dat125
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-2-thumb.dat118
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-3-thumb.dat121
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-1-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-2-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-3-thumb.dat111
-rw-r--r--packages/Python/lldbsuite/test/attic/dotest.pl44
-rw-r--r--packages/Python/lldbsuite/test/attic/tester.py115
-rw-r--r--packages/Python/lldbsuite/test/bench-history206
-rw-r--r--packages/Python/lldbsuite/test/bench.py74
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/continue/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/continue/TestBenchmarkContinue.py66
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/continue/main.cpp36
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/disassembly/TestDisassembly.py155
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/disassembly/TestDoAttachThenDisassembly.py67
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/disassembly/TestXcode41Vs42GDBDisassembly.py94
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/expression/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/expression/TestExpressionCmd.py72
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/expression/TestRepeatedExprs.py130
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/expression/main.cpp51
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/frame_variable/TestFrameVariableResponse.py70
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/libcxxlist/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py59
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/libcxxlist/main.cpp11
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/libcxxmap/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py59
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/libcxxmap/main.cpp11
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/startup/TestStartupDelays.py80
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/stepping/TestSteppingSpeed.py67
-rw-r--r--packages/Python/lldbsuite/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py119
-rw-r--r--packages/Python/lldbsuite/test/configuration.py161
-rw-r--r--packages/Python/lldbsuite/test/crashinfo.c64
-rw-r--r--packages/Python/lldbsuite/test/curses_results.py224
-rw-r--r--packages/Python/lldbsuite/test/dosep.py1680
-rw-r--r--packages/Python/lldbsuite/test/dotest.py1128
-rw-r--r--packages/Python/lldbsuite/test/dotest_args.py188
-rw-r--r--packages/Python/lldbsuite/test/dotest_channels.py200
-rw-r--r--packages/Python/lldbsuite/test/driver/batch_mode/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/driver/batch_mode/TestBatchMode.py89
-rw-r--r--packages/Python/lldbsuite/test/driver/batch_mode/main.c15
-rw-r--r--packages/Python/lldbsuite/test/example/TestSequenceFunctions.py36
-rw-r--r--packages/Python/lldbsuite/test/expression_command/.categories1
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-function/Makefile15
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py43
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py46
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py52
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-function/main.cpp53
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-restarts/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-restarts/TestCallThatRestarts.py139
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-restarts/lotta-signals.c61
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-throws/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-throws/TestCallThatThrows.py112
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-throws/call-throws.m47
-rw-r--r--packages/Python/lldbsuite/test/expression_command/char/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/char/TestExprsChar.py69
-rw-r--r--packages/Python/lldbsuite/test/expression_command/char/main.cpp10
-rw-r--r--packages/Python/lldbsuite/test/expression_command/expr-in-syscall/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py82
-rw-r--r--packages/Python/lldbsuite/test/expression_command/expr-in-syscall/main.cpp12
-rw-r--r--packages/Python/lldbsuite/test/expression_command/formatters/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py167
-rw-r--r--packages/Python/lldbsuite/test/expression_command/formatters/foosynth.py29
-rw-r--r--packages/Python/lldbsuite/test/expression_command/formatters/formatters.py17
-rw-r--r--packages/Python/lldbsuite/test/expression_command/formatters/main.cpp48
-rw-r--r--packages/Python/lldbsuite/test/expression_command/issue_11588/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/issue_11588/Test11588.py77
-rw-r--r--packages/Python/lldbsuite/test/expression_command/issue_11588/main.cpp54
-rw-r--r--packages/Python/lldbsuite/test/expression_command/issue_11588/s11588.py26
-rw-r--r--packages/Python/lldbsuite/test/expression_command/macros/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py106
-rw-r--r--packages/Python/lldbsuite/test/expression_command/macros/macro1.h17
-rw-r--r--packages/Python/lldbsuite/test/expression_command/macros/macro2.h8
-rw-r--r--packages/Python/lldbsuite/test/expression_command/macros/main.cpp15
-rw-r--r--packages/Python/lldbsuite/test/expression_command/options/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py76
-rw-r--r--packages/Python/lldbsuite/test/expression_command/options/foo.cpp11
-rw-r--r--packages/Python/lldbsuite/test/expression_command/options/main.cpp15
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py50
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/main.m80
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py41
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/main.c11
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_types/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py41
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py57
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_types/main.c14
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_variables/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py54
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persistent_variables/main.c14
-rw-r--r--packages/Python/lldbsuite/test/expression_command/po_verbosity/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py61
-rw-r--r--packages/Python/lldbsuite/test/expression_command/po_verbosity/main.m9
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_8638051/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_8638051/Test8638051.py39
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_8638051/main.c54
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_9531204/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py42
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_9531204/main.c25
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_9673664/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py41
-rw-r--r--packages/Python/lldbsuite/test/expression_command/radar_9673664/main.c16
-rw-r--r--packages/Python/lldbsuite/test/expression_command/test/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/test/TestExprs.py248
-rw-r--r--packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py60
-rw-r--r--packages/Python/lldbsuite/test/expression_command/test/main.cpp44
-rw-r--r--packages/Python/lldbsuite/test/expression_command/timeout/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py92
-rw-r--r--packages/Python/lldbsuite/test/expression_command/timeout/wait-a-while.cpp35
-rw-r--r--packages/Python/lldbsuite/test/expression_command/two-files/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py39
-rw-r--r--packages/Python/lldbsuite/test/expression_command/two-files/foo.m28
-rw-r--r--packages/Python/lldbsuite/test/expression_command/two-files/main.m22
-rw-r--r--packages/Python/lldbsuite/test/functionalities/abbreviation/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/abbreviation/TestAbbreviations.py101
-rw-r--r--packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py39
-rw-r--r--packages/Python/lldbsuite/test/functionalities/alias/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/archives/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/archives/README62
-rw-r--r--packages/Python/lldbsuite/test/functionalities/archives/TestBSDArchives.py57
-rw-r--r--packages/Python/lldbsuite/test/functionalities/archives/a.c19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/archives/b.c19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/archives/main.c17
-rw-r--r--packages/Python/lldbsuite/test/functionalities/asan/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/asan/TestMemoryHistory.py103
-rw-r--r--packages/Python/lldbsuite/test/functionalities/asan/TestReportData.py79
-rw-r--r--packages/Python/lldbsuite/test/functionalities/asan/main.c34
-rw-r--r--packages/Python/lldbsuite/test/functionalities/attach_resume/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/attach_resume/TestAttachResume.py73
-rw-r--r--packages/Python/lldbsuite/test/functionalities/attach_resume/main.cpp50
-rw-r--r--packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py78
-rw-r--r--packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/main.c28
-rw-r--r--packages/Python/lldbsuite/test/functionalities/backticks/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/backticks/TestBackticksWithoutATarget.py21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py91
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/main.c8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py206
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py95
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py51
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/a.c9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/b.c9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/bktptcmd.py6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/main.c13
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py181
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/main.c54
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py51
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/main.cpp65
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py136
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/main.c54
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py85
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/a.c5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/b.cpp5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/main.cpp11
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py88
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/main.c43
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py93
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/foo.cpp12
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/main.cpp8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/TestCompDirSymLink.py63
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/main.cpp13
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/TestConsecutiveBreakpoints.py59
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoins/main.cpp19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py62
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/main.cpp77
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py48
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/main.cpp13
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py67
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/main.c11
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py57
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/basic_type.cpp178
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/int.cpp9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/objc/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py94
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/objc/main.m98
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_history/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_history/TestCommandHistory.py68
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_regex/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_regex/TestCommandRegex.py56
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/TestCommandScript.py142
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/bug11569.py7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/TestImport.py73
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/bar/bar.py12
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/bar/barutil.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/dummymodule.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/foo/bar/foobar.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/foo/foo2.py9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/main.c15
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/Makefile3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/TestRdar12586188.py31
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/fail12586188.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/rdar-12586188/fail212586188.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/TPunitA.py6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/TPunitB.py6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/import/thepackage/__init__.py6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/main.cpp70
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/mysto.py23
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/py_import12
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_script/welcome.py46
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_source/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_source/.lldb1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_source/TestCommandSource.py36
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_source/my.py6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/completion/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/completion/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py324
-rw-r--r--packages/Python/lldbsuite/test/functionalities/completion/main.cpp14
-rw-r--r--packages/Python/lldbsuite/test/functionalities/conditional_break/.lldb3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/conditional_break/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/conditional_break/TestConditionalBreak.py133
-rw-r--r--packages/Python/lldbsuite/test/functionalities/conditional_break/conditional_break.py30
-rw-r--r--packages/Python/lldbsuite/test/functionalities/conditional_break/main.c54
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py72
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/main.mm29
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/TestCompactVectors.py58
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/compactvectors/main.cpp26
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py285
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/main.cpp174
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py329
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-categories/main.cpp46
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py265
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/main.cpp121
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py80
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-disabling/main.cpp18
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py65
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-enum-format/main.cpp13
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py67
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/main.cpp27
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py122
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-named-summaries/main.cpp59
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py464
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/main.m694
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/TestDataFormatterNSString.py107
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsstring/main.m99
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/TestFormattersOneIsSingular.py90
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-proper-plurals/main.m42
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py57
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-ptr-to-array/main.cpp17
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py252
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/fooSynthProvider.py23
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/ftsp.py32
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-python-synth/main.cpp66
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py170
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-script/main.cpp53
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/Makefile19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py175
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/main.cpp57
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py348
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-smart-array/main.cpp65
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py40
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/main.cpp21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py66
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/main.cpp42
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py186
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py54
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/main.cpp30
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/main.cpp43
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py298
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/main.cpp77
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py298
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/main.cpp77
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py69
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/main.cpp57
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py69
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/main.cpp57
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py86
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/main.cpp15
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py75
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/main.cpp84
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py58
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/main.cpp69
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py180
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/main.cpp35
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile15
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py62
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/main.cpp38
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile15
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py188
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/main.cpp34
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/Makefile14
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py322
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/main.cpp55
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile15
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py66
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/main.cpp12
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py58
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/main.cpp63
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile15
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py207
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/main.cpp31
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/Makefile12
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py205
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/main.cpp86
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py96
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/main.cpp29
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synthval/myIntSynthProvider.py36
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/Makefile12
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/main.cpp35
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py75
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/format-propagation/main.cpp13
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py38
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/frameformat_smallstruct/main.cpp25
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/TestDataFormatterHexCaps.py82
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/hexcaps/main.cpp28
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/TestDataFormatterLanguageCategoryUpdates.py60
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/language_category_updates/main.cpp20
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/TestNSArraySynthetic.py67
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/nsarraysynth/main.m35
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py69
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/nsdictionarysynth/main.m30
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py74
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/nssetsynth/main.m34
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/TestFormattersOsType.py52
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/ostypeformatting/main.mm23
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py57
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/ptr_ref_typedef/main.cpp19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py41
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/refpointer-recursion/main.cpp21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/setvaluefromcstring/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/setvaluefromcstring/TestSetValueFromCString.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/setvaluefromcstring/main.m19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/Makefile12
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/TestStringPrinter.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/main.cpp40
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Makefile12
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Test-rdar-9974002.py133
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/main.cpp30
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/TestSyntheticCapping.py75
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/fooSynthProvider.py21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/synthcapping/main.cpp62
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile12
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/TestSyntheticFilterRecompute.py74
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/main.m25
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/typedef_array/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/typedef_array/TestTypedefArray.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/typedef_array/main.cpp14
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py59
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/main.cpp20
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/Makefile11
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/TestVarInAggregateMisuse.py74
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/main.cpp41
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py56
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/helperfunc.py5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/varscript_formatting/main.cpp8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py73
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/vector-types/main.cpp17
-rw-r--r--packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile18
-rw-r--r--packages/Python/lldbsuite/test/functionalities/dead-strip/TestDeadStrip.py58
-rw-r--r--packages/Python/lldbsuite/test/functionalities/dead-strip/cmds.txt4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/dead-strip/main.c53
-rw-r--r--packages/Python/lldbsuite/test/functionalities/disassembly/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py54
-rw-r--r--packages/Python/lldbsuite/test/functionalities/disassembly/main.cpp28
-rw-r--r--packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py78
-rw-r--r--packages/Python/lldbsuite/test/functionalities/dynamic_value_child_count/pass-to-base.cpp36
-rw-r--r--packages/Python/lldbsuite/test/functionalities/embedded_interpreter/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/embedded_interpreter/TestConvenienceVariables.py78
-rw-r--r--packages/Python/lldbsuite/test/functionalities/embedded_interpreter/main.c6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/exec/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/exec/TestExec.py85
-rw-r--r--packages/Python/lldbsuite/test/functionalities/exec/main.cpp94
-rw-r--r--packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py57
-rw-r--r--packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/locking.c80
-rw-r--r--packages/Python/lldbsuite/test/functionalities/fat_archives/Makefile14
-rw-r--r--packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py58
-rw-r--r--packages/Python/lldbsuite/test/functionalities/fat_archives/a.c4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/fat_archives/a.h1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/fat_archives/main.c6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/format/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/format/TestFormats.py59
-rw-r--r--packages/Python/lldbsuite/test/functionalities/format/main.c15
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-assert/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py253
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-assert/main.c19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-changed/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-changed/TestInferiorChanged.py80
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-changed/main.c16
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-changed/main2.c18
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-crashing/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-crashing/TestInferiorCrashing.py220
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-crashing/main.c18
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py220
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/main.c19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inline-stepping/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inline-stepping/TestInlineStepping.py270
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inline-stepping/calling.cpp136
-rw-r--r--packages/Python/lldbsuite/test/functionalities/jitloader_gdb/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py37
-rw-r--r--packages/Python/lldbsuite/test/functionalities/jitloader_gdb/main.c44
-rw-r--r--packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py97
-rw-r--r--packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file1.txt0
-rw-r--r--packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file2.txt0
-rw-r--r--packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file3.txt0
-rw-r--r--packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file4.txy0
-rw-r--r--packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/file5.tyx0
-rw-r--r--packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/foo bar0
-rw-r--r--packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/main.cpp5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/Makefile24
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py357
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/a.cpp22
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/a.mk23
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/b.cpp21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/b.mk11
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/c.cpp13
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/c.mk11
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/cmds.txt2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/d.cpp21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/d.mk13
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/hidden/Makefile11
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/hidden/d.cpp21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/main.cpp80
-rw-r--r--packages/Python/lldbsuite/test/functionalities/longjmp/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py85
-rw-r--r--packages/Python/lldbsuite/test/functionalities/longjmp/main.c31
-rw-r--r--packages/Python/lldbsuite/test/functionalities/memory/read/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/memory/read/TestMemoryRead.py99
-rw-r--r--packages/Python/lldbsuite/test/functionalities/memory/read/main.cpp19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py43
-rw-r--r--packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp51
-rw-r--r--packages/Python/lldbsuite/test/functionalities/nosucharch/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/nosucharch/TestNoSuchArch.py29
-rw-r--r--packages/Python/lldbsuite/test/functionalities/nosucharch/main.cpp3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/object-file/TestImageListMultiArchitecture.py41
-rw-r--r--packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-clang-3.3bin0 -> 7477 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-freebsd-10.0-x86_64-gcc-4.7.3bin0 -> 7520 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-netbsd-6.1-x86_64-gcc-4.5.3bin0 -> 7352 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-clang-3.5prebin0 -> 8112 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-ubuntu-14.04-x86_64-gcc-4.8.2bin0 -> 8056 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-unknown-kalimba_arch4-kcc-36bin0 -> 17224 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/object-file/bin/hello-unknown-kalimba_arch5-kcc-39bin0 -> 28356 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/object-file/bin/hello.c8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/object-file/bin/hello.cpp8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/paths/TestPaths.py48
-rw-r--r--packages/Python/lldbsuite/test/functionalities/platform/TestPlatformCommand.py65
-rw-r--r--packages/Python/lldbsuite/test/functionalities/plugins/commands/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/plugins/commands/TestPluginCommands.py58
-rw-r--r--packages/Python/lldbsuite/test/functionalities/plugins/commands/plugin.cpp62
-rw-r--r--packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/Makefile3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py150
-rw-r--r--packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/main.c7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/operating_system.py90
-rw-r--r--packages/Python/lldbsuite/test/functionalities/plugins/python_os_plugin/operating_system2.py88
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py128
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump/fizzbuzz.cpp31
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump/fizzbuzz_no_heap.dmpbin0 -> 6297 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump/main.cpp21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_attach/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py58
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/TestAttachDenied.py60
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/main.cpp108
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_attach/main.cpp37
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_group/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py107
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_group/main.c86
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_launch/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_launch/TestProcessLaunch.py207
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_launch/input-file.txt2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_launch/main.cpp17
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_launch/my_working_dir/.keep0
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_launch/print_cwd.cpp21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_launch/print_env.cpp11
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_save_core/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_save_core/TestProcessSaveCore.py58
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_save_core/main.cpp21
-rw-r--r--packages/Python/lldbsuite/test/functionalities/recursion/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/recursion/TestValueObjectRecursion.py59
-rw-r--r--packages/Python/lldbsuite/test/functionalities/recursion/main.cpp41
-rw-r--r--packages/Python/lldbsuite/test/functionalities/register/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/register/TestRegisters.py349
-rw-r--r--packages/Python/lldbsuite/test/functionalities/register/a.cpp44
-rw-r--r--packages/Python/lldbsuite/test/functionalities/register/main.cpp51
-rw-r--r--packages/Python/lldbsuite/test/functionalities/rerun/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/rerun/TestRerun.py76
-rw-r--r--packages/Python/lldbsuite/test/functionalities/rerun/main.cpp5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/return-value/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py214
-rw-r--r--packages/Python/lldbsuite/test/functionalities/return-value/call-func.c407
-rw-r--r--packages/Python/lldbsuite/test/functionalities/set-data/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/set-data/TestSetData.py62
-rw-r--r--packages/Python/lldbsuite/test/functionalities/set-data/main.m19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/signal/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/signal/TestSendSignal.py105
-rw-r--r--packages/Python/lldbsuite/test/functionalities/signal/handle-segv/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py43
-rw-r--r--packages/Python/lldbsuite/test/functionalities/signal/handle-segv/main.c58
-rw-r--r--packages/Python/lldbsuite/test/functionalities/signal/main.c27
-rw-r--r--packages/Python/lldbsuite/test/functionalities/signal/raise/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/signal/raise/TestRaise.py221
-rw-r--r--packages/Python/lldbsuite/test/functionalities/signal/raise/main.c42
-rw-r--r--packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/TestSingleQuoteInFilename.py71
-rw-r--r--packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/main.c7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/single-quote-in-filename-to-lldb/path with '09/.keep0
-rw-r--r--packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py113
-rw-r--r--packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/with-debug.c29
-rw-r--r--packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/without-debug.c17
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stop-hook/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookCmd.py65
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py101
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stop-hook/main.cpp54
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py77
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stop-hook/multiple_threads/main.cpp77
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_command/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py201
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_command/a.c16
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_command/b.c13
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_command/c.c29
-rw-r--r--packages/Python/lldbsuite/test/functionalities/target_command/globals.c25
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/TestNumThreads.py53
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/backtrace_all/Makefile6
-rwxr-xr-xpackages/Python/lldbsuite/test/functionalities/thread/backtrace_all/ParallelTask.cpp151
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/backtrace_all/TestBacktraceAll.py57
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/break_after_join/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py77
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/break_after_join/main.cpp118
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py491
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/main.cpp200
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py53
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/crash_during_step/main.cpp16
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py122
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/main.cpp78
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/create_during_step/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/create_during_step/TestCreateDuringStep.py127
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/create_during_step/main.cpp89
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py81
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/main.cpp130
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/TestExitDuringStep.py144
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/exit_during_step/main.cpp87
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/jump/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/jump/TestThreadJump.py60
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/jump/main.cpp35
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/jump/other.cpp13
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/main.cpp50
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/multi_break/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py77
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/multi_break/main.cpp61
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/state/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py333
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/state/main.cpp45
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/step_out/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py131
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/step_out/main.cpp63
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_exit/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_exit/TestThreadExit.py116
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_exit/main.cpp85
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py63
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/main.cpp20
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break_plus_condition/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py65
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break_plus_condition/main.cpp39
-rw-r--r--packages/Python/lldbsuite/test/functionalities/tty/TestTerminal.py40
-rw-r--r--packages/Python/lldbsuite/test/functionalities/type_completion/Makefile12
-rw-r--r--packages/Python/lldbsuite/test/functionalities/type_completion/TestTypeCompletion.py108
-rw-r--r--packages/Python/lldbsuite/test/functionalities/type_completion/main.cpp81
-rw-r--r--packages/Python/lldbsuite/test/functionalities/type_lookup/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/type_lookup/TestTypeLookup.py43
-rw-r--r--packages/Python/lldbsuite/test/functionalities/type_lookup/main.m16
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/noreturn/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py76
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/noreturn/main.c37
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py81
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/main.c27
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/standard/Makefile3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/standard/TestStandardUnwind.py145
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/standard/hand_written/divmod.cpp15
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/standard/hand_written/fprintf.cpp16
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/standard/hand_written/new_delete.cpp15
-rw-r--r--packages/Python/lldbsuite/test/functionalities/value_md5_crash/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/value_md5_crash/TestValueMD5Crash.py52
-rw-r--r--packages/Python/lldbsuite/test/functionalities/value_md5_crash/main.cpp29
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py98
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/main.cpp106
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py84
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/main.c30
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py137
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/main.cpp83
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py113
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/main.c19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py83
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/variable_out_of_scope/main.c15
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py313
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py139
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py87
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/main.cpp28
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/condition/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py78
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/condition/main.cpp28
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/main.c24
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py89
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/main.c9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py47
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/main.c16
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py89
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py67
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/main.cpp121
-rw-r--r--packages/Python/lldbsuite/test/help/TestHelp.py165
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/README.txt5
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/TestExpectedTimeout.py.park20
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/TestFail.py.park16
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/TestRerunFail.py.park23
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/TestRerunInline.py.park13
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/TestRerunTimeout.py.park22
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/TestSignal.py.park26
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/TestSignalOutsideTestMethod.py.park24
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/TestTimeout.py.park19
-rwxr-xr-xpackages/Python/lldbsuite/test/issue_verification/disable.py20
-rwxr-xr-xpackages/Python/lldbsuite/test/issue_verification/enable.py20
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/inline_rerun_inferior.cpp14
-rw-r--r--packages/Python/lldbsuite/test/issue_verification/rerun_base.py28
-rw-r--r--packages/Python/lldbsuite/test/lang/c/anonymous/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/anonymous/TestAnonymous.py147
-rw-r--r--packages/Python/lldbsuite/test/lang/c/anonymous/main.c82
-rw-r--r--packages/Python/lldbsuite/test/lang/c/array_types/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/array_types/TestArrayTypes.py198
-rw-r--r--packages/Python/lldbsuite/test/lang/c/array_types/cmds.txt3
-rw-r--r--packages/Python/lldbsuite/test/lang/c/array_types/main.c51
-rw-r--r--packages/Python/lldbsuite/test/lang/c/bitfields/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py162
-rw-r--r--packages/Python/lldbsuite/test/lang/c/bitfields/main.c67
-rw-r--r--packages/Python/lldbsuite/test/lang/c/blocks/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py61
-rw-r--r--packages/Python/lldbsuite/test/lang/c/blocks/main.c21
-rw-r--r--packages/Python/lldbsuite/test/lang/c/const_variables/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/c/const_variables/TestConstVariables.py64
-rw-r--r--packages/Python/lldbsuite/test/lang/c/const_variables/functions.c18
-rw-r--r--packages/Python/lldbsuite/test/lang/c/const_variables/main.c23
-rw-r--r--packages/Python/lldbsuite/test/lang/c/enum_types/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py71
-rw-r--r--packages/Python/lldbsuite/test/lang/c/enum_types/main.c29
-rw-r--r--packages/Python/lldbsuite/test/lang/c/forward/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/forward/README.txt5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/forward/TestForwardDeclaration.py47
-rw-r--r--packages/Python/lldbsuite/test/lang/c/forward/foo.c8
-rw-r--r--packages/Python/lldbsuite/test/lang/c/forward/foo.h4
-rw-r--r--packages/Python/lldbsuite/test/lang/c/forward/main.c18
-rw-r--r--packages/Python/lldbsuite/test/lang/c/function_types/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/function_types/TestFunctionTypes.py76
-rw-r--r--packages/Python/lldbsuite/test/lang/c/function_types/main.c22
-rw-r--r--packages/Python/lldbsuite/test/lang/c/global_variables/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py76
-rw-r--r--packages/Python/lldbsuite/test/lang/c/global_variables/a.c15
-rw-r--r--packages/Python/lldbsuite/test/lang/c/global_variables/cmds.txt3
-rw-r--r--packages/Python/lldbsuite/test/lang/c/global_variables/main.c24
-rw-r--r--packages/Python/lldbsuite/test/lang/c/inlines/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/inlines/inlines.c53
-rw-r--r--packages/Python/lldbsuite/test/lang/c/inlines/inlines.h4
-rw-r--r--packages/Python/lldbsuite/test/lang/c/modules/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/modules/TestCModules.py65
-rw-r--r--packages/Python/lldbsuite/test/lang/c/modules/main.c20
-rw-r--r--packages/Python/lldbsuite/test/lang/c/recurse/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/recurse/main.c28
-rw-r--r--packages/Python/lldbsuite/test/lang/c/register_variables/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/c/register_variables/TestRegisterVariables.py70
-rw-r--r--packages/Python/lldbsuite/test/lang/c/register_variables/test.c27
-rw-r--r--packages/Python/lldbsuite/test/lang/c/set_values/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/set_values/TestSetValues.py111
-rw-r--r--packages/Python/lldbsuite/test/lang/c/set_values/main.c116
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib/TestSharedLib.py71
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib/foo.c22
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib/foo.h10
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib/main.c13
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/Makefile10
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py73
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/foo.c22
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/foo.h12
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib_stripped_symbols/main.c13
-rw-r--r--packages/Python/lldbsuite/test/lang/c/stepping/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py242
-rw-r--r--packages/Python/lldbsuite/test/lang/c/stepping/TestThreadStepping.py81
-rw-r--r--packages/Python/lldbsuite/test/lang/c/stepping/main.c69
-rw-r--r--packages/Python/lldbsuite/test/lang/c/strings/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/strings/TestCStrings.py54
-rw-r--r--packages/Python/lldbsuite/test/lang/c/strings/main.c18
-rw-r--r--packages/Python/lldbsuite/test/lang/c/struct_types/Makefile3
-rw-r--r--packages/Python/lldbsuite/test/lang/c/struct_types/TestStructTypes.py4
-rw-r--r--packages/Python/lldbsuite/test/lang/c/struct_types/main.c43
-rw-r--r--packages/Python/lldbsuite/test/lang/c/tls_globals/Makefile11
-rw-r--r--packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py75
-rw-r--r--packages/Python/lldbsuite/test/lang/c/tls_globals/a.c18
-rw-r--r--packages/Python/lldbsuite/test/lang/c/tls_globals/main.c36
-rw-r--r--packages/Python/lldbsuite/test/lang/c/typedef/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/typedef/Testtypedef.py40
-rw-r--r--packages/Python/lldbsuite/test/lang/c/typedef/main.c46
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/auto/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/auto/TestCPPAuto.py25
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/auto/main.cpp16
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/bool/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/bool/TestCPPBool.py26
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/bool/main.cpp17
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py84
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp76
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/call-function/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/call-function/TestCallCPPFunction.py33
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/call-function/main.cpp11
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/chained-calls/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/chained-calls/TestCppChainedCalls.py73
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/chained-calls/main.cpp33
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/char1632_t/.categories1
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py90
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/char1632_t/main.cpp44
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/class_static/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py120
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/class_static/main.cpp53
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/class_types/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py215
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py94
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/class_types/cmds.txt3
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/class_types/main.cpp126
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/diamond/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/diamond/TestDiamond.py41
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/diamond/main.cpp85
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/dynamic-value/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestCppValueCast.py129
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py223
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/dynamic-value/pass-to-base.cpp69
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/dynamic-value/sbvalue-cast.cpp80
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile10
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py110
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/enum_types/main.cpp33
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/exceptions/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py65
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/exceptions/exceptions.cpp42
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/TestFrameVariableAnonymousUnions.py27
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/frame-var-anon-unions/main.cpp23
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/global_operators/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/global_operators/TestCppGlobalOperators.py54
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/global_operators/main.cpp16
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/incomplete-types/Makefile35
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/incomplete-types/TestCppIncompleteTypes.py66
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/incomplete-types/a.cpp10
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/incomplete-types/a.h11
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/incomplete-types/length.cpp8
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/incomplete-types/length.h8
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/incomplete-types/main.cpp18
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py48
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/base.cpp6
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/base.h10
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/derived.cpp6
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/derived.h13
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/main.cpp7
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py125
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py223
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace/cmds.txt3
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace/main.cpp124
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace/ns.cpp32
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace/ns.h36
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace/ns2.cpp65
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/namespace/ns3.cpp27
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/nsimport/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/nsimport/TestCppNsImport.py101
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/nsimport/main.cpp72
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/TestOverloadedFunctions.py36
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp43
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/static-a.cpp9
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/static-b.cpp9
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/rdar12991846/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/rdar12991846/TestRdar12991846.py85
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/rdar12991846/main.cpp21
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/rvalue-references/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/rvalue-references/TestRvalueReferences.py49
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/rvalue-references/main.cpp12
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/scope/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py67
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp25
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/signed_types/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py60
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/signed_types/main.cpp33
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/static_members/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py59
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/static_members/main.cpp36
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/static_methods/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/static_methods/TestCPPStaticMethods.py36
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/static_methods/main.cpp38
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/stl/Makefile15
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py118
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py111
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/stl/cmds.txt3
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/stl/main.cpp30
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/this/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/this/TestCPPThis.py53
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/this/main.cpp53
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/unique-types/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py62
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/unique-types/main.cpp24
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/unsigned_types/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py54
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/unsigned_types/main.cpp22
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/virtual/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/virtual/TestVirtual.py90
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/virtual/main.cpp113
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/wchar_t/.categories1
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py74
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/wchar_t/main.cpp35
-rw-r--r--packages/Python/lldbsuite/test/lang/go/expressions/TestExpressions.py113
-rw-r--r--packages/Python/lldbsuite/test/lang/go/expressions/main.go21
-rw-r--r--packages/Python/lldbsuite/test/lang/go/formatters/TestGoFormatters.py65
-rw-r--r--packages/Python/lldbsuite/test/lang/go/formatters/main.go9
-rw-r--r--packages/Python/lldbsuite/test/lang/go/goroutines/TestGoroutines.py85
-rw-r--r--packages/Python/lldbsuite/test/lang/go/goroutines/main.go89
-rw-r--r--packages/Python/lldbsuite/test/lang/go/runtime/TestGoLanguageRuntime80
-rw-r--r--packages/Python/lldbsuite/test/lang/go/runtime/main.go38
-rw-r--r--packages/Python/lldbsuite/test/lang/go/types/TestGoASTContext.py133
-rw-r--r--packages/Python/lldbsuite/test/lang/go/types/main.go47
-rw-r--r--packages/Python/lldbsuite/test/lang/mixed/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/mixed/TestMixedLanguages.py56
-rw-r--r--packages/Python/lldbsuite/test/lang/mixed/foo.cpp11
-rw-r--r--packages/Python/lldbsuite/test/lang/mixed/main.c15
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/.categories1
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/blocks/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/blocks/TestObjCIvarsInBlocks.py103
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/blocks/ivars-in-blocks.h11
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/blocks/ivars-in-blocks.m57
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/blocks/main.m10
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/forward-decl/Container.h13
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/forward-decl/Container.m27
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/forward-decl/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/forward-decl/TestForwardDecl.py54
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/forward-decl/main.m14
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/TestConstStrings.py53
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py134
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods.py262
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py169
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/TestObjectDescriptionAPI.py71
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/TestRuntimeTypes.py48
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/TestSymbolTable.py68
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/const-strings.m24
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/main.m141
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/my-base.h8
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/foundation/my-base.m10
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/hidden-ivars/InternalDefiner.h11
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/hidden-ivars/InternalDefiner.m31
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/hidden-ivars/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/hidden-ivars/TestHiddenIvars.py174
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/hidden-ivars/main.m54
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/ivar-IMP/Makefile12
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py63
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/ivar-IMP/myclass.h6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/ivar-IMP/myclass.m16
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/ivar-IMP/repro.m7
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-auto-import/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py53
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-auto-import/main.m7
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-incomplete/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py61
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-incomplete/main.m11
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-incomplete/module.map4
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-incomplete/myModule.h8
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-incomplete/myModule.m14
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py55
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/main.m9
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/module.map4
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/myModule.c7
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/myModule.h7
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules/TestObjCModules.py71
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules/main.m12
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc++/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc++/TestObjCXX.py33
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc++/main.mm19
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py58
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-baseclass-sbtype/main.m22
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py55
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-builtin-types/main.cpp9
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-checker/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-checker/TestObjCCheckers.py75
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-checker/main.m32
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-class-method/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-class-method/TestObjCClassMethod.py56
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-class-method/class.m24
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/.categories1
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py62
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-dyn-sbtype/main.m53
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py177
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-dynamic-value/dynamic-value.m147
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py74
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/main.m15
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/objc-ivar-offsets.h27
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/objc-ivar-offsets.m19
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-ivar-protocols/TestIvarProtocols.py4
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-ivar-protocols/main.m33
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile15
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py59
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/main.m33
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py103
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/main.m21
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-optimized/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-optimized/TestObjcOptimized.py63
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-optimized/main.m44
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-property/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-property/TestObjCProperty.py114
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-property/main.m100
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-runtime-ivars/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py4
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-runtime-ivars/main.m10
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile15
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py65
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/static.m29
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-static-method/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-static-method/TestObjCStaticMethod.py61
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-static-method/static.m29
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-stepping/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-stepping/TestObjCStepping.py172
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-stepping/stepping-tests.m138
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py57
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/test.m34
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-struct-return/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-struct-return/TestObjCStructReturn.py53
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-struct-return/test.m23
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-super/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-super/TestObjCSuper.py59
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-super/class.m39
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/print-obj/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/print-obj/TestPrintObj.py87
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/print-obj/blocked.m73
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/radar-9691614/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py45
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/radar-9691614/main.m67
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/rdar-10967107/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/rdar-10967107/TestRdar10967107.py44
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/rdar-10967107/main.m13
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/rdar-11355592/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/rdar-11355592/TestRdar11355592.py65
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/rdar-11355592/main.m37
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/rdar-12408181/Makefile11
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/rdar-12408181/TestRdar12408181.py48
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/rdar-12408181/main.m24
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/real-definition/Bar.h12
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/real-definition/Bar.m43
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/real-definition/Foo.h11
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/real-definition/Foo.m25
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/real-definition/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/real-definition/TestRealDefinition.py86
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/real-definition/main.m13
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/sample/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/sample/main.m70
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/self/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/self/TestObjCSelf.py36
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/self/main.m54
-rw-r--r--packages/Python/lldbsuite/test/lang/objcxx/objcxx-ivar-vector/TestIvarVector.py4
-rw-r--r--packages/Python/lldbsuite/test/lang/objcxx/objcxx-ivar-vector/main.mm33
-rw-r--r--packages/Python/lldbsuite/test/lang/objcxx/sample/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/lang/objcxx/sample/main.mm71
-rw-r--r--packages/Python/lldbsuite/test/linux/builtin_trap/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/linux/builtin_trap/TestBuiltinTrap.py51
-rw-r--r--packages/Python/lldbsuite/test/linux/builtin_trap/main.cpp17
-rw-r--r--packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py66
-rw-r--r--packages/Python/lldbsuite/test/linux/thread/create_during_instruction_step/main.cpp55
-rw-r--r--packages/Python/lldbsuite/test/lldb_pylint_helper.py181
-rw-r--r--packages/Python/lldbsuite/test/lldbbench.py118
-rw-r--r--packages/Python/lldbsuite/test/lldbcurses.py1143
-rw-r--r--packages/Python/lldbsuite/test/lldbinline.py210
-rw-r--r--packages/Python/lldbsuite/test/lldbpexpect.py63
-rw-r--r--packages/Python/lldbsuite/test/lldbplatformutil.py27
-rw-r--r--packages/Python/lldbsuite/test/lldbtest.py2775
-rw-r--r--packages/Python/lldbsuite/test/lldbtest_config.py21
-rw-r--r--packages/Python/lldbsuite/test/lldbutil.py1016
-rw-r--r--packages/Python/lldbsuite/test/lock.py27
-rw-r--r--packages/Python/lldbsuite/test/logging/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/logging/TestLogging.py107
-rw-r--r--packages/Python/lldbsuite/test/logging/main.cpp62
-rw-r--r--packages/Python/lldbsuite/test/macosx/add-dsym/Makefile11
-rw-r--r--packages/Python/lldbsuite/test/macosx/add-dsym/TestAddDsymMidExecutionCommand.py45
-rw-r--r--packages/Python/lldbsuite/test/macosx/add-dsym/main.c7
-rw-r--r--packages/Python/lldbsuite/test/macosx/debug-info/apple_types/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/macosx/debug-info/apple_types/TestAppleTypesIsProduced.py67
-rw-r--r--packages/Python/lldbsuite/test/macosx/debug-info/apple_types/main.c27
-rw-r--r--packages/Python/lldbsuite/test/macosx/indirect_symbol/Makefile48
-rw-r--r--packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py88
-rw-r--r--packages/Python/lldbsuite/test/macosx/indirect_symbol/alias.list1
-rw-r--r--packages/Python/lldbsuite/test/macosx/indirect_symbol/indirect.c14
-rw-r--r--packages/Python/lldbsuite/test/macosx/indirect_symbol/main.c14
-rw-r--r--packages/Python/lldbsuite/test/macosx/indirect_symbol/reexport.c7
-rw-r--r--packages/Python/lldbsuite/test/macosx/order/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/macosx/order/TestOrderFile.py36
-rw-r--r--packages/Python/lldbsuite/test/macosx/order/cmds.txt3
-rw-r--r--packages/Python/lldbsuite/test/macosx/order/main.c54
-rw-r--r--packages/Python/lldbsuite/test/macosx/order/order-file4
-rw-r--r--packages/Python/lldbsuite/test/macosx/queues/Makefile28
-rw-r--r--packages/Python/lldbsuite/test/macosx/queues/TestQueues.py243
-rw-r--r--packages/Python/lldbsuite/test/macosx/queues/main.c133
-rw-r--r--packages/Python/lldbsuite/test/macosx/safe-to-func-call/Makefile28
-rw-r--r--packages/Python/lldbsuite/test/macosx/safe-to-func-call/TestSafeFuncCalls.py63
-rw-r--r--packages/Python/lldbsuite/test/macosx/safe-to-func-call/main.c30
-rw-r--r--packages/Python/lldbsuite/test/macosx/universal/Makefile19
-rw-r--r--packages/Python/lldbsuite/test/macosx/universal/TestUniversal.py107
-rw-r--r--packages/Python/lldbsuite/test/macosx/universal/main.c7
-rw-r--r--packages/Python/lldbsuite/test/make/Makefile.rules600
-rw-r--r--packages/Python/lldbsuite/test/make/test_common.h19
-rw-r--r--packages/Python/lldbsuite/test/plugins/builder_base.py137
-rw-r--r--packages/Python/lldbsuite/test/plugins/builder_darwin.py21
-rw-r--r--packages/Python/lldbsuite/test/plugins/builder_freebsd.py4
-rw-r--r--packages/Python/lldbsuite/test/plugins/builder_linux2.py4
-rw-r--r--packages/Python/lldbsuite/test/plugins/builder_netbsd.py4
-rw-r--r--packages/Python/lldbsuite/test/plugins/builder_win32.py4
-rw-r--r--packages/Python/lldbsuite/test/python_api/.categories1
-rw-r--r--packages/Python/lldbsuite/test/python_api/breakpoint/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py45
-rw-r--r--packages/Python/lldbsuite/test/python_api/breakpoint/main.c14
-rw-r--r--packages/Python/lldbsuite/test/python_api/class_members/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/class_members/TestSBTypeClassMembers.py77
-rw-r--r--packages/Python/lldbsuite/test/python_api/class_members/main.mm47
-rw-r--r--packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py40
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py395
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_address.py22
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_block.py17
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpoint.py36
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointlocation.py28
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_broadcaster.py20
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_communication.py28
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_compileunit.py15
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_debugger.py56
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_error.py25
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_event.py17
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_filespec.py14
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_frame.py37
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_function.py19
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_instruction.py16
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_instructionlist.py17
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_lineentry.py14
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_listener.py23
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_module.py29
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_process.py49
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_section.py22
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_stringlist.py17
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbol.py16
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbolcontext.py15
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_target.py65
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_thread.py37
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_type.py22
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_value.py67
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_valuelist.py14
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_watchpoint.py21
-rw-r--r--packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassembleRawData.py39
-rw-r--r--packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py58
-rw-r--r--packages/Python/lldbsuite/test/python_api/event/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/event/TestEvents.py288
-rw-r--r--packages/Python/lldbsuite/test/python_api/event/main.c49
-rw-r--r--packages/Python/lldbsuite/test/python_api/exprpath_synthetic/TestExprPathSynthetic.py4
-rw-r--r--packages/Python/lldbsuite/test/python_api/exprpath_synthetic/main.mm20
-rw-r--r--packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py50
-rw-r--r--packages/Python/lldbsuite/test/python_api/findvalue_duplist/main.cpp7
-rw-r--r--packages/Python/lldbsuite/test/python_api/formatters/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py346
-rw-r--r--packages/Python/lldbsuite/test/python_api/formatters/main.cpp59
-rw-r--r--packages/Python/lldbsuite/test/python_api/formatters/synth.py105
-rw-r--r--packages/Python/lldbsuite/test/python_api/frame/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/frame/TestFrames.py207
-rw-r--r--packages/Python/lldbsuite/test/python_api/frame/inlines/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py79
-rw-r--r--packages/Python/lldbsuite/test/python_api/frame/inlines/inlines.c53
-rw-r--r--packages/Python/lldbsuite/test/python_api/frame/inlines/inlines.h4
-rw-r--r--packages/Python/lldbsuite/test/python_api/frame/main.c58
-rw-r--r--packages/Python/lldbsuite/test/python_api/function_symbol/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py111
-rw-r--r--packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py81
-rw-r--r--packages/Python/lldbsuite/test/python_api/function_symbol/main.c60
-rw-r--r--packages/Python/lldbsuite/test/python_api/hello_world/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py147
-rw-r--r--packages/Python/lldbsuite/test/python_api/hello_world/main.c35
-rw-r--r--packages/Python/lldbsuite/test/python_api/interpreter/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py73
-rw-r--r--packages/Python/lldbsuite/test/python_api/interpreter/main.c6
-rw-r--r--packages/Python/lldbsuite/test/python_api/lldbutil/frame/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py59
-rw-r--r--packages/Python/lldbsuite/test/python_api/lldbutil/frame/main.c47
-rw-r--r--packages/Python/lldbsuite/test/python_api/lldbutil/iter/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py122
-rw-r--r--packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py94
-rw-r--r--packages/Python/lldbsuite/test/python_api/lldbutil/iter/main.cpp134
-rw-r--r--packages/Python/lldbsuite/test/python_api/lldbutil/process/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py52
-rw-r--r--packages/Python/lldbsuite/test/python_api/lldbutil/process/main.cpp136
-rw-r--r--packages/Python/lldbsuite/test/python_api/module_section/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py127
-rw-r--r--packages/Python/lldbsuite/test/python_api/module_section/b.cpp3
-rw-r--r--packages/Python/lldbsuite/test/python_api/module_section/c.cpp3
-rw-r--r--packages/Python/lldbsuite/test/python_api/module_section/main.cpp136
-rw-r--r--packages/Python/lldbsuite/test/python_api/objc_type/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py64
-rw-r--r--packages/Python/lldbsuite/test/python_api/objc_type/main.m52
-rw-r--r--packages/Python/lldbsuite/test/python_api/process/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py289
-rw-r--r--packages/Python/lldbsuite/test/python_api/process/io/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py206
-rw-r--r--packages/Python/lldbsuite/test/python_api/process/io/main.c19
-rw-r--r--packages/Python/lldbsuite/test/python_api/process/main.cpp31
-rw-r--r--packages/Python/lldbsuite/test/python_api/rdar-12481949/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py54
-rw-r--r--packages/Python/lldbsuite/test/python_api/rdar-12481949/main.cpp17
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbdata/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py348
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbdata/main.cpp43
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbtype_typeclass/TestSBTypeTypeClass.py4
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbtype_typeclass/main.m34
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/Makefile4
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/TestSBValueConstAddrOf.py3
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/main.cpp40
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile15
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py74
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbvalue_persist/main.cpp14
-rw-r--r--packages/Python/lldbsuite/test/python_api/section/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py41
-rw-r--r--packages/Python/lldbsuite/test/python_api/section/main.c28
-rw-r--r--packages/Python/lldbsuite/test/python_api/signals/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py47
-rw-r--r--packages/Python/lldbsuite/test/python_api/signals/main.cpp28
-rw-r--r--packages/Python/lldbsuite/test/python_api/symbol-context/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py89
-rw-r--r--packages/Python/lldbsuite/test/python_api/symbol-context/main.c51
-rw-r--r--packages/Python/lldbsuite/test/python_api/target/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py372
-rw-r--r--packages/Python/lldbsuite/test/python_api/target/main.c60
-rw-r--r--packages/Python/lldbsuite/test/python_api/thread/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py245
-rw-r--r--packages/Python/lldbsuite/test/python_api/thread/main.cpp26
-rw-r--r--packages/Python/lldbsuite/test/python_api/thread/main2.cpp54
-rw-r--r--packages/Python/lldbsuite/test/python_api/type/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/type/TestTypeList.py116
-rw-r--r--packages/Python/lldbsuite/test/python_api/type/main.cpp60
-rw-r--r--packages/Python/lldbsuite/test/python_api/value/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py135
-rw-r--r--packages/Python/lldbsuite/test/python_api/value/change_values/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py148
-rw-r--r--packages/Python/lldbsuite/test/python_api/value/change_values/main.c29
-rw-r--r--packages/Python/lldbsuite/test/python_api/value/linked_list/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py133
-rw-r--r--packages/Python/lldbsuite/test/python_api/value/linked_list/main.cpp56
-rw-r--r--packages/Python/lldbsuite/test/python_api/value/main.c52
-rw-r--r--packages/Python/lldbsuite/test/python_api/value_var_update/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py59
-rw-r--r--packages/Python/lldbsuite/test/python_api/value_var_update/main.c15
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py93
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py89
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py115
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/condition/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py89
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/condition/main.cpp28
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/main.c24
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py90
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py130
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/main.cpp104
-rw-r--r--packages/Python/lldbsuite/test/redo.py195
-rw-r--r--packages/Python/lldbsuite/test/result_formatter.py1304
-rw-r--r--packages/Python/lldbsuite/test/settings/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/settings/TestSettings.py495
-rw-r--r--packages/Python/lldbsuite/test/settings/main.cpp75
-rw-r--r--packages/Python/lldbsuite/test/settings/quoting/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py92
-rw-r--r--packages/Python/lldbsuite/test/settings/quoting/main.c13
-rw-r--r--packages/Python/lldbsuite/test/source-manager/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/source-manager/TestSourceManager.py172
-rw-r--r--packages/Python/lldbsuite/test/source-manager/hidden/.keep0
-rw-r--r--packages/Python/lldbsuite/test/source-manager/main.c6
-rw-r--r--packages/Python/lldbsuite/test/terminal/TestSTTYBeforeAndAfter.py121
-rw-r--r--packages/Python/lldbsuite/test/test_categories.py70
-rw-r--r--packages/Python/lldbsuite/test/test_result.py224
-rw-r--r--packages/Python/lldbsuite/test/test_runner/README.txt5
-rw-r--r--packages/Python/lldbsuite/test/test_runner/lib/lldb_utils.py66
-rw-r--r--packages/Python/lldbsuite/test/test_runner/lib/process_control.py705
-rwxr-xr-xpackages/Python/lldbsuite/test/test_runner/test/inferior.py146
-rwxr-xr-xpackages/Python/lldbsuite/test/test_runner/test/process_control_tests.py235
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/TestMiExit.py84
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/TestMiFile.py77
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/TestMiGdbSetShow.py190
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/TestMiLibraryLoaded.py33
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/TestMiPrompt.py54
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/TestMiBreak.py246
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/breakpoint/main.cpp27
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/control/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py457
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/control/main.cpp33
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/data/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/data/TestMiData.py337
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/data/main.cpp59
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/TestMiCliSupport.py206
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/TestMiInterpreterExec.py229
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/interpreter/main.cpp19
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/lldbmi_testcase.py54
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/main.cpp19
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/signal/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/signal/TestMiSignal.py197
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/signal/main.cpp33
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/stack/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/stack/TestMiStack.py479
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/stack/main.cpp127
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py290
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/main.cpp15
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/start_script5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/start_script_error2
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/start_script_exit7
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/symbol/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/symbol/TestMiSymbol.py81
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/symbol/main.cpp18
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.cpp39
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.h24
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test2.cpp38
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/syntax/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/syntax/TestMiSyntax.py80
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/syntax/main.cpp17
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/target/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/target/TestMiTarget.py125
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/target/test_attach.cpp21
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/variable/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/variable/TestMiGdbSetShowPrint.py227
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/variable/TestMiVar.py396
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/variable/main.cpp152
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGDBRemoteMemoryRead.py41
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAttach.py60
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAuxvSupport.py201
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py144
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteKill.py53
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py179
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py126
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteSingleStep.py25
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py164
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py150
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_vCont.py116
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py1473
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubReverseConnect.py87
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubSetSID.py82
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py1299
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py42
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py40
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/main.cpp39
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py843
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/main.cpp404
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py56
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/main.cpp7
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py187
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/test/test_lldbgdbserverutils.py49
-rw-r--r--packages/Python/lldbsuite/test/types/AbstractBase.py259
-rw-r--r--packages/Python/lldbsuite/test/types/HideTestFailures.py78
-rw-r--r--packages/Python/lldbsuite/test/types/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/types/TestFloatTypes.py41
-rw-r--r--packages/Python/lldbsuite/test/types/TestFloatTypesExpr.py44
-rw-r--r--packages/Python/lldbsuite/test/types/TestIntegerTypes.py113
-rw-r--r--packages/Python/lldbsuite/test/types/TestIntegerTypesExpr.py113
-rw-r--r--packages/Python/lldbsuite/test/types/TestRecursiveTypes.py51
-rw-r--r--packages/Python/lldbsuite/test/types/basic_type.cpp211
-rw-r--r--packages/Python/lldbsuite/test/types/char.cpp9
-rw-r--r--packages/Python/lldbsuite/test/types/double.cpp9
-rw-r--r--packages/Python/lldbsuite/test/types/float.cpp9
-rw-r--r--packages/Python/lldbsuite/test/types/int.cpp9
-rw-r--r--packages/Python/lldbsuite/test/types/long.cpp18
-rw-r--r--packages/Python/lldbsuite/test/types/long_long.cpp18
-rw-r--r--packages/Python/lldbsuite/test/types/recursive_type_1.cpp12
-rw-r--r--packages/Python/lldbsuite/test/types/recursive_type_2.cpp10
-rw-r--r--packages/Python/lldbsuite/test/types/recursive_type_main.cpp8
-rw-r--r--packages/Python/lldbsuite/test/types/short.cpp9
-rw-r--r--packages/Python/lldbsuite/test/types/unsigned_char.cpp9
-rw-r--r--packages/Python/lldbsuite/test/types/unsigned_int.cpp9
-rw-r--r--packages/Python/lldbsuite/test/types/unsigned_long.cpp18
-rw-r--r--packages/Python/lldbsuite/test/types/unsigned_long_long.cpp18
-rw-r--r--packages/Python/lldbsuite/test/types/unsigned_short.cpp9
-rw-r--r--packages/Python/lldbsuite/test/warnings/uuid/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.py107
-rw-r--r--packages/Python/lldbsuite/test/warnings/uuid/main.cpp.template19
-rw-r--r--packages/Python/lldbsuite/test/xunit_formatter.py565
1563 files changed, 103123 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/__init__.py b/packages/Python/lldbsuite/__init__.py
new file mode 100644
index 000000000000..aa6874e78bc2
--- /dev/null
+++ b/packages/Python/lldbsuite/__init__.py
@@ -0,0 +1,28 @@
+# Module level initialization for the `lldbsuite` module.
+
+import inspect
+import os
+import sys
+
+def find_lldb_root():
+ lldb_root = os.path.dirname(inspect.getfile(inspect.currentframe()))
+ while True:
+ lldb_root = os.path.dirname(lldb_root)
+ if lldb_root is None:
+ return None
+
+ test_path = os.path.join(lldb_root, "use_lldb_suite_root.py")
+ if os.path.isfile(test_path):
+ return lldb_root
+ return None
+
+# lldbsuite.lldb_root refers to the root of the git/svn source checkout
+lldb_root = find_lldb_root()
+
+# lldbsuite.lldb_test_root refers to the root of the python test tree
+lldb_test_root = os.path.join(
+ lldb_root,
+ "packages",
+ "Python",
+ "lldbsuite",
+ "test")
diff --git a/packages/Python/lldbsuite/support/__init__.py b/packages/Python/lldbsuite/support/__init__.py
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/packages/Python/lldbsuite/support/__init__.py
diff --git a/packages/Python/lldbsuite/support/fs.py b/packages/Python/lldbsuite/support/fs.py
new file mode 100644
index 000000000000..9a56808369de
--- /dev/null
+++ b/packages/Python/lldbsuite/support/fs.py
@@ -0,0 +1,64 @@
+"""
+ The LLVM Compiler Infrastructure
+
+This file is distributed under the University of Illinois Open Source
+License. See LICENSE.TXT for details.
+
+Prepares language bindings for LLDB build process. Run with --help
+to see a description of the supported command line arguments.
+"""
+
+# Python modules:
+import os
+import platform
+import sys
+
+
+def _find_file_in_paths(paths, exe_basename):
+ """Returns the full exe path for the first path match.
+
+ @params paths the list of directories to search for the exe_basename
+ executable
+ @params exe_basename the name of the file for which to search.
+ e.g. "swig" or "swig.exe".
+
+ @return the full path to the executable if found in one of the
+ given paths; otherwise, returns None.
+ """
+ for path in paths:
+ trial_exe_path = os.path.join(path, exe_basename)
+ if os.path.exists(trial_exe_path):
+ return os.path.normcase(trial_exe_path)
+ return None
+
+def find_executable(executable):
+ """Finds the specified executable in the PATH or known good locations."""
+
+ # Figure out what we're looking for.
+ if platform.system() == "Windows":
+ executable = executable + ".exe"
+ extra_dirs = []
+ else:
+ extra_dirs = ["/usr/local/bin"]
+
+ # Figure out what paths to check.
+ path_env = os.environ.get("PATH", None)
+ if path_env is not None:
+ paths_to_check = path_env.split(os.path.pathsep)
+ else:
+ paths_to_check = []
+
+ # Add in the extra dirs
+ paths_to_check.extend(extra_dirs)
+ if len(paths_to_check) < 1:
+ raise os.OSError(
+ "executable was not specified, PATH has no "
+ "contents, and there are no extra directories to search")
+
+ result = _find_file_in_paths(paths_to_check, executable)
+
+ if not result or len(result) < 1:
+ raise os.OSError(
+ "failed to find exe='%s' in paths='%s'" % (executable, paths_to_check))
+ return result
+
diff --git a/packages/Python/lldbsuite/support/seven.py b/packages/Python/lldbsuite/support/seven.py
new file mode 100644
index 000000000000..56ddd8db3f66
--- /dev/null
+++ b/packages/Python/lldbsuite/support/seven.py
@@ -0,0 +1,20 @@
+import six
+
+if six.PY2:
+ import commands
+ get_command_output = commands.getoutput
+ get_command_status_output = commands.getstatusoutput
+
+ cmp_ = cmp
+else:
+ def get_command_status_output(command):
+ try:
+ import subprocess
+ return (0, subprocess.check_output(command, shell=True, universal_newlines=True))
+ except subprocess.CalledProcessError as e:
+ return (e.returncode, e.output)
+
+ def get_command_output(command):
+ return get_command_status_output(command)[1]
+
+ cmp_ = lambda x, y: (x > y) - (x < y) \ No newline at end of file
diff --git a/packages/Python/lldbsuite/support/sockutil.py b/packages/Python/lldbsuite/support/sockutil.py
new file mode 100644
index 000000000000..b3d81d14884a
--- /dev/null
+++ b/packages/Python/lldbsuite/support/sockutil.py
@@ -0,0 +1,23 @@
+"""
+ The LLVM Compiler Infrastructure
+
+This file is distributed under the University of Illinois Open Source
+License. See LICENSE.TXT for details.
+
+Helper functions for working with sockets.
+"""
+
+# Python modules:
+import io
+import socket
+
+# LLDB modules
+import use_lldb_suite
+
+def recvall(sock, size):
+ bytes = io.BytesIO()
+ while size > 0:
+ this_result = sock.recv(size)
+ bytes.write(this_result)
+ size -= len(this_result)
+ return bytes.getvalue()
diff --git a/packages/Python/lldbsuite/test/.categories b/packages/Python/lldbsuite/test/.categories
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/packages/Python/lldbsuite/test/.categories
diff --git a/packages/Python/lldbsuite/test/Makefile b/packages/Python/lldbsuite/test/Makefile
new file mode 100644
index 000000000000..4d08ef39d4db
--- /dev/null
+++ b/packages/Python/lldbsuite/test/Makefile
@@ -0,0 +1,33 @@
+LLDB_LEVEL := ..
+include $(LLDB_LEVEL)/Makefile
+
+.PHONY: programs
+
+all:: check-local
+
+#----------------------------------------------------------------------
+# Make all of the test programs
+#----------------------------------------------------------------------
+programs:
+ find . -type d -depth 1 | xargs -J % find % \
+ -name Makefile \
+ -exec echo \; \
+ -exec echo make -f '{}' \; \
+ -execdir make \;
+
+#----------------------------------------------------------------------
+# Clean all of the test programs
+#----------------------------------------------------------------------
+clean::
+ find . -type d -depth 1 | xargs -J % find % \
+ -name Makefile \
+ -exec echo \; \
+ -exec echo make -f '{}' clean \; \
+ -execdir make clean \;
+
+#----------------------------------------------------------------------
+# Run the tests
+#----------------------------------------------------------------------
+check-local::
+ rm -rf lldb-test-traces
+ python $(PROJ_SRC_DIR)/dotest.py --executable $(ToolDir)/lldb -q -s lldb-test-traces -u CXXFLAGS -u CFLAGS -C $(subst ccache,,$(CC))
diff --git a/packages/Python/lldbsuite/test/README-TestSuite b/packages/Python/lldbsuite/test/README-TestSuite
new file mode 100644
index 000000000000..6df4d7bd7be7
--- /dev/null
+++ b/packages/Python/lldbsuite/test/README-TestSuite
@@ -0,0 +1,159 @@
+This README file describes the files and directories related to the Python test
+suite under the current 'test' directory.
+
+o dotest.py
+
+ Provides the test driver for the test suite. To invoke it, cd to the 'test'
+ directory and issue the './dotest.py' command or './dotest.py -v' for more
+ verbose output. '.dotest.py -h' prints out the help messge.
+
+ A specific naming pattern is followed by the .py script under the 'test'
+ directory in order to be recognized by 'dotest.py' test driver as a module
+ which implements a test case, namely, Test*.py.
+
+ Some example usages:
+
+ 1. ./dotest.py -v . 2> ~/Developer/Log/lldbtest.log0
+ This runs the test suite and directs the run log to a file.
+
+ 2. LLDB_LOG=/tmp/lldb.log GDB_REMOTE_LOG=/tmp/gdb-remote.log ./dotest.py -v . 2> ~/Developer/Log/lldbtest.log
+ This runs the test suite, with logging turned on for the lldb as well as
+ the process.gdb-remote channels and directs the run log to a file.
+
+o lldbtest.py
+
+ Provides an abstract base class of lldb test case named 'TestBase', which in
+ turn inherits from Python's unittest.TestCase. The concrete subclass can
+ override lldbtest.TestBase in order to inherit the common behavior for
+ unittest.TestCase.setUp/tearDown implemented in this file.
+
+ To provide a test case, the concrete subclass provides methods whose names
+ start with the letters test. For more details about the Python's unittest
+ framework, go to http://docs.python.org/library/unittest.html.
+
+ ./command_source/TestCommandSource.py provides a simple example of test case
+ which overrides lldbtest.TestBase to exercise the lldb's 'command source'
+ command. The subclass should override the attribute 'mydir' in order for the
+ runtime to locate the individual test cases when running as part of a large
+ test suite or when running each test case as a separate Python invocation.
+
+ The doc string provides more details about the setup required for running a
+ test case on its own. To run the whole test suite, 'dotest.py' is all you
+ need to do.
+
+o subdirectories of 'test'
+
+ Most of them predate the introduction of the python test suite and contain
+ example C/C++/ObjC source files which get compiled into executables which are
+ to be exercised by the debugger.
+
+ For such subdirectory which has an associated Test*.py file, it was added as
+ part of the Python-based test suite to test lldb functionality.
+
+ Some of the subdirectories, for example, the 'help' subdirectory, do not have
+ C/C++/ObjC source files; they were created to house the Python test case which
+ does not involve lldb reading in an executable file at all.
+
+o make directory
+
+ Contains Makefile.rules, which can be utilized by test cases to write Makefile
+ based rules to build binaries for the inferiors.
+
+ By default, the built executable name is a.out, which can be overwritten by
+ specifying your EXE make variable, via the Makefile under the specific test
+ directory or via supplying a Python dictionary to the build method in your
+ Python test script. An example of the latter can be found in
+ test/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py, where:
+
+ def test_method_ret_BOOL_with_dsym(self):
+ """Test that objective-c method returning BOOL works correctly."""
+ d = {'EXE': self.exe_name}
+ self.buildDsym(dictionary=d)
+ self.setTearDownCleanup(dictionary=d)
+ self.objc_method_ret_BOOL(self.exe_name)
+
+ def test_method_ret_BOOL_with_dwarf(self):
+ """Test that objective-c method returning BOOL works correctly."""
+ d = {'EXE': self.exe_name}
+ self.buildDwarf(dictionary=d)
+ self.setTearDownCleanup(dictionary=d)
+ self.objc_method_ret_BOOL(self.exe_name)
+
+ def setUp(self):
+ # Call super's setUp().
+ TestBase.setUp(self)
+ # We'll use the test method name as the exe_name.
+ self.exe_name = self.testMethodName
+ # Find the line number to break inside main().
+ self.main_source = "main.m"
+ self.line = line_number(self.main_source, '// Set breakpoint here.')
+
+ The exe names for the two test methods are equal to the test method names and
+ are therefore guaranteed different.
+
+o plugins directory
+
+ Contains platform specific plugin to build binaries with dsym/dwarf debugging
+ info. Other platform specific functionalities may be added in the future.
+
+o unittest2 directory
+
+ Many new features were added to unittest in Python 2.7, including test
+ discovery. unittest2 allows you to use these features with earlier versions of
+ Python.
+
+ It currently has unittest2 0.5.1 from http://pypi.python.org/pypi/unittest2.
+ Version 0.5.1 of unittest2 has feature parity with unittest in Python 2.7
+ final. If you want to ensure that your tests run identically under unittest2
+ and unittest in Python 2.7 you should use unittest2 0.5.1.
+
+ Later versions of unittest2 include changes in unittest made in Python 3.2 and
+ onwards after the release of Python 2.7.
+
+o dotest.pl
+
+ In case you wonder, there is also a 'dotest.pl' perl script file. It was
+ created to visit each Python test case under the specified directory and
+ invoke Python's builtin unittest.main() on each test case.
+
+ It does not take advantage of the test runner and test suite functionality
+ provided by Python's unitest framework. Its existence is because we want a
+ different way of running the whole test suite. As lldb and the Python test
+ suite become more reliable, we don't expect to be using 'dotest.pl' anymore.
+
+ Note: dotest.pl has been moved to the attic directory.
+
+o Profiling dotest.py runs
+
+ I used the following command line thingy to do the profiling on a SnowLeopard
+ machine:
+
+$ DOTEST_PROFILE=YES DOTEST_SCRIPT_DIR=/Volumes/data/lldb/svn/trunk/test /System/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/cProfile.py -o my.profile ./dotest.py -v -w 2> ~/Developer/Log/lldbtest.log
+
+ After that, I used the pstats.py module to browse the statistics:
+
+$ python /System/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/pstats.py my.profile
+
+o Writing test cases:
+
+ We strongly prefer writing test cases using the SB API's rather than the runCmd & expect.
+ Unless you are actually testing some feature of the command line, please don't write
+ command based tests. For historical reasons there are plenty of examples of tests in the
+ test suite that use runCmd where they shouldn't, but don't copy them, copy the plenty that
+ do use the SB API's instead.
+
+ The reason for this is that our policy is that we will maintain compatibility with the
+ SB API's. But we don't make any similar guarantee about the details of command result format.
+ If your test is using the command line, it is going to have to check against the command result
+ text, and you either end up writing your check pattern by checking as little as possible so
+ you won't be exposed to random changes in the text; in which case you can end up missing some
+ failure, or you test too much and it means irrelevant changes break your tests.
+
+ However, if you use the Python API's it is possible to check all the results you want
+ to check in a very explicit way, which makes the tests much more robust.
+
+ Even if you are testing that a command-line command does some specific thing, it is still
+ better in general to use the SB API's to drive to the point where you want to run the test,
+ then use SBInterpreter::HandleCommand to run the command. You get the full result text
+ from the command in the command return object, and all the part where you are driving the
+ debugger to the point you want to test will be more robust.
diff --git a/packages/Python/lldbsuite/test/__init__.py b/packages/Python/lldbsuite/test/__init__.py
new file mode 100644
index 000000000000..93971c2f2364
--- /dev/null
+++ b/packages/Python/lldbsuite/test/__init__.py
@@ -0,0 +1,7 @@
+# Module level initialization for the `lldbsuite.test` module.
+
+from __future__ import absolute_import
+
+from . import dotest
+
+run_suite = dotest.run_suite
diff --git a/packages/Python/lldbsuite/test/android/platform/Makefile b/packages/Python/lldbsuite/test/android/platform/Makefile
new file mode 100644
index 000000000000..22e42c5a776e
--- /dev/null
+++ b/packages/Python/lldbsuite/test/android/platform/Makefile
@@ -0,0 +1,4 @@
+LEVEL = ../../make
+
+CXX_SOURCES := main.cpp
+include $(LEVEL)/Makefile.rules
diff --git a/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py b/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py
new file mode 100644
index 000000000000..b925afe1b70c
--- /dev/null
+++ b/packages/Python/lldbsuite/test/android/platform/TestDefaultCacheLineSize.py
@@ -0,0 +1,38 @@
+"""
+Verify the default cache line size for android targets
+"""
+
+from __future__ import print_function
+
+
+
+import os
+import lldb
+from lldbsuite.test.lldbtest import *
+import lldbsuite.test.lldbutil as lldbutil
+
+class DefaultCacheLineSizeTestCase(TestBase):
+
+ mydir = TestBase.compute_mydir(__file__)
+
+ @skipUnlessPlatform(['android'])
+ def test_cache_line_size(self):
+ self.build(dictionary=self.getBuildFlags())
+ exe = os.path.join(os.getcwd(), "a.out")
+ target = self.dbg.CreateTarget(exe)
+ self.assertTrue(target and target.IsValid(), "Target is valid")
+
+ breakpoint = target.BreakpointCreateByName("main")
+ self.assertTrue(breakpoint and breakpoint.IsValid(), "Breakpoint is valid")
+
+ # Run the program.
+ process = target.LaunchSimple(None, None, self.get_process_working_directory())
+ self.assertTrue(process and process.IsValid(), PROCESS_IS_VALID)
+ self.assertEqual(process.GetState(), lldb.eStateStopped, PROCESS_STOPPED)
+
+ # check the setting value
+ self.expect("settings show target.process.memory-cache-line-size", patterns=[" = 2048"])
+
+ # Run to completion.
+ process.Continue()
+ self.assertEqual(process.GetState(), lldb.eStateExited, PROCESS_EXITED)
diff --git a/packages/Python/lldbsuite/test/android/platform/main.cpp b/packages/Python/lldbsuite/test/android/platform/main.cpp
new file mode 100644
index 000000000000..3fb9edc47270
--- /dev/null
+++ b/packages/Python/lldbsuite/test/android/platform/main.cpp
@@ -0,0 +1,13 @@
+//===-- main.cpp ------------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+int main ()
+{
+ return 0;
+}
diff --git a/packages/Python/lldbsuite/test/api/check_public_api_headers/Makefile b/packages/Python/lldbsuite/test/api/check_public_api_headers/Makefile
new file mode 100644
index 000000000000..8a7102e347af
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/check_public_api_headers/Makefile
@@ -0,0 +1,5 @@
+LEVEL = ../../make
+
+CXX_SOURCES := main.cpp
+
+include $(LEVEL)/Makefile.rules
diff --git a/packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py b/packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py
new file mode 100644
index 000000000000..0d0507f1d70c
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/check_public_api_headers/TestPublicAPIHeaders.py
@@ -0,0 +1,88 @@
+"""Test the integrity of the lldb public api directory containing SB*.h headers.
+
+There should be nothing unwanted there and a simpe main.cpp which includes SB*.h
+should compile and link with the LLDB framework."""
+
+from __future__ import print_function
+
+
+
+import os, re
+from lldbsuite.test.lldbtest import *
+import lldbsuite.test.lldbutil as lldbutil
+
+class SBDirCheckerCase(TestBase):
+
+ mydir = TestBase.compute_mydir(__file__)
+
+ def setUp(self):
+ TestBase.setUp(self)
+ self.template = 'main.cpp.template'
+ self.source = 'main.cpp'
+ self.exe_name = 'a.out'
+
+ @skipIfNoSBHeaders
+ def test_sb_api_directory(self):
+ """Test the SB API directory and make sure there's no unwanted stuff."""
+
+ # Only proceed if this is an Apple OS, "x86_64", and local platform.
+ if not (self.platformIsDarwin() and self.getArchitecture() == "x86_64"):
+ self.skipTest("This test is only for LLDB.framework built 64-bit")
+ if self.getArchitecture() == "i386":
+ self.skipTest("LLDB is 64-bit and cannot be linked to 32-bit test program.")
+
+ # Generate main.cpp, build it, and execute.
+ self.generate_main_cpp()
+ self.buildDriver(self.source, self.exe_name)
+ self.sanity_check_executable(self.exe_name)
+
+ def generate_main_cpp(self):
+ """Generate main.cpp from main.cpp.template."""
+ temp = os.path.join(os.getcwd(), self.template)
+ with open(temp, 'r') as f:
+ content = f.read()
+
+ public_api_dir = os.path.join(os.environ["LLDB_SRC"], "include", "lldb", "API")
+
+ # Look under the include/lldb/API directory and add #include statements
+ # for all the SB API headers.
+ public_headers = os.listdir(public_api_dir)
+ # For different platforms, the include statement can vary.
+ if self.platformIsDarwin():
+ include_stmt = "'#include <%s>' % os.path.join('LLDB', header)"
+ if self.getPlatform() == "freebsd" or self.getPlatform() == "linux" or os.environ.get('LLDB_BUILD_TYPE') == 'Makefile':
+ include_stmt = "'#include <%s>' % os.path.join(public_api_dir, header)"
+ list = [eval(include_stmt) for header in public_headers if (header.startswith("SB") and
+ header.endswith(".h"))]
+ includes = '\n'.join(list)
+ new_content = content.replace('%include_SB_APIs%', includes)
+ src = os.path.join(os.getcwd(), self.source)
+ with open(src, 'w') as f:
+ f.write(new_content)
+
+ # The main.cpp has been generated, add a teardown hook to remove it.
+ self.addTearDownHook(lambda: os.remove(src))
+
+ def sanity_check_executable(self, exe_name):
+ """Sanity check executable compiled from the auto-generated program."""
+ exe = os.path.join(os.getcwd(), exe_name)
+ self.runCmd("file %s" % exe, CURRENT_EXECUTABLE_SET)
+
+ self.line_to_break = line_number(self.source, '// Set breakpoint here.')
+
+ env_cmd = "settings set target.env-vars %s=%s" %(self.dylibPath, self.getLLDBLibraryEnvVal())
+ if self.TraceOn():
+ print("Set environment to: ", env_cmd)
+ self.runCmd(env_cmd)
+ self.addTearDownHook(lambda: self.dbg.HandleCommand("settings remove target.env-vars %s" % self.dylibPath))
+
+ lldbutil.run_break_set_by_file_and_line (self, self.source, self.line_to_break, num_expected_locations = -1)
+
+ self.runCmd("run", RUN_SUCCEEDED)
+
+ # The stop reason of the thread should be breakpoint.
+ self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
+ substrs = ['stopped',
+ 'stop reason = breakpoint'])
+
+ self.runCmd('frame variable')
diff --git a/packages/Python/lldbsuite/test/api/check_public_api_headers/main.cpp.template b/packages/Python/lldbsuite/test/api/check_public_api_headers/main.cpp.template
new file mode 100644
index 000000000000..ed754add6100
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/check_public_api_headers/main.cpp.template
@@ -0,0 +1,24 @@
+//===-- main.cpp ------------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include <stdio.h>
+%include_SB_APIs%
+
+using namespace lldb;
+int
+main(int argc, char const *argv[])
+{
+ SBDebugger::Initialize();
+ SBDebugger dbg = SBDebugger::Create();
+
+ printf("Hello SBDebugger %llu\n", dbg.GetID()); // Set breakpoint here.
+
+ SBDebugger::Terminate();
+ return 0;
+}
diff --git a/packages/Python/lldbsuite/test/api/multiple-debuggers/.categories b/packages/Python/lldbsuite/test/api/multiple-debuggers/.categories
new file mode 100644
index 000000000000..6e70196ccd70
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multiple-debuggers/.categories
@@ -0,0 +1 @@
+stresstest
diff --git a/packages/Python/lldbsuite/test/api/multiple-debuggers/Makefile b/packages/Python/lldbsuite/test/api/multiple-debuggers/Makefile
new file mode 100644
index 000000000000..08f8850e3e8f
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multiple-debuggers/Makefile
@@ -0,0 +1,8 @@
+LEVEL = ../../make
+
+MAKE_DSYM := NO
+
+ENABLE_THREADS := YES
+CXX_SOURCES := multi-process-driver.cpp testprog.cpp
+
+include $(LEVEL)/Makefile.rules
diff --git a/packages/Python/lldbsuite/test/api/multiple-debuggers/TestMultipleDebuggers.py b/packages/Python/lldbsuite/test/api/multiple-debuggers/TestMultipleDebuggers.py
new file mode 100644
index 000000000000..67dca2273d8a
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multiple-debuggers/TestMultipleDebuggers.py
@@ -0,0 +1,44 @@
+"""Test the lldb public C++ api when doing multiple debug sessions simultaneously."""
+
+from __future__ import print_function
+
+
+
+import os, re
+from lldbsuite.test.lldbtest import *
+import lldbsuite.test.lldbutil as lldbutil
+import lldb
+import subprocess
+
+class TestMultipleSimultaneousDebuggers(TestBase):
+
+ mydir = TestBase.compute_mydir(__file__)
+
+ @skipIfi386
+ @skipIfNoSBHeaders
+ @expectedFailureFreeBSD("llvm.org/pr20282")
+ @expectedFailureLinux("llvm.org/pr20282")
+ @expectedFailureWindows # Test crashes
+ @expectedFlakeyDarwin()
+ def test_multiple_debuggers(self):
+ env = {self.dylibPath : self.getLLDBLibraryEnvVal()}
+
+ self.driver_exe = os.path.join(os.getcwd(), "multi-process-driver")
+ self.buildDriver('multi-process-driver.cpp', self.driver_exe)
+ self.addTearDownHook(lambda: os.remove(self.driver_exe))
+ self.signBinary(self.driver_exe)
+
+ self.inferior_exe = os.path.join(os.getcwd(), "testprog")
+ self.buildDriver('testprog.cpp', self.inferior_exe)
+ self.addTearDownHook(lambda: os.remove(self.inferior_exe))
+
+# check_call will raise a CalledProcessError if multi-process-driver doesn't return
+# exit code 0 to indicate success. We can let this exception go - the test harness
+# will recognize it as a test failure.
+
+ if self.TraceOn():
+ print("Running test %s" % self.driver_exe)
+ check_call([self.driver_exe, self.inferior_exe], env=env)
+ else:
+ with open(os.devnull, 'w') as fnull:
+ check_call([self.driver_exe, self.inferior_exe], env=env, stdout=fnull, stderr=fnull)
diff --git a/packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp b/packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp
new file mode 100644
index 000000000000..1c2689ff6c4f
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multiple-debuggers/multi-process-driver.cpp
@@ -0,0 +1,283 @@
+
+// This program creates NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS of pthreads,
+// creates an lldb Debugger on each thread, creates targets, inserts two
+// breakpoints, runs to the first breakpoint, backtraces, runs to the second
+// breakpoint, backtraces, kills the inferior process, closes down the
+// debugger.
+
+// The main thread keeps track of which pthreads have completed and which
+// pthreads have completed successfully, and exits when all pthreads have
+// completed successfully, or our time limit has been exceeded.
+
+// This test file helps to uncover race conditions and locking mistakes
+// that are hit when lldb is being used to debug multiple processes
+// simultaneously.
+
+#include <stdio.h>
+#include <stdlib.h>
+
+
+#include "lldb/API/LLDB.h"
+#include "lldb/API/SBCommandInterpreter.h"
+#include "lldb/API/SBCommandReturnObject.h"
+#include "lldb/API/SBDebugger.h"
+
+#include <chrono>
+#include <thread>
+
+#define NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS 20
+
+#define DEBUG 0
+
+using namespace lldb;
+
+bool *completed_threads_array = 0;
+bool *successful_threads_array = 0;
+
+const char *inferior_process_name = "testprog";
+
+bool
+wait_for_stop_event (SBProcess process, SBListener listener)
+{
+ bool stopped = false;
+ while (!stopped)
+ {
+ SBEvent event;
+ bool waitfor_ret = listener.WaitForEvent (2, event);
+ if (event.GetType() == SBProcess::eBroadcastBitStateChanged)
+ {
+ if (process.GetState() == StateType::eStateStopped
+ || process.GetState() == StateType::eStateCrashed
+ || process.GetState() == StateType::eStateDetached
+ || process.GetState() == StateType::eStateExited)
+ {
+ stopped = true;
+ }
+ }
+ }
+ return stopped;
+}
+
+bool
+walk_stack_to_main (SBThread thread)
+{
+ if (thread.IsValid() == 0)
+ {
+ return false;
+ }
+
+ bool found_main = false;
+ uint32_t curr_frame = 0;
+ const uint32_t framecount = thread.GetNumFrames();
+ while (!found_main && curr_frame < framecount)
+ {
+ SBFrame frame = thread.GetFrameAtIndex (curr_frame);
+ if (strcmp (frame.GetFunctionName(), "main") == 0)
+ {
+ found_main = true;
+ break;
+ }
+ curr_frame += 1;
+ }
+ return found_main;
+}
+
+void *do_one_debugger (void *in)
+{
+ uint64_t threadnum = (uint64_t) in;
+
+#if defined (__APPLE__)
+ char *threadname;
+ asprintf (&threadname, "thread #%lld", threadnum);
+ pthread_setname_np (threadname);
+ free (threadname);
+#endif
+
+#if DEBUG == 1
+ printf ("#%lld: Starting debug session\n", threadnum);
+#endif
+
+ SBDebugger debugger = lldb::SBDebugger::Create (false);
+ if (debugger.IsValid ())
+ {
+ debugger.SetAsync (true);
+ SBTarget target = debugger.CreateTargetWithFileAndArch(inferior_process_name, "x86_64");
+ SBCommandInterpreter command_interp = debugger.GetCommandInterpreter();
+ if (target.IsValid())
+ {
+ SBBreakpoint bar_br = target.BreakpointCreateByName ("bar", "testprog");
+ if (!bar_br.IsValid())
+ {
+ printf ("#%lld: failed to set breakpoint on bar, exiting.\n", threadnum);
+ exit (1);
+ }
+ SBBreakpoint foo_br = target.BreakpointCreateByName ("foo", "testprog");
+ if (!foo_br.IsValid())
+ {
+ printf ("#%lld: Failed to set breakpoint on foo()\n", threadnum);
+ }
+
+ SBLaunchInfo launch_info (NULL);
+ SBError error;
+ SBProcess process = target.Launch (launch_info, error);
+ if (process.IsValid())
+ {
+ SBListener listener = debugger.GetListener();
+ SBBroadcaster broadcaster = process.GetBroadcaster();
+ uint32_t rc = broadcaster.AddListener (listener, SBProcess::eBroadcastBitStateChanged);
+ if (rc == 0)
+ {
+ printf ("adding listener failed\n");
+ exit (1);
+ }
+
+ wait_for_stop_event (process, listener);
+
+ if (!walk_stack_to_main (process.GetThreadAtIndex(0)))
+ {
+ printf ("#%lld: backtrace while @ foo() failed\n", threadnum);
+ completed_threads_array[threadnum] = true;
+ return (void *) 1;
+ }
+
+ if (strcmp (process.GetThreadAtIndex(0).GetFrameAtIndex(0).GetFunctionName(), "foo") != 0)
+ {
+#if DEBUG == 1
+ printf ("#%lld: First breakpoint did not stop at foo(), instead stopped at '%s'\n", threadnum, process.GetThreadAtIndex(0).GetFrameAtIndex(0).GetFunctionName());
+#endif
+ completed_threads_array[threadnum] = true;
+ return (void*) 1;
+ }
+
+ process.Continue();
+
+ wait_for_stop_event (process, listener);
+
+ if (process.GetState() == StateType::eStateExited)
+ {
+ printf ("#%lld: Process exited\n", threadnum);
+ completed_threads_array[threadnum] = true;
+ return (void *) 1;
+ }
+
+
+ if (!walk_stack_to_main (process.GetThreadAtIndex(0)))
+ {
+ printf ("#%lld: backtrace while @ bar() failed\n", threadnum);
+ completed_threads_array[threadnum] = true;
+ return (void *) 1;
+ }
+
+ if (strcmp (process.GetThreadAtIndex(0).GetFrameAtIndex(0).GetFunctionName(), "bar") != 0)
+ {
+ printf ("#%lld: First breakpoint did not stop at bar()\n", threadnum);
+ completed_threads_array[threadnum] = true;
+ return (void*) 1;
+ }
+
+ process.Kill();
+
+ wait_for_stop_event (process, listener);
+
+ SBDebugger::Destroy(debugger);
+
+#if DEBUG == 1
+ printf ("#%lld: All good!\n", threadnum);
+#endif
+ successful_threads_array[threadnum] = true;
+ completed_threads_array[threadnum] = true;
+ return (void*) 0;
+ }
+ else
+ {
+ printf("#%lld: process failed to launch\n", threadnum);
+ successful_threads_array[threadnum] = false;
+ completed_threads_array[threadnum] = true;
+ return (void*) 0;
+ }
+ }
+ else
+ {
+ printf ("#%lld: did not get valid target\n", threadnum);
+ successful_threads_array[threadnum] = false;
+ completed_threads_array[threadnum] = true;
+ return (void*) 0;
+ }
+ }
+ else
+ {
+ printf ("#%lld: did not get debugger\n", threadnum);
+ successful_threads_array[threadnum] = false;
+ completed_threads_array[threadnum] = true;
+ return (void*) 0;
+ }
+ completed_threads_array[threadnum] = true;
+ return (void*) 1;
+}
+
+int main (int argc, char **argv)
+{
+ SBDebugger::Initialize();
+
+ completed_threads_array = (bool *) malloc (sizeof (bool) * NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS);
+ memset (completed_threads_array, 0, sizeof (bool) * NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS);
+ successful_threads_array = (bool *) malloc (sizeof (bool) * NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS);
+ memset (successful_threads_array, 0, sizeof (bool) * NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS);
+
+ if (argc > 1 && argv[1] != NULL)
+ {
+ inferior_process_name = argv[1];
+ }
+
+ std::thread threads[NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS];
+ for (uint64_t i = 0; i< NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS; i++)
+ {
+ threads[i] = std::move(std::thread(do_one_debugger, (void*)i));
+ }
+
+
+ int max_time_to_wait = 20; // 20 iterations, or 60 seconds
+ int iter = 0;
+ while (1)
+ {
+ std::this_thread::sleep_for(std::chrono::seconds(3));
+ bool all_done = true;
+ int successful_threads = 0;
+ int total_completed_threads = 0;
+ for (uint64_t i = 0; i < NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS; i++)
+ {
+ if (successful_threads_array[i] == true)
+ successful_threads++;
+ if (completed_threads_array[i] == true)
+ total_completed_threads++;
+ if (completed_threads_array[i] == false)
+ {
+ all_done = false;
+ }
+ }
+ if (all_done)
+ {
+#if DEBUG == 1
+ printf ("All threads completed.\n");
+ printf ("%d threads completed successfully out of %d\n", successful_threads, NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS);
+#endif
+ SBDebugger::Terminate();
+ exit(0);
+ }
+ else
+ {
+#if DEBUG == 1
+ printf ("%d threads completed so far (%d successfully), out of %d\n", total_completed_threads, successful_threads, NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS);
+#endif
+ }
+ if (iter++ == max_time_to_wait)
+ {
+ printf ("reached maximum timeout but only %d threads have completed so far (%d successfully), out of %d. Exiting.\n", total_completed_threads, successful_threads, NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS);
+ break;
+ }
+ }
+
+
+ SBDebugger::Terminate();
+ exit (1);
+}
diff --git a/packages/Python/lldbsuite/test/api/multiple-debuggers/testprog.cpp b/packages/Python/lldbsuite/test/api/multiple-debuggers/testprog.cpp
new file mode 100644
index 000000000000..c9d1ea14f17b
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multiple-debuggers/testprog.cpp
@@ -0,0 +1,12 @@
+int bar ()
+{
+ return 5;
+}
+int foo ()
+{
+ return bar() + 5;
+}
+int main ()
+{
+ return foo();
+}
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/Makefile b/packages/Python/lldbsuite/test/api/multithreaded/Makefile
new file mode 100644
index 000000000000..37323ea78190
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multithreaded/Makefile
@@ -0,0 +1,9 @@
+LEVEL = ../../make
+
+ENABLE_THREADS := YES
+CXX_SOURCES := main.cpp
+
+include $(LEVEL)/Makefile.rules
+
+clean::
+ rm -rf $(wildcard *.o *.d *.dSYM)
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py b/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py
new file mode 100644
index 000000000000..0b405091ebd1
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multithreaded/TestMultithreaded.py
@@ -0,0 +1,91 @@
+"""Test the lldb public C++ api breakpoint callbacks."""
+
+from __future__ import print_function
+
+# __package__ = "lldbsuite.test"
+
+
+import os, re
+from lldbsuite.test.lldbtest import *
+import lldbsuite.test.lldbutil as lldbutil
+import subprocess
+
+class SBBreakpointCallbackCase(TestBase):
+
+ mydir = TestBase.compute_mydir(__file__)
+
+ @skipIfRemote
+ @skipIfNoSBHeaders
+ @skipIfWindows # clang-cl does not support throw or catch (llvm.org/pr24538)
+ def test_breakpoint_callback(self):
+ """Test the that SBBreakpoint callback is invoked when a breakpoint is hit. """
+ self.build_and_test('driver.cpp test_breakpoint_callback.cpp',
+ 'test_breakpoint_callback')
+
+ @skipIfRemote
+ @skipIfNoSBHeaders
+ @skipIfWindows # clang-cl does not support throw or catch (llvm.org/pr24538)
+ @expectedFlakeyFreeBSD
+ def test_sb_api_listener_event_description(self):
+ """ Test the description of an SBListener breakpoint event is valid."""
+ self.build_and_test('driver.cpp listener_test.cpp test_listener_event_description.cpp',
+ 'test_listener_event_description')
+ pass
+
+ @skipIfRemote
+ @skipIfNoSBHeaders
+ @skipIfWindows # clang-cl does not support throw or catch (llvm.org/pr24538)
+ @expectedFlakeyFreeBSD
+ @expectedFlakeyLinux # Driver occasionally returns '1' as exit status
+ @expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["x86_64"])
+ def test_sb_api_listener_event_process_state(self):
+ """ Test that a registered SBListener receives events when a process
+ changes state.
+ """
+ self.build_and_test('driver.cpp listener_test.cpp test_listener_event_process_state.cpp',
+ 'test_listener_event_process_state')
+ pass
+
+
+ @skipIfRemote
+ @skipIfNoSBHeaders
+ @skipIfWindows # clang-cl does not support throw or catch (llvm.org/pr24538)
+ @expectedFlakeyFreeBSD
+ @expectedFlakeyLinux
+ def test_sb_api_listener_resume(self):
+ """ Test that a process can be resumed from a non-main thread. """
+ self.build_and_test('driver.cpp listener_test.cpp test_listener_resume.cpp',
+ 'test_listener_resume')
+ pass
+
+ def build_and_test(self, sources, test_name, args = None):
+ """ Build LLDB test from sources, and run expecting 0 exit code """
+
+ # These tests link against host lldb API.
+ # Compiler's target triple must match liblldb triple
+ # because remote is disabled, we can assume that the os is the same
+ # still need to check architecture
+ if self.getLldbArchitecture() != self.getArchitecture():
+ self.skipTest("This test is only run if the target arch is the same as the lldb binary arch")
+
+ self.inferior = 'inferior_program'
+ self.buildProgram('inferior.cpp', self.inferior)
+ self.addTearDownHook(lambda: os.remove(self.inferior))
+
+ self.buildDriver(sources, test_name)
+ self.addTearDownHook(lambda: os.remove(test_name))
+
+ test_exe = os.path.join(os.getcwd(), test_name)
+ self.signBinary(test_exe)
+ exe = [test_exe, self.inferior]
+
+ env = {self.dylibPath : self.getLLDBLibraryEnvVal()}
+ if self.TraceOn():
+ print("Running test %s" % " ".join(exe))
+ check_call(exe, env=env)
+ else:
+ with open(os.devnull, 'w') as fnull:
+ check_call(exe, env=env, stdout=fnull, stderr=fnull)
+
+ def build_program(self, sources, program):
+ return self.buildDriver(sources, program)
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/common.h b/packages/Python/lldbsuite/test/api/multithreaded/common.h
new file mode 100644
index 000000000000..dad8bba07a3f
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multithreaded/common.h
@@ -0,0 +1,68 @@
+#ifndef LLDB_TEST_API_COMMON_H
+#define LLDB_TEST_API_COMMON_H
+
+#include <condition_variable>
+#include <chrono>
+#include <exception>
+#include <iostream>
+#include <mutex>
+#include <string>
+#include <queue>
+
+#include <unistd.h>
+
+/// Simple exception class with a message
+struct Exception : public std::exception
+{
+ std::string s;
+ Exception(std::string ss) : s(ss) {}
+ virtual ~Exception() throw () { }
+ const char* what() const throw() { return s.c_str(); }
+};
+
+// Synchronized data structure for listener to send events through
+template<typename T>
+class multithreaded_queue {
+ std::condition_variable m_condition;
+ std::mutex m_mutex;
+ std::queue<T> m_data;
+ bool m_notified;
+
+public:
+
+ void push(T e) {
+ std::lock_guard<std::mutex> lock(m_mutex);
+ m_data.push(e);
+ m_notified = true;
+ m_condition.notify_all();
+ }
+
+ T pop(int timeout_seconds, bool &success) {
+ int count = 0;
+ while (count < timeout_seconds) {
+ std::unique_lock<std::mutex> lock(m_mutex);
+ if (!m_data.empty()) {
+ m_notified = false;
+ T ret = m_data.front();
+ m_data.pop();
+ success = true;
+ return ret;
+ } else if (!m_notified)
+ m_condition.wait_for(lock, std::chrono::seconds(1));
+ count ++;
+ }
+ success = false;
+ return T();
+ }
+};
+
+/// Allocates a char buffer with the current working directory
+inline char* get_working_dir() {
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
+ return getwd(0);
+#else
+ return get_current_dir_name();
+#endif
+}
+
+#endif // LLDB_TEST_API_COMMON_H
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp b/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp
new file mode 100644
index 000000000000..fa0c48e0ecfb
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp
@@ -0,0 +1,38 @@
+
+/// LLDB C API Test Driver
+
+#include <algorithm>
+#include <iostream>
+#include <iterator>
+#include <string>
+#include <vector>
+
+#include "lldb-headers.h"
+
+#include "common.h"
+
+using namespace std;
+using namespace lldb;
+
+void test(SBDebugger &dbg, std::vector<string> args);
+
+int main(int argc, char** argv) {
+ int code = 0;
+
+ SBDebugger::Initialize();
+ SBDebugger dbg = SBDebugger::Create();
+
+ try {
+ if (!dbg.IsValid())
+ throw Exception("invalid debugger");
+ vector<string> args(argv + 1, argv + argc);
+
+ test(dbg, args);
+ } catch (Exception &e) {
+ cout << "ERROR: " << e.what() << endl;
+ code = 1;
+ }
+
+ SBDebugger::Destroy(dbg);
+ return code;
+}
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/inferior.cpp b/packages/Python/lldbsuite/test/api/multithreaded/inferior.cpp
new file mode 100644
index 000000000000..9dbb289f98be
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multithreaded/inferior.cpp
@@ -0,0 +1,17 @@
+
+#include <iostream>
+
+using namespace std;
+
+int next() {
+ static int i = 0;
+ cout << "incrementing " << i << endl;
+ return ++i;
+}
+
+int main() {
+ int i = 0;
+ while (i < 5)
+ i = next();
+ return 0;
+}
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/listener_test.cpp b/packages/Python/lldbsuite/test/api/multithreaded/listener_test.cpp
new file mode 100644
index 000000000000..b20868ff94f4
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multithreaded/listener_test.cpp
@@ -0,0 +1,74 @@
+// LLDB test snippet that registers a listener with a process that hits
+// a breakpoint.
+
+#include <atomic>
+#include <iostream>
+#include <string>
+#include <thread>
+#include <vector>
+
+#include "lldb-headers.h"
+#include "common.h"
+
+using namespace lldb;
+using namespace std;
+
+void listener_func();
+void check_listener(SBDebugger &dbg);
+
+// Listener thread and related variables
+atomic<bool> g_done;
+SBListener g_listener("test-listener");
+thread g_listener_thread;
+
+void shutdown_listener() {
+ g_done.store(true);
+ if (g_listener_thread.joinable())
+ g_listener_thread.join();
+}
+
+void test(SBDebugger &dbg, std::vector<string> args) {
+ try {
+ g_done.store(false);
+ SBTarget target = dbg.CreateTarget(args.at(0).c_str());
+ if (!target.IsValid()) throw Exception("invalid target");
+
+ SBBreakpoint breakpoint = target.BreakpointCreateByName("next");
+ if (!breakpoint.IsValid()) throw Exception("invalid breakpoint");
+
+ std::unique_ptr<char> working_dir(get_working_dir());
+
+ SBError error;
+ SBProcess process = target.Launch(g_listener,
+ 0, 0, 0, 0, 0,
+ working_dir.get(),
+ 0,
+ false,
+ error);
+ if (!error.Success())
+ throw Exception("Error launching process.");
+
+ /* FIXME: the approach below deadlocks
+ SBProcess process = target.LaunchSimple (0, 0, working_dir.get());
+
+ // get debugger listener (which is attached to process by default)
+ g_listener = dbg.GetListener();
+ */
+
+ // FIXME: because a listener is attached to the process at launch-time,
+ // registering the listener below results in two listeners being attached,
+ // which is not supported by LLDB.
+ // register listener
+ // process.GetBroadcaster().AddListener(g_listener,
+ // SBProcess::eBroadcastBitStateChanged);
+
+ // start listener thread
+ g_listener_thread = thread(listener_func);
+ check_listener(dbg);
+
+ } catch (Exception &e) {
+ shutdown_listener();
+ throw e;
+ }
+ shutdown_listener();
+}
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/lldb-headers.h b/packages/Python/lldbsuite/test/api/multithreaded/lldb-headers.h
new file mode 100644
index 000000000000..da0914b3b071
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multithreaded/lldb-headers.h
@@ -0,0 +1,11 @@
+
+#ifndef LLDB_HEADERS_H
+#define LLDB_HEADERS_H
+
+#ifdef __APPLE__
+#include <LLDB/LLDB.h>
+#else
+#include "lldb/API/LLDB.h"
+#endif
+
+#endif // LLDB_HEADERS_H
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/test_breakpoint_callback.cpp b/packages/Python/lldbsuite/test/api/multithreaded/test_breakpoint_callback.cpp
new file mode 100644
index 000000000000..def31f82b0c7
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multithreaded/test_breakpoint_callback.cpp
@@ -0,0 +1,49 @@
+
+// LLDB C++ API Test: verify that the function registered with
+// SBBreakpoint.SetCallback() is invoked when a breakpoint is hit.
+
+#include <mutex>
+#include <iostream>
+#include <vector>
+#include <string>
+
+#include "lldb-headers.h"
+
+#include "common.h"
+
+using namespace std;
+using namespace lldb;
+
+mutex g_mutex;
+condition_variable g_condition;
+int g_breakpoint_hit_count = 0;
+
+bool BPCallback (void *baton,
+ SBProcess &process,
+ SBThread &thread,
+ SBBreakpointLocation &location) {
+ lock_guard<mutex> lock(g_mutex);
+ g_breakpoint_hit_count += 1;
+ g_condition.notify_all();
+ return true;
+}
+
+void test(SBDebugger &dbg, vector<string> args) {
+ dbg.SetAsync(false);
+ SBTarget target = dbg.CreateTarget(args.at(0).c_str());
+ if (!target.IsValid()) throw Exception("invalid target");
+
+ SBBreakpoint breakpoint = target.BreakpointCreateByName("next");
+ if (!breakpoint.IsValid()) throw Exception("invalid breakpoint");
+ breakpoint.SetCallback(BPCallback, 0);
+
+ std::unique_ptr<char> working_dir(get_working_dir());
+ SBProcess process = target.LaunchSimple (0, 0, working_dir.get());
+
+ {
+ unique_lock<mutex> lock(g_mutex);
+ g_condition.wait_for(lock, chrono::seconds(5));
+ if (g_breakpoint_hit_count != 1)
+ throw Exception("Breakpoint hit count expected to be 1");
+ }
+}
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_description.cpp b/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_description.cpp
new file mode 100644
index 000000000000..0d7844dce6d0
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_description.cpp
@@ -0,0 +1,97 @@
+
+// LLDB C++ API Test: verify the event description that is received by an
+// SBListener object registered with a process with a breakpoint.
+
+#include <atomic>
+#include <array>
+#include <iostream>
+#include <string>
+#include <thread>
+
+#include "lldb-headers.h"
+
+#include "common.h"
+
+using namespace lldb;
+using namespace std;
+
+// listener thread control
+extern atomic<bool> g_done;
+extern SBListener g_listener;
+
+multithreaded_queue<string> g_event_descriptions;
+string g_error_desc;
+
+void listener_func() {
+ while (!g_done) {
+ SBEvent event;
+ bool got_event = g_listener.WaitForEvent(1, event);
+
+ if (got_event) {
+ if (!event.IsValid())
+ throw Exception("event is not valid in listener thread");
+
+ SBStream description;
+ event.GetDescription(description);
+ string str(description.GetData());
+ g_event_descriptions.push(str);
+ }
+ }
+}
+
+bool check_state(string &state, string &desc, bool got_description)
+{
+ g_error_desc.clear();
+
+ if(!got_description)
+ {
+ g_error_desc.append("Did not get expected event description");
+ return false;
+ }
+
+ if (desc.find("state-changed") == desc.npos)
+ g_error_desc.append("Event description incorrect: missing 'state-changed' ");
+
+ if (desc.find("pid = ") == desc.npos)
+ g_error_desc.append("Event description incorrect: missing process pid ");
+
+ string state_search_str = "state = " + state;
+ if (desc.find(state_search_str) == desc.npos)
+ {
+ string errString = ("Event description incorrect: expected state "
+ + state
+ + " but desc was "
+ + desc);
+ g_error_desc.append(errString);
+ }
+
+ if (g_error_desc.length() > 0)
+ return false;
+
+ cout << "check_state: " << state << " OK\n";
+ return true;
+}
+
+void check_listener(SBDebugger &dbg)
+{
+ bool got_description;
+ string state;
+
+ // check for "launching" state, this may or may not be present
+ string desc = g_event_descriptions.pop(5, got_description);
+ state = "launching";
+ if (check_state(state, desc, got_description))
+ {
+ // found a 'launching' state, pop next one from queue
+ desc = g_event_descriptions.pop(5, got_description);
+ }
+
+ state = "running";
+ if( !check_state(state, desc, got_description) )
+ throw Exception(g_error_desc);
+
+ desc = g_event_descriptions.pop(5, got_description);
+ state = "stopped";
+ if( !check_state(state, desc, got_description) )
+ throw Exception(g_error_desc);
+}
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_process_state.cpp b/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_process_state.cpp
new file mode 100644
index 000000000000..0a698d1081d4
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multithreaded/test_listener_event_process_state.cpp
@@ -0,0 +1,68 @@
+
+// LLDB C++ API Test: verify the event description as obtained by calling
+// SBEvent::GetCStringFromEvent that is received by an
+// SBListener object registered with a process with a breakpoint.
+
+#include <atomic>
+#include <iostream>
+#include <string>
+#include <thread>
+
+#include "lldb-headers.h"
+
+#include "common.h"
+
+using namespace lldb;
+using namespace std;
+
+// listener thread control
+extern atomic<bool> g_done;
+
+multithreaded_queue<string> g_thread_descriptions;
+multithreaded_queue<string> g_frame_functions;
+
+extern SBListener g_listener;
+
+void listener_func() {
+ while (!g_done) {
+ SBEvent event;
+ bool got_event = g_listener.WaitForEvent(1, event);
+ if (got_event) {
+ if (!event.IsValid())
+ throw Exception("event is not valid in listener thread");
+
+ // send process description
+ SBProcess process = SBProcess::GetProcessFromEvent(event);
+ SBStream description;
+
+ for (int i = 0; i < process.GetNumThreads(); ++i) {
+ // send each thread description
+ description.Clear();
+ SBThread thread = process.GetThreadAtIndex(i);
+ thread.GetDescription(description);
+ g_thread_descriptions.push(description.GetData());
+
+ // send each frame function name
+ uint32_t num_frames = thread.GetNumFrames();
+ for(int j = 0; j < num_frames; ++j) {
+ const char* function_name = thread.GetFrameAtIndex(j).GetSymbol().GetName();
+ if (function_name)
+ g_frame_functions.push(function_name);
+ }
+ }
+ }
+ }
+}
+
+void check_listener(SBDebugger &dbg) {
+ // check thread description
+ bool got_description = false;
+ string desc = g_thread_descriptions.pop(5, got_description);
+ if (!got_description)
+ throw Exception("Expected at least one thread description string");
+
+ // check at least one frame has a function name
+ desc = g_frame_functions.pop(5, got_description);
+ if (!got_description)
+ throw Exception("Expected at least one frame function name string");
+}
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/test_listener_resume.cpp b/packages/Python/lldbsuite/test/api/multithreaded/test_listener_resume.cpp
new file mode 100644
index 000000000000..8cf786b11603
--- /dev/null
+++ b/packages/Python/lldbsuite/test/api/multithreaded/test_listener_resume.cpp
@@ -0,0 +1,53 @@
+
+// LLDB C++ API Test: verify the event description as obtained by calling
+// SBEvent::GetCStringFromEvent that is received by an
+// SBListener object registered with a process with a breakpoint.
+
+#include <atomic>
+#include <iostream>
+#include <string>
+#include <thread>
+
+#include "lldb-headers.h"
+
+#include "common.h"
+
+using namespace lldb;
+using namespace std;
+
+// listener thread control
+extern atomic<bool> g_done;
+
+// used by listener thread to communicate a successful process continue command
+// back to the checking thread.
+
+multithreaded_queue<bool> g_process_started;
+
+extern SBListener g_listener;
+
+void listener_func() {
+ while (!g_done) {
+ SBEvent event;
+ bool got_event = g_listener.WaitForEvent(1, event);
+ if (got_event) {
+ if (!event.IsValid())
+ throw Exception("event is not valid in listener thread");
+
+ SBProcess process = SBProcess::GetProcessFromEvent(event);
+ if (process.GetState() == eStateStopped) {
+ SBError error = process.Continue();
+ if (!error.Success())
+ throw Exception(string("Cannot continue process from listener thread: ")
+ + error.GetCString());
+ g_process_started.push(true);
+ }
+ }
+ }
+}
+
+void check_listener(SBDebugger &dbg) {
+ bool got_message = false;
+ while (!got_message)
+ g_process_started.pop(5, got_message);
+ g_done = true;
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/TestEmulations.py b/packages/Python/lldbsuite/test/arm_emulation/TestEmulations.py
new file mode 100644
index 000000000000..8a78d21e7978
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/TestEmulations.py
@@ -0,0 +1,54 @@
+"""
+Test some ARM instruction emulation.
+"""
+
+from __future__ import print_function
+
+
+
+import os, time
+import lldb
+from lldbsuite.test.lldbtest import *
+
+class ARMEmulationTestCase(TestBase):
+
+ mydir = TestBase.compute_mydir(__file__)
+
+ @no_debug_info_test
+ def test_thumb_emulations (self):
+ current_dir = os.getcwd();
+ test_dir = os.path.join (current_dir, "new-test-files")
+ files = os.listdir (test_dir)
+ thumb_files = list()
+ for f in files:
+ if '-thumb.dat' in f:
+ thumb_files.append (f)
+
+ for f in thumb_files:
+ test_file = os.path.join (test_dir, f)
+ self.run_a_single_test (test_file)
+
+ @no_debug_info_test
+ def test_arm_emulations (self):
+ current_dir = os.getcwd();
+ test_dir = os.path.join (current_dir, "new-test-files")
+ files = os.listdir (test_dir)
+ arm_files = list()
+ for f in files:
+ if '-arm.dat' in f:
+ arm_files.append (f)
+
+ for f in arm_files:
+ test_file = os.path.join (test_dir, f)
+ self.run_a_single_test (test_file)
+
+ def run_a_single_test (self, filename):
+ insn = lldb.SBInstruction ();
+ stream = lldb.SBStream ();
+ success = insn.TestEmulation (stream, filename);
+ output = stream.GetData();
+ if self.TraceOn():
+ print('\nRunning test ' + os.path.basename(filename))
+ print(output)
+
+ self.assertTrue (success, 'Emulation test succeeded.')
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-arm.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-arm.dat
new file mode 100644
index 000000000000..64b2506f9d56
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-arm.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r0, r0, r15"
+triple=arm-apple-ios
+opcode=0xe080000f
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe58
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe58
+r14=0x00002e7c
+r15=0x00002ff8
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+after_state={
+registers={
+r0=0x00003000
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe58
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe58
+r14=0x00002e7c
+r15=0x00002ffc
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-thumb.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-thumb.dat
new file mode 100644
index 000000000000..daa32d25a41a
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-thumb.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r0, r13, #0"
+triple=thumb-apple-ios
+opcode=0xa800
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe50
+r14=0x00002f84
+r15=0x00002ffc
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+after_state={
+registers={
+r0=0x2fdffe50
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe50
+r14=0x00002f84
+r15=0x00002ffe
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-10-thumb.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-10-thumb.dat
new file mode 100644
index 000000000000..bb3d760219b4
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-10-thumb.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add sp, r13"
+triple=thumb-apple-ios
+opcode=0x44ed
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe50
+r14=0x00002f84
+r15=0x00002ffc
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+after_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x5fbffca0
+r14=0x00002f84
+r15=0x00002ffe
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-11-thumb.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-11-thumb.dat
new file mode 100644
index 000000000000..e26f2218cbcd
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-11-thumb.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add sp, r15"
+triple=thumb-apple-ios
+opcode=0x44fd
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe50
+r14=0x00002f84
+r15=0x00002ffc
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+after_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fe02e50
+r14=0x00002f84
+r15=0x00002ffe
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-12-thumb.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-12-thumb.dat
new file mode 100644
index 000000000000..a7f7344e7d97
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-12-thumb.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add sp, r8"
+triple=thumb-apple-ios
+opcode=0x44c5
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe58
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe58
+r14=0x00002f84
+r15=0x00002ffc
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+after_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe58
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe60
+r14=0x00002f84
+r15=0x00002ffe
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-arm.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-arm.dat
new file mode 100644
index 000000000000..cf6e0a9779a9
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-arm.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r0, r13, #0"
+triple=arm-apple-ios
+opcode=0xe28d0000
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe58
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe58
+r14=0x00002e7c
+r15=0x00002ff8
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+after_state={
+registers={
+r0=0x2fdffe58
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe58
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe58
+r14=0x00002e7c
+r15=0x00002ffc
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-thumb.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-thumb.dat
new file mode 100644
index 000000000000..9a178a0a159d
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-thumb.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r0, sp, r0"
+triple=thumb-apple-ios
+opcode=0x4468
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe50
+r14=0x00002f84
+r15=0x00002ffc
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+after_state={
+registers={
+r0=0x2fdffe50
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe50
+r14=0x00002f84
+r15=0x00002ffe
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-arm.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-arm.dat
new file mode 100644
index 000000000000..9fc44b79395c
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-arm.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r0, r1, r0, lsl #2"
+triple=arm-apple-ios
+opcode=0xe0810100
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe48
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe48
+r14=0x00002e7c
+r15=0x00002ff8
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+after_state={
+registers={
+r0=0x00000001
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe48
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe48
+r14=0x00002e7c
+r15=0x00002ffc
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-thumb.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-thumb.dat
new file mode 100644
index 000000000000..c8f96ec09d3e
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-thumb.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add.w r10, r13, #31"
+triple=thumb-apple-ios
+opcode=0xf10d0a1f
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe40
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe40
+r14=0x00002f80
+r15=0x00002ff8
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+after_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe40
+r8=0x00000008
+r9=0x00000009
+r10=0x2fdffe5f
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe40
+r14=0x00002f80
+r15=0x00002ffc
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-arm.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-arm.dat
new file mode 100644
index 000000000000..12b40ed76fce
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-arm.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r0, r2, r7, lsl r1"
+triple=arm-apple-ios
+opcode=0xe0820117
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe40
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe40
+r14=0x00002e7c
+r15=0x00002ff8
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+after_state={
+registers={
+r0=0x5fbffc82
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe40
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe40
+r14=0x00002e7c
+r15=0x00002ffc
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-thumb.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-thumb.dat
new file mode 100644
index 000000000000..922b8ecdba53
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-thumb.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r3, r13, #16"
+triple=thumb-apple-ios
+opcode=0xab04
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe48
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe48
+r14=0x00002f84
+r15=0x00002ffc
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+after_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x2fdffe58
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe48
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe48
+r14=0x00002f84
+r15=0x00002ffe
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-arm.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-arm.dat
new file mode 100644
index 000000000000..dfb6a87f014d
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-arm.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r10, r13, #31"
+triple=arm-apple-ios
+opcode=0xe28da01f
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe50
+r14=0x00002e7c
+r15=0x00002ff8
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+after_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x2fdffe6f
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe50
+r14=0x00002e7c
+r15=0x00002ffc
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-thumb.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-thumb.dat
new file mode 100644
index 000000000000..16ff517436b0
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-thumb.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r3, sp, r3"
+triple=thumb-apple-ios
+opcode=0x446b
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe50
+r14=0x00002f84
+r15=0x00002ffc
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+after_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x2fdffe53
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe50
+r14=0x00002f84
+r15=0x00002ffe
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-arm.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-arm.dat
new file mode 100644
index 000000000000..8a87eff5f002
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-arm.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r12, r13, #24"
+triple=arm-apple-ios
+opcode=0xe28dc018
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe50
+r14=0x00002e7c
+r15=0x00002ff8
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+after_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe50
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x2fdffe68
+r13=0x2fdffe50
+r14=0x00002e7c
+r15=0x00002ffc
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-thumb.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-thumb.dat
new file mode 100644
index 000000000000..e8abd6950f20
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-thumb.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r5, r13, #32"
+triple=thumb-apple-ios
+opcode=0xad08
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe48
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe48
+r14=0x00002f84
+r15=0x00002ffc
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+after_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x00000003
+r4=0x00000004
+r5=0x2fdffe68
+r6=0x00000006
+r7=0x2fdffe48
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe48
+r14=0x00002f84
+r15=0x00002ffe
+cpsr=0x60000030
+s0=0x00000000
+s1=0x00000000
+s2=0x00000000
+s3=0x00000000
+s4=0x00000000
+s5=0x00000000
+s6=0x00000000
+s7=0x00000000
+s8=0x00000000
+s9=0x00000000
+s10=0x00000000
+s11=0x00000000
+s12=0x00000000
+s13=0x00000000
+s14=0x00000000
+s15=0x00000000
+s16=0x00000000
+s17=0x00000000
+s18=0x00000000
+s19=0x00000000
+s20=0x00000000
+s21=0x00000000
+s22=0x00000000
+s23=0x00000000
+s24=0x00000000
+s25=0x00000000
+s26=0x00000000
+s27=0x00000000
+s28=0x00000000
+s29=0x00000000
+s30=0x00000000
+s31=0x00000000
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-arm.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-arm.dat
new file mode 100644
index 000000000000..312514246e3e
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-arm.dat
@@ -0,0 +1,111 @@
+InstructionEmulationState={
+assembly_string="add r6, sp, #8"
+triple=arm-apple-ios
+opcode=0xe28d6008
+before_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x00000006
+r7=0x2fdffe60
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe60
+r14=0x00002e7c
+r15=0x00002ff8
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+after_state={
+registers={
+r0=0x00000000
+r1=0x00000001
+r2=0x00000002
+r3=0x0000001f
+r4=0x00000004
+r5=0x00000005
+r6=0x2fdffe68
+r7=0x2fdffe60
+r8=0x00000008
+r9=0x00000009
+r10=0x0000000a
+r11=0x0000000b
+r12=0x0000000c
+r13=0x2fdffe60
+r14=0x00002e7c
+r15=0x00002ffc
+cpsr=0x60000010
+s0=0x00000000
+s1=0x00000001
+s2=0x00000002
+s3=0x00000003
+s4=0x00000004
+s5=0x00000005
+s6=0x00000006
+s7=0x00000007
+s8=0x00000008
+s9=0x00000009
+s10=0x0000000a
+s11=0x0000000b
+s12=0x0000000c
+s13=0x0000000d
+s14=0x0000000e
+s15=0x0000000f
+s16=0x00000010
+s17=0x00000011
+s18=0x00000012
+s19=0x00000013
+s20=0x00000014
+s21=0x00000015
+s22=0x00000016
+s23=0x00000017
+s24=0x00000018
+s25=0x00000019
+s26=0x0000001a
+s27=0x0000001b
+s28=0x0000001c
+s29=0x0000001d
+s30=0x0000001e
+s31=0x0000001f
+}
+}
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-thumb.dat b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-thumb.dat
new file mode 100644
index 000000000000..506071309d7c
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-thumb.dat