llvm-project/lldb
Ted Woodward 869e0c1c59 Fix selecting the Platform in TargetList::CreateTargetInternal()
Summary:
TargetList::CreateTargetInternal() will only select the current Platform. A previous patch always sets platform_sp to the current Platform, so a check later to see if platform_sp was not defined always failed, and the current Platform was used. This patch removes that check, so if the current Platform is not compatible with the target architecture, CreateTargetInternal() will call Platform::GetPlatformForArchitecture() to select a compatible Platform.

Vince, remote linux tests (Ubuntu -> remote Ubuntu) pass the same with and without this patch.

Reviewers: vharron, clayborg

Reviewed By: clayborg

Subscribers: jingham, lldb-commits

Differential Revision: http://reviews.llvm.org/D8749

llvm-svn: 237053
2015-05-11 21:23:31 +00:00
..
cmake Add CMAKE_EXECUTABLE_SUFFIX to build with Android toolchain on Windows. 2015-04-29 23:59:22 +00:00
docs Doc talks about Platform_RunCommand while we actually use Platform_shell. 2015-05-11 19:48:37 +00:00
examples Add a call to SBDebugger:Destroy() at the end of the self-hosted 2015-04-01 02:09:04 +00:00
include Add Hexagon packet support to ThreadPlanStepRange 2015-05-11 21:12:33 +00:00
lib This patch adds support aarch64-linux-gnu (SysV) abi in lldb. 2015-04-29 11:52:35 +00:00
lit Create a check-lldb-unit target to run unit tests. 2015-03-13 20:55:07 +00:00
lldb.xcodeproj Use file locks to synchronize access to ModuleCache. 2015-05-07 15:28:49 +00:00
lldb.xcworkspace Fixup gtest layout, add Linux ThreadStateCoordinator.cpp. 2014-09-25 19:25:07 +00:00
resources Bump major vers # in xcode project file from 330 to 340. 2015-03-06 00:45:01 +00:00
scripts Add language option in -gdb-show command (MI) 2015-04-28 12:51:16 +00:00
source Fix selecting the Platform in TargetList::CreateTargetInternal() 2015-05-11 21:23:31 +00:00
test ["watch set" tests] Use default test case executable names. 2015-05-11 18:49:59 +00:00
tools Add support for ./dotest.py --channel and --log-success 2015-05-10 15:22:09 +00:00
unittests [NativeProcessLinux] fold ThreadStateCoordinator into NPL 2015-05-06 10:46:34 +00:00
utils LUI: Fix some issues causing crashes in the source view 2013-10-23 01:18:21 +00:00
www Start to share SWIG interface files between languages. 2015-04-24 00:38:53 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.clang-format Update build instructions / coding conventions. 2015-03-10 23:22:25 +00:00
.gitignore Fix .gitignore to ignore symlinks. 2015-03-31 00:03:00 +00:00
CMakeLists.txt Use the debugginess of the python interpreter when symlinking _lldb.pyd. 2015-04-22 22:53:18 +00:00
CODE_OWNERS.txt Convert CRLF to LF in CODE_OWNERS.txt 2015-03-23 14:00:54 +00:00
INSTALL.txt Revert "git-svn test commit" 2014-11-18 22:45:59 +00:00
LICENSE.TXT
Makefile Remove the -Wno-unused-function option. We are clean 2014-09-09 07:49:15 +00:00