teak-llvm/lldb/packages/Python/lldbsuite/test/tools/lldb-server
Frederic Riss cd90f878d4 [debugserver] Fix LC_BUILD_VERSION load command handling.
Summary:
In one of the 2 places the LC_BUILD_VERSION load command is handled, there
is a bug preventing us from actually handling them (the address where to
read the load command was not updated). This patch factors reading the
deployment target load commands into a helper and adds testing for the 2
code paths calling the helper.

The testing is a little bit complicated because the only times those load
commands matter is when debugging a simulator process. I added a new
decorator to check that a specific SDK is available. The actual testing was
fairly easy once I knew how to run a simulated process.

Reviewers: jasonmolenda, labath

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D45298

llvm-svn: 329374
2018-04-06 04:28:12 +00:00
..
commandline Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
inferior-crash Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
platform-process-connect Shorten socket names in TestPlatformProcessConnect 2018-02-16 12:57:35 +00:00
signal-filtering Add a comment to describe purpose of signal-filtering test 2017-02-28 02:40:34 +00:00
test *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
thread-name Remove HostThreadLinux/Free/NetBSD 2017-03-17 09:51:23 +00:00
.clang-format Reformat inferior's main.cpp in lldb-server test 2017-02-23 09:46:33 +00:00
gdbremote_testcase.py [LLDB][PPC64] Fix TestGdbRemoteAuxvSupport 2018-03-26 12:00:52 +00:00
lldbgdbserverutils.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
main.cpp [debugserver] Fix LC_BUILD_VERSION load command handling. 2018-04-06 04:28:12 +00:00
Makefile Make sure LldbGdbServerTestCase is built in arm mode to avoid failures due thumb instructions 2016-08-11 10:35:05 +00:00
socket_packet_pump.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
TestAppleSimulatorOSType.py [debugserver] Fix LC_BUILD_VERSION load command handling. 2018-04-06 04:28:12 +00:00
TestGdbRemote_qThreadStopInfo.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
TestGdbRemote_vCont.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
TestGdbRemoteAttach.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
TestGdbRemoteAuxvSupport.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
TestGdbRemoteExitCode.py Move TestGdbRemoteExitCode next to the other llgs tests 2018-02-27 18:07:53 +00:00
TestGdbRemoteExpeditedRegisters.py [LLDB][PPC64] Fixed issues with expedited registers 2018-03-06 11:54:41 +00:00
TestGdbRemoteHostInfo.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
TestGdbRemoteKill.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
TestGdbRemoteModuleInfo.py Fix a couple of more tests to not create files in the source tree 2018-02-21 15:33:53 +00:00
TestGdbRemoteProcessInfo.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
TestGdbRemoteRegisterState.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
TestGdbRemoteSingleStep.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
TestGdbRemoteThreadsInStopReply.py Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
TestLldbGdbServer.py [LLDB][PPC64] Fix single step and LldbGdbServer tests 2018-03-08 15:41:13 +00:00