llvm-project/lldb
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
..
cmake [cmake] Fix standalone+LLVM_LINK_LLVM_DYLIB builds (pr36687) 2018-03-14 10:08:21 +00:00
docs Fix error in QEnableErrorStrings gdb-remote docs 2018-04-05 15:17:43 +00:00
examples Added a BSD archive tool. 2018-04-02 17:20:21 +00:00
include/lldb Remove unused NativeProcessProtocol.h include from Platform.h 2018-04-05 15:17:51 +00:00
lit [ExpressionParser] Re-implement r327356 in a less disruptive way. 2018-03-20 19:46:32 +00:00
lldb.xcodeproj Remove CommandObjectStats.cpp & CleanUpTest.cpp from 2018-03-23 23:32:16 +00:00
lldb.xcworkspace Revert r275223, which committed the wrong thing. 2016-07-12 23:31:42 +00:00
packages/Python/lldbsuite [debugserver] Fix LC_BUILD_VERSION load command handling. 2018-04-06 04:28:12 +00:00
resources
scripts Fix the install location of LLDBWrapPython.cpp when building 2018-03-05 21:08:42 +00:00
source One more windows build fix 2018-04-05 16:59:36 +00:00
test [test] Exit lldb-dotest in a more Pythonic way. 2018-04-02 10:44:36 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools [debugserver] Fix LC_BUILD_VERSION load command handling. 2018-04-06 04:28:12 +00:00
unittests [Core] Grab-bag of improvements for Scalar. 2018-04-02 16:50:54 +00:00
utils *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
www Add a suggestion to convert dotest tests to use run_to_source_breakpoint. 2018-03-20 02:15:23 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt [lit] Update how clang and other binaries are found in per-configuration directories 2018-02-21 00:05:51 +00:00
CODE_OWNERS.txt Remove Sean Callanan from the CODE_OWNERS, he won't have time 2017-11-01 01:38:42 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00