llvm-project/lldb/tools/debugserver
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
..
debugserver.xcodeproj Rename remotectl_com.apple.internal.xpc.remote.debugserver.plist 2018-03-19 23:07:31 +00:00
resources
scripts Remove DNBConfig.h 2015-08-13 00:32:01 +00:00
source [debugserver] Fix LC_BUILD_VERSION load command handling. 2018-04-06 04:28:12 +00:00
CMakeLists.txt [CMake] Refactor debugserver build system 2017-07-18 21:15:27 +00:00
debugnub-exports