aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorTed Woodward <ted.woodward@codeaurora.org>2015-05-11 21:23:31 +0000
committerTed Woodward <ted.woodward@codeaurora.org>2015-05-11 21:23:31 +0000
commit869e0c1c599f93ca881eb1f2e6d760d99ead323d (patch)
treef4d5a6f225ec19954928c8f5b5d2102c2a8c121a /clang/lib/CodeGen/CodeGenFunction.h
parentb1da257ad1022416aa560c809398c32981eabd21 (diff)
downloadllvm-869e0c1c599f93ca881eb1f2e6d760d99ead323d.zip
llvm-869e0c1c599f93ca881eb1f2e6d760d99ead323d.tar.gz
llvm-869e0c1c599f93ca881eb1f2e6d760d99ead323d.tar.bz2
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions